• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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.

[Question] RPG maker ability help

  • 3
    Posts
    2
    Years
    • Seen May 30, 2023
    Help with two abilities with coding for RPG Maker, can some one help me with the code pls.

    Fairy tale: powers up Fairy type moves, and after using one it will regenerate a little hp


    Intense fire: when using a Fire move it has a GREAT chance of burning the opposing foe.
     
    Last edited:
    Help with two abilities with coding for RPG Maker, can some one help me with the code pls.

    Fairy tale: powers up Fairy type moves, and after using one it will regenerate a little hp


    Intense fire: when using a Fire move it has a GREAT chance of burning the opposing foe.

    Which version of Essentials are you using?
    In v18 and v19, you can code both those abilities by using a battle handler : "BattleHandlers::UserAbilityOnHit", or "BattleHandlers::UserAbilityEndOfMove". In v20, they are called (respectively) "Battle::AbilityEffects::OnDealingHit" or "Battle::AbilityEffects::OnEndOfUsingMove". They respectively add an effect after hitting a move (so, if the move misses, the effect is not applied) or using a move. See Poison Touch for example.
    For the bonus damage of Fairy Tale, you want to use "BattleHandlers::DamageCalcUserAbility" (v18, v19) or "Battle::AbilityEffects::DamageCalcFromUser" (v20). See Aerilate for an example.
    Also, for the Fairy Tale ability, you will need to access target.damageState.calcDamage if you want to recover like 50% of the damage dealt for example.
     
    Back
    Top