Skip to content

Commit

Permalink
feat: Introduce flamethrower as a benefit for players
Browse files Browse the repository at this point in the history
  • Loading branch information
MrDave1999 committed Sep 5, 2024
1 parent 9c99216 commit db563dc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Application/Players/Combos/Benefits/HealthArmour.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@

public class HealthArmour : IBenefit
{
public string Name => "150 Health and 100 Armour";
public string Name => "100 Health, 100 Armour and FlameThrower";
public int RequiredPoints => 100;

public void Give(Player player)
{
PlayerInfo playerInfo = player.GetInfo();
player.Health = 150;
player.Health = 100;
player.Armour = 100;
player.GiveWeapon(Weapon.FlameThrower, ammo: 500);
playerInfo.StatsPerRound.ResetPoints();
}
}

0 comments on commit db563dc

Please sign in to comment.