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:
@@ -14585,6 +14585,8 @@ void Unit::Kill(Unit *pVictim, bool durabilityLoss)
|
|||||||
|
|
||||||
loot->generateMoneyLoot(creature->GetCreatureInfo()->mingold,creature->GetCreatureInfo()->maxgold);
|
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
|
// 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