Core/Pets: Fixed range check for water elemental Freeze
Closes issue #3628. --HG-- branch : trunk
This commit is contained in:
@@ -735,8 +735,8 @@ void WorldSession::HandlePetCastSpellOpcode(WorldPacket& recvPacket)
|
||||
|
||||
caster->clearUnitState(UNIT_STAT_FOLLOW);
|
||||
|
||||
Spell *spell = new Spell(caster, spellInfo, spellId == 33395); // water elemental can cast freeze as triggered
|
||||
spell->m_cast_count = spellId == 33395 ? 0 : castCount; // probably pending spell cast
|
||||
Spell *spell = new Spell(caster, spellInfo, false); // water elemental can cast freeze as triggered
|
||||
spell->m_cast_count = castCount; // probably pending spell cast
|
||||
spell->m_targets = targets;
|
||||
|
||||
// TODO: need to check victim?
|
||||
|
||||
Reference in New Issue
Block a user