PDA

Просмотр полной версии : Stop mobs from meleeing while casting


newsbot
29.08.2016, 21:09
Автор: Phatcat


<pre style='white-space:pre-wrap;width:81ex'>Stop mobs from meleeing while casting

CreatureAI::DoCastSpellIfCan - Un-equip weapon when casting,
properly stop moving on cast; stop melee spells on spell casts

CreatureEventAI::
- UpdateAI - don***39;t try to move or melee if casting
Also simplify melee part

Unit::AttackStop - ClearTarget only on SwitchTarget</pre>


Подробнее... (https://github.com/cmangos/mangos-cata/commit/d8dd7efb34c39e08bae347a41e2f5ebe2b8fefb9)