• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] Fixed damage attack?

  • 4
    Posts
    5
    Years
    • Seen Nov 19, 2022
    been trying to make a fixed damage attack that deals 100 HP

    Code:
    class PokeBattle_Move_164 < PokeBattle_Move
      def pbEffect(attacker,opponent,hitnum=0,alltargets=nil,showanimation=true)
        return pbEffectFixedDamage(100,attacker,opponent,hitnum,alltargets,showanimation)
      end
    end

    for some reason, it reeeeally doesn't like this?
     
    Look for Nature's Madness in move.txt, there you'll check damage 0. Maybe you need to edit that too.
     
    Back
    Top