PDA

Просмотр полной версии : Unit logic


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


<pre style='white-space:pre-wrap;width:81ex'>Unit logic

- UpdateMeleeAttackingState : I guess I should study up some more on
logical gates myself. thanks for pointing @VladimirMangos - return
swingerror enstead of returning 0. if we wanted
to return 0 we sould just return false.... ehh... why are we returning
0? why is this functio not just void?

- Attack : Logical error: If we are doing a mele attack and we are
already attacking the unit, we should not return a false, but rather a
true.</pre>


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