Fix Plant Mutations (#40870)
Whoops x2 Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a91daa60d4
commit
35c783ecb1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user