Move all battle state from IPokemon to an ephemeral IBattlePokemon wrapper
This commit is contained in:
@@ -27,7 +27,7 @@ public class Judgement : Script, IScriptChangeMoveType
|
||||
};
|
||||
|
||||
/// <inheritdoc />
|
||||
public void ChangeMoveType(IExecutingMove move, IPokemon target, byte hit, ref TypeIdentifier? moveType)
|
||||
public void ChangeMoveType(IExecutingMove move, IBattlePokemon target, byte hit, ref TypeIdentifier? moveType)
|
||||
{
|
||||
//If Magic Room is in effect, Judgment's type will always be Normal regardless of the Plate held
|
||||
if (move.Battle.Volatile.Contains<MagicRoomEffect>())
|
||||
|
||||
Reference in New Issue
Block a user