More abilities, implemented support for form inheritance
All checks were successful
Build / Build (push) Successful in 49s
All checks were successful
Build / Build (push) Successful in 49s
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user