*Fix Heart of the Pheonix

*Fix autoshoot rotation with steady shot.
*Make Incanter's Absorption not interrupt other casts.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-06-09 19:33:38 +02:00
parent 4a662071aa
commit 507b9fb051
6 changed files with 25 additions and 8 deletions

View File

@@ -333,6 +333,12 @@ void WorldSession::HandleCastSpellOpcode(WorldPacket& recvPacket)
}
}
// Client is resending autoshot cast opcode when other spell is casted during shoot rotation
// Skip it to prevent "interrupt" message
if (IsAutoRepeatRangedSpell(spellInfo) && _player->m_currentSpells[CURRENT_AUTOREPEAT_SPELL]
&& _player->m_currentSpells[CURRENT_AUTOREPEAT_SPELL]->m_spellInfo == spellInfo)
return;
// can't use our own spells when we're in possession of another unit,
if(_player->isPossessing())
return;