Work on item use/evolutions
All checks were successful
Build / Build (push) Successful in 1m7s

This commit is contained in:
2025-08-18 11:57:03 +02:00
parent e5041ec5f0
commit f061ba2455
7 changed files with 157 additions and 12 deletions

View File

@@ -46,12 +46,12 @@ public abstract class ItemScript : IDeepCloneable
/// <summary>
/// Returns whether the item can be held by a Pokémon.
/// </summary>
public virtual bool IsHoldable => false;
public virtual bool IsHoldable => true;
/// <summary>
/// Returns whether the item can be held by the given target.
/// </summary>
public virtual bool CanTargetHold(IPokemon pokemon) => false;
public virtual bool CanTargetHold(IPokemon pokemon) => true;
/// <summary>
/// Handles the use of the item.