biglad
06-28-2009, 12:53 PM
* Missing part from previous commit. * First DealDamage then call ProcDamageAndspell. * Correctly trigger SPELL_EFFECT_ADD_EXTRA_ATTACKS from spells. * Some changes for SPELL_EFFECT_ADD_EXTRA_ATTACKS to allow proc self if there is no hidden cooldown (for example 12815)
src/game/Unit.cpp (http://bitbucket.org/biglad/mga/src/1ed28d265921/src/game/Unit.cpp) (8 lines added, 50 lines removed)
src/game/SpellEffects.cpp (http://bitbucket.org/biglad/mga/src/1ed28d265921/src/game/SpellEffects.cpp) (2 lines added, 2 lines removed)
More... (http://bitbucket.org/biglad/mga/changeset/1ed28d265921/)
src/game/Unit.cpp (http://bitbucket.org/biglad/mga/src/1ed28d265921/src/game/Unit.cpp) (8 lines added, 50 lines removed)
src/game/SpellEffects.cpp (http://bitbucket.org/biglad/mga/src/1ed28d265921/src/game/SpellEffects.cpp) (2 lines added, 2 lines removed)
More... (http://bitbucket.org/biglad/mga/changeset/1ed28d265921/)