Work on item use/evolutions
Build / Build (push) Successful in 1m7s

This commit is contained in:
Deukhoofd committed 2025-08-18 11:57:03 +02:00
1 parent e5041ec5f0
commit f061ba2455
7 files changed
+157 -12

No files matched your search

@@ -29,7 +29,7 @@ public class HealingItem : ItemScript
}
/// <inheritdoc />
public override bool IsTargetValid(IPokemon target) => !target.IsFainted;
public override bool IsTargetValid(IPokemon target) => !target.IsFainted && target.CurrentHealth < target.MaxHealth;
/// <inheritdoc />
public override void OnUseWithTarget(IPokemon target, EventHook eventHook)