RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
In desperate need of an EXP script!

0 Members and 1 Guest are viewing this topic.

*
Rep: +0/-0Level 83
Ok, I have my ToS style party changer and it works fine. The only problem now is, having the passive party members, (The ones not in battle.) getting the same EXP as the active members. Like say the total EXP for everyone is zero. (This is an example.) Then 4 out of the 6 party members gain 50 EXP from a battle. How do I make it so that the other 2 passive members get the same 50 EXP? This is the only problem thats preventing me from going foward. I need to know this now because I will soon add a 5th member. Please I beg of you guys, help me out here. It's going so well. I already have a full hour of game play so far. I can't let it end here.

*
Rep:
Level 87
wow - this one has been unanswered for a while...

Find Scene_Battle 2 and the function start_phase5, which is where EXP is given out.

Under # EXP gained, there's a loop for i in 0...$game_party.actors.size that gives EXP to your battlers.  We left this as-is, because we have an animation when the characters gain levels, and the new stats also appear on the battle screen.

Underneath that, we added a new bit of code:
Code: [Select]
for i in 0..7 # or the number of actors you have in total
  actor = $game_actors[i]
  if actor != nil && !actor.cant_get_exp? &&
    # add another condition here to check if the actor is in the party     &&
    # add another condition here to check if the actor is INactive (not a battler)
    actor.exp += exp
  end
end
Always remember you're unique.
Just like everybody else.