More abilities, refactor IPokemon.SetStatus to pass pokemon that caused the status change
All checks were successful
Build / Build (push) Successful in 50s
All checks were successful
Build / Build (push) Successful in 50s
This commit is contained in:
@@ -34,7 +34,7 @@ public class Bounce : Script
|
||||
var random = battle.Random;
|
||||
if (random.EffectChance(30, move, target, hit))
|
||||
{
|
||||
target.SetStatus("paralyzed", false);
|
||||
target.SetStatus("paralyzed", move.User);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user