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:
@@ -20,7 +20,7 @@ public class FlareBlitz : Script
|
||||
|
||||
if (battleData.Battle.Random.EffectChance(10, move, target, hit))
|
||||
{
|
||||
target.SetStatus("burned", false);
|
||||
target.SetStatus("burned", move.User);
|
||||
}
|
||||
|
||||
move.User.Damage(recoilDamage, DamageSource.Misc);
|
||||
|
||||
Reference in New Issue
Block a user