Core/Quests: Implemented QUEST_OBJECTIVE_FLAG_KILL_PLAYERS_SAME_FACTION
Port From (https://github.com/TrinityCore/TrinityCore/commit/2ffedf30a9f177ba848bb74c1b41375ac6d734a9)
This commit is contained in:
@@ -222,7 +222,7 @@ namespace Game.Entities
|
||||
_RewardHonor(player);
|
||||
// 4.1.1 Send player killcredit for quests with PlayerSlain
|
||||
if (_victim.IsTypeId(TypeId.Player))
|
||||
player.KilledPlayerCredit();
|
||||
player.KilledPlayerCredit(_victim.GetGUID());
|
||||
}
|
||||
// Give XP only in PvE or in Battlegrounds.
|
||||
// Give reputation and kill credit only in PvE.
|
||||
|
||||
Reference in New Issue
Block a user