BO3's 3-Hit System & increased health for Juggernog on BO1!
BO1 Modding Releases & Resources
1
Posts
1
Posters
74
Views
1
Watching
-
This script overrides the health function and increases it to 150 HP then 300 HP when Juggernog is obtained. Also properly resets when downed and revived!
Installation
Plutonium/storage/t5/scripts/sp
Raw Code
#include maps\_utility; init() { level thread on_player_connect(); } on_player_connect() { for (;;) { level waittill("connected", player); player thread health_controller(); } } health_controller() { self endon("disconnect"); for (;;) { wait 0.05; // Determine max HP if (self hasperk("specialty_armorvest")) { self.maxhealth = 300; } else { self.maxhealth = 150; } // Force regen override if (self.health < self.maxhealth && self.health > 0) { self.health += 2; if (self.health > self.maxhealth) { self.health = self.maxhealth; } } } } -
undefined Coronavirus-19 referenced this topic