mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 13:15:01 +00:00
Rewrote AI item usage (inc. adding Revives), various fixes/changes to AI, removed Struggle from PBS files, some bug fixes
This commit is contained in:
@@ -42,7 +42,7 @@ def pbRandomMove
|
||||
loop do
|
||||
move_id = keys.sample
|
||||
move = GameData::Move.get(move_id)
|
||||
next if move.id == :SKETCH || move.id == :STRUGGLE
|
||||
next if ["Struggle", "ReplaceMoveWithTargetLastMoveUsed"].include?(move.function_code)
|
||||
return move.id
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user