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.
Little question for Disco Viking or any pro

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 89
After reading the topic "Heal upon level up" that you (Disco Viking) have made there is a question that I want to ask you... But the topic is locked... So I'm making a new one!

Old Topic: http://www.crankeye.com/forums/viewtopic.php?t=5808

Disco Viking
Quote

It's alright.
I found the script with levelup in and did what I originally wanted to.
I call adding
actor.hp = actor.maxhp
actor.sp = actor.maxsp
to a script easier than adding an event to every single map.


I don't know where is the levelup script. Can you tell me where is it?
Hey thanx a lot guys!!!

**
Rep: +0/-0Level 89
It's in "Scene_Battle 2".
HIt ctrl+f and search for "level", you should get something like this.
"last_level = actor.level"

Just below that there will be "if actor.level > last_level"
anything within that if statement will be carried out upon levelling.

**
Rep: +0/-0Level 89
Thanx for your help I really appreciate it. Thank you!