Black Rose 0 Report post Posted October 4, 2017 I need the script after complete first Rebirth quest player to get from the current level to lv 1 and get +15 stat points. Quote Share this post Link to post Share on other sites
Dan 184 Report post Posted October 4, 2017 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. Quote Share this post Link to post Share on other sites
Black Rose 0 Report post Posted October 4, 2017 And how I make to reset the player level ? For example player level is 100 , after completing first Rebirth he will get level 1 Quote Share this post Link to post Share on other sites
Dan 184 Report post Posted October 4, 2017 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. Quote Share this post Link to post Share on other sites
iZae 55 Report post Posted October 4, 2017 (edited) 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 October 4, 2017 by iZae 1 Quote Share this post Link to post Share on other sites