More abilities, refactor IPokemon.SetStatus to pass pokemon that caused the status change
Build / Build (push) Successful in 50s
Build / Build (push) Successful in 50s
This commit is contained in:
37 files changed
+214
-46
No files matched your search
@@ -12,7 +12,7 @@ public class ThunderFang : Script
|
||||
var random = move.Battle.Random;
|
||||
if (random.EffectChance(10, move, target, hit))
|
||||
{
|
||||
target.SetStatus(ScriptUtils.ResolveName<Paralyzed>(), false);
|
||||
target.SetStatus(ScriptUtils.ResolveName<Paralyzed>(), move.User);
|
||||
}
|
||||
if (random.EffectChance(10, move, target, hit))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user