This commit is contained in:
@@ -8,6 +8,6 @@ public class Imprison : Script, IScriptOnSecondaryEffect
|
||||
/// <inheritdoc />
|
||||
public void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
target.Volatile.Add(new ImprisonEffect(move.User));
|
||||
target.BattleData?.Battle.Volatile.Add(new ImprisonEffect(move.User));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user