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
@@ -20,6 +20,6 @@ public class FlameBody : Script
|
||||
return;
|
||||
|
||||
move.Battle.EventHook.Invoke(new AbilityTriggerEvent(target));
|
||||
move.User.SetStatus(ScriptUtils.ResolveName<Status.Burned>(), false);
|
||||
move.User.SetStatus(ScriptUtils.ResolveName<Status.Burned>(), move.User);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user