mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-10 22:54:59 +00:00
Added some Gen 8 move effects
This commit is contained in:
@@ -457,6 +457,12 @@ class PokeBattle_Battler
|
||||
return false
|
||||
end
|
||||
|
||||
def pbGetMoveWithID(move_id)
|
||||
return nil if !move_id
|
||||
eachMove { |m| return m if m.id == move_id }
|
||||
return nil
|
||||
end
|
||||
|
||||
def hasMoldBreaker?
|
||||
return hasActiveAbility?([:MOLDBREAKER, :TERAVOLT, :TURBOBLAZE])
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user