• 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.

Pixilate Ability Script

  • 19
    Posts
    4
    Years
    • Seen Oct 27, 2023
    Normal-type moves become Fairy type and deal 20% more damage.

    Paste this first in PokeBattle_Move under Normalize:


    def pbType(type,attacker,opponent)
    if isConst?(type,PBTypes,:NORMAL) && attacker.hasWorkingAbility(:PIXILATE)
    type=getConst(PBTypes,:FAIRY) || 0
    end
    return type
    end


    Then paste this in PokeBattle_Move under Flashfire which increases the damage:


    if attacker.hasWorkingAbility(:PIXILATE) &&
    isConst?(type,PBTypes,:FAIRY)
    atkmult=(atkmult*1.2).round
    end


    And at last paste this in PokeBattle_AI under flashfire which also increases the damage:


    #Pixilate
    if skill>=PBTrainerAI.highSkill
    if attacker.hasWorkingAbility(:PIXILATE) &&
    isConst?(type,PBTypes,:FAIRY)
    atk=(atk*1.2).round
    end
    end
     
  • 1,411
    Posts
    10
    Years
    • Online now
    I'm pretty sure Pixilate is already coded into Essentials 17 by default.

    Also, you could probably just throw all your custom abilities into a single thread instead of making a new one for each individual ability, if you plan on posting more in the future. Less cluttered that way.

    Or you could just post them in my existing thread that has basically become a "post your custom ability" thread.
     
    Back
    Top