mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-12 08:08:00 -05:00
Meat powerup: fix being able to drop when another meat powerup is already dropped
This commit is contained in:
@ -306,8 +306,9 @@
|
|||||||
* Player who threw the meat can meat themself
|
* Player who threw the meat can meat themself
|
||||||
* Decreased time on ground from 16 seconds to 10 seconds
|
* Decreased time on ground from 16 seconds to 10 seconds
|
||||||
* Bounces off walls when thrown
|
* Bounces off walls when thrown
|
||||||
* Able to drop when players are down
|
|
||||||
* Changed powerup fx color to blue
|
* Changed powerup fx color to blue
|
||||||
|
* Able to drop when players are down
|
||||||
|
* Fixed being able to drop when another meat powerup was already dropped
|
||||||
* Message shows when the meat is grabbed and thrown on a player
|
* Message shows when the meat is grabbed and thrown 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
|
||||||
@ -450,7 +451,7 @@
|
|||||||
|
|
||||||
#### Cell Block
|
#### Cell Block
|
||||||
* Added Smoke Grenades to the Mystery Box
|
* Added Smoke Grenades to the Mystery Box
|
||||||
* Added Richtofen Head meat powerup model
|
* Added Richtofen's Head meat powerup model
|
||||||
|
|
||||||
### Buried
|
### Buried
|
||||||
* Power automatically on
|
* Power automatically on
|
||||||
|
@ -2339,21 +2339,29 @@ player_suicide()
|
|||||||
|
|
||||||
func_should_drop_meat()
|
func_should_drop_meat()
|
||||||
{
|
{
|
||||||
if(level.scr_zm_ui_gametype_obj == "zmeat")
|
if (level.scr_zm_ui_gametype_obj == "zmeat")
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
players = get_players();
|
foreach (powerup in level.active_powerups)
|
||||||
foreach(player in players)
|
|
||||||
{
|
{
|
||||||
if(player hasWeapon("item_meat_zm"))
|
if (powerup.powerup_name == "meat_stink")
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isDefined(level.item_meat) || is_true(level.meat_on_ground))
|
players = get_players();
|
||||||
|
foreach (player in players)
|
||||||
|
{
|
||||||
|
if (player hasWeapon("item_meat_zm"))
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isDefined(level.item_meat) || is_true(level.meat_on_ground))
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user