mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
More AI code for deciding when to switch
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
# NOTE: The following clauses have battle code implementing them, but no class
|
||||
# below to apply them:
|
||||
# "drawclause"
|
||||
# "modifiedselfdestructclause"
|
||||
# "suddendeath"
|
||||
|
||||
#===============================================================================
|
||||
#
|
||||
#===============================================================================
|
||||
@@ -58,7 +64,7 @@ end
|
||||
#
|
||||
#===============================================================================
|
||||
class PerishSongClause < BattleRule
|
||||
def setRule(battle); battle.rules["perishsong"] = true; end
|
||||
def setRule(battle); battle.rules["perishsongclause"] = true; end
|
||||
end
|
||||
|
||||
#===============================================================================
|
||||
|
||||
Reference in New Issue
Block a user