• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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
4
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?
     

    WolfPP

    Spriter/ Pixel Artist
    1,309
    Posts
    5
    Years
  • Look for Nature's Madness in move.txt, there you'll check damage 0. Maybe you need to edit that too.
     
    Back
    Top