Fixes, 3.9.2 Prep Work

Fixed the PvP Zombie Kills challenge bug, installed challenges for
upcoming 3.9.2 Killstreaks
This commit is contained in:
Robert Fritzen 2017-07-01 16:06:02 -05:00
parent fec522606f
commit ed25ab2dca
5 changed files with 45 additions and 27 deletions

View file

@ -3681,7 +3681,7 @@ function Armor::damageObject(%data, %targetObject, %sourceObject, %position, %am
}
}
//
if(%targetObject.getControllingClient() !$= "") {
if(%targetObject.isPlayerZombie) {
%sourceClient.TWM2Core.PvPZombieKills++;
if(%sourceClient.TWM2Core.PvPZombieKills >= 100) {
CompleteNWChallenge(%sourceClient, "Defectionator1");