newsbot
31.05.2013, 20:11
Автор: Schmoozerd
<pre style='white-space:pre-wrap;width:81ex'>[12516] EventAI: Improve code
* Drop rather pointless bool to check if the number of assigned events is empty
* Before the phase was resetted on death if and only if the npc has Events defined
* DoMeleeAttackIfReady could have been called even though combat state could have changed while processing events</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/70392e3621e7f9929a77dcd8ccea2b457287da42)
<pre style='white-space:pre-wrap;width:81ex'>[12516] EventAI: Improve code
* Drop rather pointless bool to check if the number of assigned events is empty
* Before the phase was resetted on death if and only if the npc has Events defined
* DoMeleeAttackIfReady could have been called even though combat state could have changed while processing events</pre>
Подробнее... (https://github.com/cmangos/mangos-wotlk/commit/70392e3621e7f9929a77dcd8ccea2b457287da42)