Fix Plant Mutations (#40870)
Whoops x2 Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
parent
8f97a7720d
commit
f5a69c4ca8
|
|
@ -14,7 +14,7 @@ public sealed partial class PlantAdjustHealthEntityEffectSystem : EntityEffectSy
|
|||
if (entity.Comp.Seed == null || entity.Comp.Dead)
|
||||
return;
|
||||
|
||||
entity.Comp.MutationLevel += args.Effect.Amount * entity.Comp.MutationMod;
|
||||
entity.Comp.Health += args.Effect.Amount;
|
||||
_plantHolder.CheckHealth(entity, entity.Comp);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ public sealed partial class PlantAdjustMutationLevelEntityEffectSystem : EntityE
|
|||
if (entity.Comp.Seed == null || entity.Comp.Dead)
|
||||
return;
|
||||
|
||||
entity.Comp.Health += args.Effect.Amount;
|
||||
entity.Comp.MutationLevel += args.Effect.Amount * entity.Comp.MutationMod;
|
||||
_plantHolder.CheckHealth(entity, entity.Comp);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue