Показать сообщение отдельно
Старый 06.09.2012, 02:03   #1
xfurry
Гость
 
Сообщений: n/a
По умолчанию [Patch] Fix SummonedCreatureJustDied

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
  Ответить с цитированием
6 пользователя(ей) сказали cпасибо:
Astoria (07.09.2012), LordJZ (06.09.2012), Mayss (07.09.2012), partizanes (06.09.2012), schmoozerd (10.09.2012), Vladimir (06.09.2012)