More move effects
This commit is contained in:
@@ -20,6 +20,12 @@ public class Bounce : Script
|
||||
prevent = true;
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnBeforeMove(IExecutingMove move)
|
||||
{
|
||||
move.User.Volatile.Remove(ScriptUtils.ResolveName<ChargeBounceEffect>());
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
public override void OnSecondaryEffect(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
@@ -31,6 +37,5 @@ public class Bounce : Script
|
||||
{
|
||||
target.SetStatus("paralyzed");
|
||||
}
|
||||
move.User.Volatile.Remove(ScriptUtils.ResolveName<ChargeBounceEffect>());
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user