Check HP <= 495 instead of 480
This commit is contained in:
parent
4fd766a505
commit
944b319bed
1 changed files with 1 additions and 1 deletions
|
|
@ -2254,7 +2254,7 @@ namespace TShockAPI
|
|||
args.TPlayer.statLifeMax += 20;
|
||||
args.Player.PlayerData.maxHealth += 20;
|
||||
}
|
||||
else if (args.TPlayer.inventory[item].name == "Life Fruit" && args.Player.TPlayer.statLifeMax >= 400 && args.Player.TPlayer.statLifeMax <= 480)
|
||||
else if (args.TPlayer.inventory[item].name == "Life Fruit" && args.Player.TPlayer.statLifeMax >= 400 && args.Player.TPlayer.statLifeMax <= 495)
|
||||
{
|
||||
args.TPlayer.statLife += 5;
|
||||
args.TPlayer.statLifeMax += 5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue