Restore RewardPlayerAndGroupAtKill call from previous commit. This is the xp or honor reward for the tapping player/group.
--HG-- branch : trunk
This commit is contained in:
1 parent
34fb5df569
commit
feeb3f564c
1 file changed
+2
@@ -14585,6 +14585,8 @@ void Unit::Kill(Unit *pVictim, bool durabilityLoss)
|
||||
|
||||
loot->generateMoneyLoot(creature->GetCreatureInfo()->mingold,creature->GetCreatureInfo()->maxgold);
|
||||
}
|
||||
|
||||
player->RewardPlayerAndGroupAtKill(pVictim);
|
||||
}
|
||||
|
||||
// Do KILL and KILLED procs. KILL proc is called only for the unit who landed the killing blow (or its owner - for pets) regardless of who tapped the victim
|
||||
|
||||
Reference in new issue
Block a user