Rewrote AI calculations for move effects relating to the user fainting

This commit is contained in:
Maruno17
2022-08-30 18:33:31 +01:00
parent 8275d40193
commit 931a47c5fe
3 changed files with 160 additions and 70 deletions

View File

@@ -488,7 +488,7 @@ end
# User faints, even if the move does nothing else. (Explosion, Self-Destruct)
#===============================================================================
class Battle::Move::UserFaintsExplosive < Battle::Move
def worksWithNoTargets?; return true; end
def worksWithNoTargets?; return true; end
def pbNumHits(user, targets); return 1; end
def pbMoveFailed?(user, targets)