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

Disable EXP Gain for Pokémon of a certain OT

Vin_Prismriver

Pokémon Cremisi Portals Game Director
34
Posts
10
Years
  • Hi, I have a question!
    How can I disable EXP Gain for Pokémon of a certain OT? Let me explain: there's a character that gives you one of her pokémon with her OT obviously. Now, I'd like THAT only pokémon not to gain experience because it is going to be given back to her.

    I've tried looking at this tutorial on the wiki: https://pokemonessentials.wikia.com/wiki/Tutorial:Temporarily_disable_exp_gain but I can't seem to make it work. Any advice? Thanks in advance.
     

    Nickalooose

    --------------------
    1,309
    Posts
    16
    Years
    • Seen Dec 28, 2023
    My advice... Follow that link... Otherwise, add the red part in PokeBattle_Battle:
    Code:
                  # 1.57% increase
                  [COLOR="Red"]exp=0 if thispoke.ot=="Bob"[/COLOR]
                  growthrate=thispoke.growthrate
                  newexp=PBExperience.pbAddExperience(thispoke.exp,exp,growthrate)
                  exp=newexp-thispoke.exp
    Untested, edit accordingly.
     
    Back
    Top