Update SE_AETaunt - Base value will now determine AE taunt range (This will not result in any change to currently used spells).

This commit is contained in:
KayenEQ
2014-06-26 10:04:21 -04:00
committed by Arthur Ice
parent fbdc104c12
commit ef79a0607b
3 changed files with 10 additions and 4 deletions
+7 -2
View File
@@ -2237,8 +2237,13 @@ bool Mob::SpellEffect(Mob* caster, uint16 spell_id, float partial)
#ifdef SPELL_EFFECT_SPAM
snprintf(effect_desc, _EDLEN, "AE Taunt");
#endif
if(caster && caster->IsClient())
entity_list.AETaunt(caster->CastToClient());
if(caster && caster->IsClient()){
float range = 0.0f;
if (spells[spell_id].base2[i])
range = (float)spells[spell_id].base[i];
entity_list.AETaunt(caster->CastToClient(), range);
}
break;
}