Scripts/Commands: Fix .quest complete to properly work with PvP kill quests

This commit is contained in:
Shauren
2021-10-19 23:46:09 +02:00
parent f234054357
commit 8a309542ce

View File

@@ -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;
}
}
}