[DataField]
public float Multiplier = 0.05f;
+ // The fire stack multiplier if fire stacks already exist on target, only works if 0 or greater
[DataField]
- public float MultiplierOnExisting = 1f;
+ public float MultiplierOnExisting = -1f;
public override bool ShouldLog => true;
if (!args.EntityManager.TryGetComponent(args.TargetEntity, out FlammableComponent? flammable))
return;
- var multiplier = flammable.FireStacks == 0f ? Multiplier : MultiplierOnExisting;
+ // Sets the multiplier for FireStacks to MultiplierOnExisting is 0 or greater and target already has FireStacks
+ var multiplier = flammable.FireStacks != 0f && MultiplierOnExisting >= 0 ? MultiplierOnExisting : Multiplier;
var quantity = 1f;
if (args is EntityEffectReagentArgs reagentArgs)
{