Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class PokeBattle_Move_197 < PokeBattle_Move
- def pbIsMultiHit
- return true
- end
- def pbNumHits(attacker)
- return 3
- end
- def pbAdditionalEffect(attacker,opponent)
- return if opponent.damagestate.substitute
- case @battle.pbRandom(3)
- when 0
- if opponent.pbCanBurn?(attacker,false,self)
- opponent.pbBurn(attacker)
- end
- when 1
- if opponent.pbCanFreeze?(attacker,false,self)
- opponent.pbFreeze
- end
- when 2
- if opponent.pbCanParalyze?(attacker,false,self)
- opponent.pbParalyze(attacker)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement