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.
Forget skills if level down

0 Members and 1 Guest are viewing this topic.

**
Dupe account made by Blizzard =(
Rep:
Level 87
is there anybody who knows how to do this? i want my heroes to forget skill if they level down just like they learn them when they level up. i use rpgxp
what!? ur not supposed to see this!

********
EXA
Rep:
Level 92
Pikachu on a toilet
Project of the Month winner for April 2007
This is simple. Open the scripts editor and open Game_Actor. Now find the method def exp=(exp) and replace it with this one:

Code: [Select]
  def exp=(exp)
    @exp = [[exp, 9999999].min, 0].max
    while @exp >= @exp_list[@level+1] and @exp_list[@level+1] > 0
      @level += 1
      for j in $data_classes[@class_id].learnings
        for i in 1..@level
          learn_skill(j.skill_id) if j.level == i
        end
      end
    end
    for j in $data_classes[@class_id].learnings
      for i in 1..99
        forget_skill(j.skill_id) if j.level < i
      end
    end
    @hp = [@hp, self.maxhp].min
    @sp = [@sp, self.maxsp].min
  end

This should work.
« Last Edit: March 26, 2007, 11:52:32 AM by Blizzard »
Get King of Booze for Android, for iOS, for OUYA or for Windows!
Visit our website.
You can also love/hate us on Facebook or the game itself.


Get DropBox, the best free file syncing service there is!

**
Dupe account made by Blizzard =(
Rep:
Level 87
ty, it works fine so far
what!? ur not supposed to see this!