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:
@@ -22,7 +22,7 @@ public class PoisonTail : Script
|
||||
|
||||
if (battleData.Battle.Random.EffectChance(10, move, target, hit))
|
||||
{
|
||||
target.SetStatus(ScriptUtils.ResolveName<BadlyPoisoned>(), false);
|
||||
target.SetStatus(ScriptUtils.ResolveName<BadlyPoisoned>(), move.User);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user