mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-17 16:10:49 +01:00
Scripts/Commands: Fix .quest complete to properly work with PvP kill quests
This commit is contained in:
@@ -249,6 +249,12 @@ public:
|
||||
player->ModifyMoney(obj.Amount);
|
||||
break;
|
||||
}
|
||||
case QUEST_OBJECTIVE_PLAYERKILLS:
|
||||
{
|
||||
for (uint16 z = 0; z < obj.Amount; ++z)
|
||||
player->KilledPlayerCredit(ObjectGuid::Empty);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user