Jump to content
Sign in to follow this  
Black Rose

Requesting script

Recommended Posts

I’m on my phone so I can’t check but this will give you an idea. Find your rebirth functions, mines in forge.lua

Example: 1st Rebirth

There is stat bonus displayed within the function like add_defsa and so on just change the value to whatever you want the base stats to be when rebirthing. 


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites
1 hour ago, Black Rose said:

And how I make to reset the player level ? For example player level is 100 , after completing first Rebirth he will get level 1

Not sure about that sorry. 


Nissan-GT-R.gif

Share this post


Link to post
Share on other sites

Too lazy to re-do it ('cause I made it like 4 years ago with LazyKid) but you can search for it on old serverdev archive ( @Shako 's link to old forums archive is dead tho).

But as a hint, you need to play with attrs.

0) force the player to unequip everything (since you don't want a lv 1 player with a lv 75 equipment)

1) reset skills and stats

2) Set attr_lv and attr_exp to 1

3) set attr_ap to 15 (you can play here with how many resets the player have)

4) set attr_tp to 1 (in case you want skill points to 1)

5) add rebirth skills (checking if they had them)

6) Refreshcha(role)

 

 

Edited by iZae
  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...