Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Heal on Level Up


hagefade
 Share

Recommended Posts

Darn, if I didn't just pack down my laptop I would have been able to give you my script for that, I'll use it to heal when youre talking to a NPC.

But it's just the same commands in Onlvlup (Or something close to it)

I'll give you the script I have when I get home from school today if no one allready have helped you  :cheesy:

PS. I made the script myself!  :azn:
Link to comment
Share on other sites

Hello

In the "PlayerLevelUp(Index)" subroutine ( located in your "main.txt" ) and after the ending "Loop" terminator of the "Do While" loop, place this code:
```
'Give player full hp and mp
Call SetPlayerHP(Index, GetPlayerMaxHp(Index))
Call SetPlayerMP(Index, GetPlayerMaxMP(Index))

```
cloudwolf00
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...