Rebalance fireaxe (#22731)

* Rebalance Fireaxe

* Nerf it a bit
This commit is contained in:
Leon Friedrich
2023-12-18 21:41:33 -05:00
committed by GitHub
parent 5eb1a1ce8c
commit 10142c3a2e
3 changed files with 9 additions and 3 deletions

View File

@@ -1,8 +1,11 @@
namespace Content.Server.Atmos.Components;
/// <summary>
/// Component that can be used to add (or remove) fire stacks when used as a melee weapon.
/// </summary>
[RegisterComponent]
public sealed partial class IgniteOnMeleeHitComponent : Component
{
[DataField("fireStacks")]
[DataField]
public float FireStacks { get; set; }
}

View File

@@ -85,7 +85,8 @@ namespace Content.Server.Atmos.EntitySystems
if (!TryComp<FlammableComponent>(entity, out var flammable))
continue;
flammable.FireStacks += component.FireStacks;
AdjustFireStacks(entity, component.FireStacks, flammable);
if (component.FireStacks >= 0)
Ignite(entity, args.Weapon, flammable, args.User);
}
}

View File

@@ -42,6 +42,8 @@
- type: Prying
- type: UseDelay
delay: 1
- type: IgniteOnMeleeHit
fireStacks: -4
- type: entity
id: FireAxeFlaming