mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 09:31:30 +00:00
Remove unneeded calls to DoAnim() for spells/bardsong (#1290)
* Removed DoAnim() call from spells and bard song. Tested on rof2 and titanium Co-authored-by: Noudess <noudess@gmail.com>
This commit is contained in:
parent
435bac5599
commit
ac4a993259
@ -2389,8 +2389,6 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, ui
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DoAnim(spells[spell_id].CastingAnim, 0, true, IsClient() ? FilterPCSpells : FilterNPCSpells);
|
|
||||||
|
|
||||||
// Set and send the nimbus effect if this spell has one
|
// Set and send the nimbus effect if this spell has one
|
||||||
int NimbusEffect = GetNimbusEffect(spell_id);
|
int NimbusEffect = GetNimbusEffect(spell_id);
|
||||||
if(NimbusEffect) {
|
if(NimbusEffect) {
|
||||||
@ -2640,8 +2638,6 @@ bool Mob::ApplyNextBardPulse(uint16 spell_id, Mob *spell_target, CastingSlot slo
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//do we need to do this???
|
|
||||||
DoAnim(spells[spell_id].CastingAnim, 0, true, IsClient() ? FilterPCSpells : FilterNPCSpells);
|
|
||||||
if(IsClient())
|
if(IsClient())
|
||||||
CastToClient()->CheckSongSkillIncrease(spell_id);
|
CastToClient()->CheckSongSkillIncrease(spell_id);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user