mirror of
https://github.com/ineedbots/iw5_bot_warfare.git
synced 2025-08-30 17:53:13 +00:00
format
This commit is contained in:
@@ -363,6 +363,7 @@ giveRankXP( var_0, var_1, var_2, var_3, var_4 )
|
||||
case "headshot":
|
||||
case "shield_damage":
|
||||
var_1 *= self.xpScaler;
|
||||
|
||||
case "destroy":
|
||||
case "suicide":
|
||||
case "assist":
|
||||
@@ -452,6 +453,7 @@ giveRankXP( var_0, var_1, var_2, var_3, var_4 )
|
||||
}
|
||||
|
||||
break;
|
||||
|
||||
case "challenge":
|
||||
var_10 = 0;
|
||||
|
||||
@@ -516,6 +518,7 @@ giveRankXP( var_0, var_1, var_2, var_3, var_4 )
|
||||
case "kill":
|
||||
var_20 = 100;
|
||||
break;
|
||||
|
||||
default:
|
||||
var_20 = var_2;
|
||||
break;
|
||||
@@ -660,16 +663,19 @@ giveRankXP( var_0, var_1, var_2, var_3, var_4 )
|
||||
self.pers["summary"]["score"] = self.pers["summary"]["score"] + var_2;
|
||||
self.pers["summary"]["xp"] = self.pers["summary"]["xp"] + var_2;
|
||||
break;
|
||||
|
||||
case "win":
|
||||
case "loss":
|
||||
case "tie":
|
||||
self.pers["summary"]["match"] = self.pers["summary"]["match"] + var_2;
|
||||
self.pers["summary"]["xp"] = self.pers["summary"]["xp"] + var_2;
|
||||
break;
|
||||
|
||||
case "challenge":
|
||||
self.pers["summary"]["challenge"] = self.pers["summary"]["challenge"] + var_2;
|
||||
self.pers["summary"]["xp"] = self.pers["summary"]["xp"] + var_2;
|
||||
break;
|
||||
|
||||
default:
|
||||
self.pers["summary"]["misc"] = self.pers["summary"]["misc"] + var_2;
|
||||
self.pers["summary"]["xp"] = self.pers["summary"]["xp"] + var_2;
|
||||
|
Reference in New Issue
Block a user