mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-22 21:20:15 -05:00
Solo revive requires perk to be active
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
|
||||
## Players
|
||||
* Unlimited sprint
|
||||
* Automatically get 3 self revives in solo
|
||||
* Self revives in solo are active whenever the player has at least 1 perk
|
||||
* 100% backwards speed, strafe speed, and sprint strafe speed
|
||||
* Can dive again right away after just diving
|
||||
* Can move after diving quicker
|
||||
@ -84,7 +84,6 @@
|
||||
### Quick Revive
|
||||
* No longer automatically powered on in solo
|
||||
* Increased cost in solo from 500 to 1500
|
||||
* No longer gives an additional self revive in solo
|
||||
* Decreases normal health regeneration delay from 2 seconds to 1.5 seconds
|
||||
* Decreases low health regeneration delay from 4 seconds to 3 seconds
|
||||
* Increases health regeneration rate from 100 health per second to 125 health per second
|
||||
|
@ -2683,12 +2683,20 @@ solo_lives_fix()
|
||||
|
||||
self.lives = 3;
|
||||
self.bought_solo_revive = 0;
|
||||
self setPerk("specialty_quickrevive");
|
||||
|
||||
while (1)
|
||||
{
|
||||
self waittill_any("perk_acquired", "perk_lost");
|
||||
|
||||
if (self.perks_active.size < 1)
|
||||
{
|
||||
self unsetPerk("specialty_quickrevive");
|
||||
self.bought_solo_revive = 0;
|
||||
continue;
|
||||
}
|
||||
|
||||
self setPerk("specialty_quickrevive");
|
||||
|
||||
has_revive = 0;
|
||||
foreach (perk in self.perks_active)
|
||||
{
|
||||
@ -2700,11 +2708,6 @@ solo_lives_fix()
|
||||
}
|
||||
|
||||
self.bought_solo_revive = has_revive;
|
||||
|
||||
if (!has_revive)
|
||||
{
|
||||
self setPerk("specialty_quickrevive");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user