Split AI move handlers into general ones and ones per target, rearranged some main move-scoring code

This commit is contained in:
Maruno17
2022-10-30 15:25:46 +00:00
parent e12fd08eb1
commit 3408b038cf
16 changed files with 1133 additions and 1040 deletions

View File

@@ -22,6 +22,7 @@ class Battle::AI::AIBattler
end
end
def pokemon; return @battler.pokemon; end
def level; return @battler.level; end
def hp; return @battler.hp; end
def fainted?; return @battler.fainted?; end