mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 11:48:37 +00:00
Implement blocked_buffs and blocked_pet_buffs
This commit is contained in:
+4
-1
@@ -4080,7 +4080,10 @@ bool Mob::SpellOnTarget(
|
||||
}
|
||||
|
||||
// now check if the spell is allowed to land
|
||||
if (RuleB(Spells, EnableBlockedBuffs)) {
|
||||
if (
|
||||
(!spelltar->IsBot() && RuleB(Spells, EnableBlockedBuffs)) ||
|
||||
(spelltar->IsBot() && RuleB(Bots, AllowBotBlockedBuffs))
|
||||
) {
|
||||
// We return true here since the caster's client should act like normal
|
||||
if (spelltar->IsBlockedBuff(spell_id)) {
|
||||
LogSpells(
|
||||
|
||||
Reference in New Issue
Block a user