mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Additional #isSpecies? and #hasItem? refactoring
This commit is contained in:
@@ -182,7 +182,7 @@ class PurifyChamber # German: der Kryptorbis
|
||||
return false if !shadow
|
||||
return false if shadow.heartgauge!=0
|
||||
# Define an exception for Lugia
|
||||
if isConst?(shadow.species,PBSpecies,:LUGIA)
|
||||
if shadow.isSpecies?(:LUGIA)
|
||||
maxtempo=PurifyChamber.maximumTempo()
|
||||
for i in 0...NUMSETS
|
||||
return false if @sets[i].tempo!=maxtempo
|
||||
|
||||
Reference in New Issue
Block a user