mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 07:37:56 -05:00
Meat powerup: take 10 damage per second while holding
This commit is contained in:
@ -416,6 +416,7 @@
|
|||||||
### Meat
|
### Meat
|
||||||
* All zombies go after player holding the meat
|
* All zombies go after player holding the meat
|
||||||
* 60% move speed while holding the meat
|
* 60% move speed while holding the meat
|
||||||
|
* Take 10 damage per second while holding the meat
|
||||||
* Player who threw the meat can meat themself
|
* Player who threw the meat can meat themself
|
||||||
* Attracts zombies more consistently on ground
|
* Attracts zombies more consistently on ground
|
||||||
* Decreased attract radius on ground by 50%
|
* Decreased attract radius on ground by 50%
|
||||||
@ -424,7 +425,7 @@
|
|||||||
* Changed powerup fx color to blue
|
* Changed powerup fx color to blue
|
||||||
* Able to drop when players are down
|
* Able to drop when players are down
|
||||||
* No longer able to drop when another meat powerup is already dropped
|
* No longer able to drop when another meat powerup is already dropped
|
||||||
* Message shows when the meat is grabbed, thrown, and landed on a player
|
* Message shows when the meat is grabbed and landed on a player
|
||||||
* Meleeing while the meat is moving no longer grabs the meat
|
* Meleeing while the meat is moving no longer grabs the meat
|
||||||
* Meleeing while the meat is moving throws the meat
|
* Meleeing while the meat is moving throws the meat
|
||||||
* Removed pick up trigger
|
* Removed pick up trigger
|
||||||
|
@ -183,6 +183,8 @@ meat_stink( who )
|
|||||||
level.meat_player = who;
|
level.meat_player = who;
|
||||||
level.meat_powerup = undefined;
|
level.meat_powerup = undefined;
|
||||||
|
|
||||||
|
who thread meat_damage_over_time();
|
||||||
|
|
||||||
if (who attackbuttonpressed())
|
if (who attackbuttonpressed())
|
||||||
{
|
{
|
||||||
who thread meat_disable_weapons();
|
who thread meat_disable_weapons();
|
||||||
@ -254,6 +256,22 @@ meat_disable_weapons()
|
|||||||
self.meat_weapons_disabled = undefined;
|
self.meat_weapons_disabled = undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
meat_damage_over_time()
|
||||||
|
{
|
||||||
|
level endon("meat_thrown");
|
||||||
|
self endon("disconnect");
|
||||||
|
self endon("player_downed");
|
||||||
|
|
||||||
|
wait 0.05;
|
||||||
|
|
||||||
|
while (1)
|
||||||
|
{
|
||||||
|
wait 1;
|
||||||
|
|
||||||
|
radiusDamage(self.origin + (0, 0, 5), 10, 10, 10);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
meat_stink_ignoreme_think()
|
meat_stink_ignoreme_think()
|
||||||
{
|
{
|
||||||
level endon("meat_thrown");
|
level endon("meat_thrown");
|
||||||
|
Reference in New Issue
Block a user