mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-07 21:59:49 -05:00
Meat powerup: decrease time on players
Encounter: add confirms on scoreboard and downed points reward for Meat and EMP Grenade
This commit is contained in:
parent
7b30d395f5
commit
440579df67
@ -482,6 +482,7 @@
|
||||
* Attracts zombies more consistently on ground
|
||||
* Decreased attract radius on ground by 50%
|
||||
* Decreased time on ground from 16 seconds to 10 seconds
|
||||
* Decreased time on players from 30 seconds to 15 seconds
|
||||
* Bounces off walls when thrown
|
||||
* Added weapon name on HUD
|
||||
* Changed powerup fx color to blue
|
||||
|
@ -445,7 +445,7 @@ meat_stink_player(who, owner)
|
||||
who thread meat_stink_ignoreme_think();
|
||||
who thread meat_stink_player_create();
|
||||
|
||||
who waittill_any_or_timeout(30, "disconnect", "player_downed", "bled_out", "spawned_player");
|
||||
who waittill_any_or_timeout(15, "disconnect", "player_downed", "bled_out", "spawned_player");
|
||||
|
||||
who notify("meat_stink_player_end");
|
||||
players = get_players();
|
||||
|
@ -831,10 +831,14 @@ kill_feed()
|
||||
}
|
||||
else if (isDefined(self.last_meated_by))
|
||||
{
|
||||
self.last_meated_by.attacker.killsconfirmed++;
|
||||
|
||||
obituary(self, self.last_meated_by.attacker, level.item_meat_name, "MOD_UNKNOWN");
|
||||
}
|
||||
else if (isDefined(self.last_emped_by))
|
||||
{
|
||||
self.last_emped_by.attacker.killsconfirmed++;
|
||||
|
||||
obituary(self, self.last_emped_by.attacker, "emp_grenade_zm", "MOD_GRENADE_SPLASH");
|
||||
}
|
||||
else
|
||||
@ -873,10 +877,25 @@ get_held_melee_weapon(melee_weapon)
|
||||
|
||||
add_grief_downed_score()
|
||||
{
|
||||
if (isDefined(self.last_griefed_by) && is_player_valid(self.last_griefed_by.attacker))
|
||||
downed_by = undefined;
|
||||
|
||||
if (isDefined(self.last_griefed_by))
|
||||
{
|
||||
score = 500 * maps\mp\zombies\_zm_score::get_points_multiplier(self.last_griefed_by.attacker);
|
||||
self.last_griefed_by.attacker maps\mp\zombies\_zm_score::add_to_player_score(score);
|
||||
downed_by = self.last_griefed_by;
|
||||
}
|
||||
else if (isDefined(self.last_meated_by))
|
||||
{
|
||||
downed_by = self.last_meated_by;
|
||||
}
|
||||
else if (isDefined(self.last_emped_by))
|
||||
{
|
||||
downed_by = self.last_emped_by;
|
||||
}
|
||||
|
||||
if (isDefined(downed_by) && is_player_valid(downed_by.attacker))
|
||||
{
|
||||
score = 500 * maps\mp\zombies\_zm_score::get_points_multiplier(downed_by.attacker);
|
||||
downed_by.attacker maps\mp\zombies\_zm_score::add_to_player_score(score);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user