• 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!
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

[Scripting Question] Help on 2 custom abilities

Juno and Ice

Developer of Pokémon Floral Tempus
  • 150
    Posts
    7
    Years
    • Seen Aug 6, 2024
    I've been trying to get two abilities working on my fan game for the past week but with no success.

    One ability is called Iron Skin that calculates any super effective moves that make contact with it as neutral damage. The problem with this one is that I can't figure out how to make the game check if a move is super effective or not.

    Another ability is called Purification (Working name) which heals any and all poison damage dealt to it. So basically poison heal but for moves as well.

    If anyone can help me implement these abilities it would be greatly appreciated.
     
    Please note that I also had problems on adding another ability on my game called Heralina, which makes the user transform into the target who made contact with the user but I had solved it on my own.

    About these abilities you want. Check for sample definitions like the ones from Filter/Solid Rock abilities

    I can't help you so much now
     
    Like HM100 says, that first ability sounds like a Filter/Solid Rock variant; you're looking for typemod (which uses some truly awful numbers to represent the effectiveness!) And your second one sounds like a Volt Absorb/Water Absorb variant (in addition to being a copy of Poison Heal, but I'm sure you can work out how to do that part).
     
    Back
    Top