View Single Post
  #6    
Old August 31st, 2012 (3:17 PM).
Maruno's Avatar
Maruno Maruno is offline
Lead Dev of Pokémon Essentials
     
    Join Date: Jan 2008
    Location: England
    Posts: 5,172
    What's wrong is the part where you didn't do as I said. I told you which specific lines to replace, yet you also deleted an extra one and added an (incorrect) extra one.

    Code:
    class PokeBattle_Move_135 < PokeBattle_Move
      def pbBaseDamage(basedmg,attacker,opponent)
        multiplier=1
        multiplier=2 if pbHasMove?(attacker,:ALPHASHOCK) &&
                        pbHasMove?(attacker,:BETAFLAME) &&
                        pbHasMove?(attacker,:GAMMASPORE) &&
                        pbHasMove?(attacker,:DELTAWAVE)
        else multiplier=1
        return basedmg*multiplier
      end
         
    def pbAdditionalEffect(attacker,opponent)
        multiplier=1
        multiplier=2 if pbHasMove?(attacker,:ALPHASHOCK) &&
                        pbHasMove?(attacker,:BETAFLAME) &&
                        pbHasMove?(attacker,:GAMMASPORE) &&
                        pbHasMove?(attacker,:DELTAWAVE)
        else multiplier=1
        [email protected](10/multiplier)
        case rnd
          when 0
            return false if !opponent.pbCanParalyze?(false)
            opponent.pbParalyze(attacker)
            @battle.pbDisplay(_INTL("{1} is paralyzed!  It may be unable to move!",opponent.pbThis))
            return true
        end
        return false
      end
    Delete the red lines, and add the green lines back in.
    __________________
    Go to the Pokémon Essentials Wiki

    | Downloads | Tutorials | Fangames |
    | All Animations Project |

    Follow me on Twitter: @maruno42


    Reply With Quote