Core/Battleground: Changed HandleKillUnit hook to accept any Unit as killer
Port From (https://github.com/TrinityCore/TrinityCore/commit/bf107e0581c58f767b21f15fe7f75cb7eac95d97)
This commit is contained in:
@@ -1614,7 +1614,8 @@ namespace Game.BattleGrounds
|
||||
RewardXPAtKill(killer, victim);
|
||||
}
|
||||
}
|
||||
public virtual void HandleKillUnit(Creature creature, Player killer) { }
|
||||
|
||||
public virtual void HandleKillUnit(Creature creature, Unit killer) { }
|
||||
|
||||
// Return the player's team based on Battlegroundplayer info
|
||||
// Used in same faction arena matches mainly
|
||||
|
||||
Reference in New Issue
Block a user