mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Fixed bug in AI for Camouflage
This commit is contained in:
@@ -1364,7 +1364,7 @@ class PokeBattle_AI
|
|||||||
:ROCK, # Cave
|
:ROCK, # Cave
|
||||||
:GROUND # Sand
|
:GROUND # Sand
|
||||||
]
|
]
|
||||||
type = envtypes[@environment]
|
type = envtypes[@battle.environment]
|
||||||
score -= 90 if user.pbHasType?(type)
|
score -= 90 if user.pbHasType?(type)
|
||||||
end
|
end
|
||||||
#---------------------------------------------------------------------------
|
#---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user