mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user