Implemented SE_NegateIfCombat

This commit is contained in:
KayenEQ
2014-03-27 23:23:15 -04:00
parent 079d1ca870
commit cbe0e94ca7
7 changed files with 29 additions and 1 deletions
+3
View File
@@ -211,6 +211,9 @@ bool Mob::CastSpell(uint16 spell_id, uint16 target_id, uint16 slot,
return(false);
}
if (spellbonuses.NegateIfCombat)
BuffFadeByEffect(SE_NegateIfCombat);
if(IsClient() && GetTarget() && IsHarmonySpell(spell_id))
{
for(int i = 0; i < EFFECT_COUNT; i++) {