More abilities, implemented support for form inheritance
All checks were successful
Build / Build (push) Successful in 49s

This commit is contained in:
2025-06-13 12:24:03 +02:00
parent 6d71de375e
commit 8363b955af
16 changed files with 504 additions and 11 deletions

View File

@@ -784,6 +784,7 @@ public class PokemonImpl : ScriptSource, IPokemon
{
var previous = HeldItem;
HeldItem = item;
this.RunScriptHook(x => x.OnAfterHeldItemChange(this, previous, item));
return previous;
}
@@ -799,6 +800,7 @@ public class PokemonImpl : ScriptSource, IPokemon
}
var previous = HeldItem;
HeldItem = null;
this.RunScriptHook(x => x.OnAfterHeldItemChange(this, previous, null));
return previous;
}