Scripts/Commands: Fix .quest complete to properly work with PvP kill quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/8a309542ce73cd53382bef574ecce6cbfd421615)
This commit is contained in:
@@ -151,6 +151,12 @@ namespace Game.Chat
|
||||
player.ModifyMoney(obj.Amount);
|
||||
break;
|
||||
}
|
||||
case QuestObjectiveType.PlayerKills:
|
||||
{
|
||||
for (var z = 0; z < obj.Amount; ++z)
|
||||
player.KilledPlayerCredit(ObjectGuid.Empty);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user