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,6 +12,6 @@ public class PoisonPoint : Script
|
||||
public override void OnIncomingHit(IExecutingMove move, IPokemon target, byte hit)
|
||||
{
|
||||
if (move.GetHitData(target, hit).IsContact)
|
||||
move.User.SetStatus(ScriptUtils.ResolveName<Status.Poisoned>(), false);
|
||||
move.User.SetStatus(ScriptUtils.ResolveName<Status.Poisoned>(), move.User);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user