Description: this will fix the SummonedCreatureJustDied function call in case of summoned pets.
Right now, this is not called because the
Код:
pVictim->SetDeathState(JUST_DIED);
is placed before
Код:
pVictim->SetHealth(0);
PetOwnerKilledUnit(pVictim);
JustKilledCreature((Creature*)pVictim);
Please note that this needs proper testing in order to not break the spirit of redemption talent.
Revision: cmangos [12145]
Author: me (with the help from Schmoozerd)
Patch: http://paste2.org/p/2195526