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:
@@ -12,7 +12,7 @@ public class BanefulBunkerEffect : ProtectionEffectScript
|
||||
if (executingMove.UseMove.Category != MoveCategory.Status &&
|
||||
executingMove.GetHitData(target, hitIndex).IsContact)
|
||||
{
|
||||
executingMove.User.SetStatus("poisoned", false);
|
||||
executingMove.User.SetStatus(ScriptUtils.ResolveName<Status.Poisoned>(), executingMove.User);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user