1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-18 19:18:23 -05:00

Jet Gun: heats up half as fast

This commit is contained in:
Jbleezy
2023-04-17 21:14:22 -07:00
parent 1ea9e4a6d9
commit 5bc4aee093
2 changed files with 7 additions and 2 deletions

View File

@ -226,6 +226,7 @@
* Awards points for kills
* Cools down twice as fast
* Cools down while not holding weapon
* Heats up half as fast
* Heats up when firing while meleeing
* No longer kills when not firing
* No longer automatically switched to weapon when picked up

View File

@ -3102,7 +3102,7 @@ jetgun_heatval_changes()
vars["prev_heatval"] = 0;
vars["cooldown_amount"] = 0.1;
vars["overheat_amount"] = 0.85;
vars["melee_overheat_amount"] = 0.475;
while(1)
{
@ -3122,7 +3122,11 @@ jetgun_heatval_changes()
}
else if(self getCurrentWeapon() == "jetgun_zm" && self attackButtonPressed() && self isMeleeing())
{
self.jetgun_heatval += vars["overheat_amount"];
self.jetgun_heatval += vars["melee_overheat_amount"];
}
else if(self getCurrentWeapon() == "jetgun_zm" && self attackButtonPressed())
{
self.jetgun_heatval -= abs(vars["diff_heatval"]) / 2;
}
else if(vars["diff_heatval"] < 0)
{