Rumor 2607 Posted March 8, 2014 Share Posted March 8, 2014 The stat reset is bugged on 34083 (I'm told only if your maximum level is set high enough). Players don't receive all of their stat points when resetting. I want to re-write this quest to give them points. quest reset_scroll begin state start begin when 71002.use begin say_title("Reset Scroll") say("You can use this scroll to") say("reset stats or skills.") say("") say("Want to proceed?") say("") local s = select("Yes", "No") if 2 == s then return end say_title("Choose your Type of reset!") local l = select("Reset Skills", "Reset Stats", "Cancel!") if l == 1 then char_log(0, "RESET_ALL", "USE_ITEM(71002)") pc.remove_item(71002) char_log(0, "RESET_ALL", "RESET_SKILL_POINTS") pc.clear_skill() pc.set_skill_group(0) char_log(0, "RESET_ALL", "RESET_END") elseif l == 2 then char_log(0, "RESET_ALL", "USE_ITEM(71002)") pc.remove_item(71002) char_log(0, "RESET_ALL", "RESET_STAT_POINTS") pc.reset_point() char_log(0, "RESET_ALL", "RESET_END") elseif l == 3 then return end end So I want the "if l == 1" statement to set their status points to 380 or set DEX/INT/STR/CON to 95 each. Link to comment Share on other sites More sharing options...
Jancsi7 16 Posted March 8, 2014 Share Posted March 8, 2014 The stat reset is bugged on 34083 (I'm told only if your maximum level is set high enough). Players don't receive all of their stat points when resetting. I want to re-write this quest to give them points. quest reset_scroll begin state start begin when 71002.use begin say_title("Reset Scroll") say("You can use this scroll to") say("reset stats or skills.") say("") say("Want to proceed?") say("") local s = select("Yes", "No") if 2 == s then return end say_title("Choose your Type of reset!") local l = select("Reset Skills", "Reset Stats", "Cancel!") if l == 1 then char_log(0, "RESET_ALL", "USE_ITEM(71002)") pc.remove_item(71002) char_log(0, "RESET_ALL", "RESET_SKILL_POINTS") pc.clear_skill() pc.set_skill_group(0) char_log(0, "RESET_ALL", "RESET_END") elseif l == 2 then char_log(0, "RESET_ALL", "USE_ITEM(71002)") pc.remove_item(71002) char_log(0, "RESET_ALL", "RESET_STAT_POINTS") pc.reset_point() char_log(0, "RESET_ALL", "RESET_END") elseif l == 3 then return end end So I want the "if l == 1" statement to set their status points to 380 or set DEX/INT/STR/CON to 95 each. I think the 2nd will change status points to default. If you want default points to 380 you have to edit in char.pp in this void: void CHARACTER::ResetPoint(int iLv) Search for this: PointChange(POINT_STAT, 270 - GetPoint(POINT_STAT)); Change 270 to 380. Regards Why so serious? Link to comment Share on other sites More sharing options...
Rumor 2607 Posted March 9, 2014 Author Share Posted March 9, 2014 I'm using 34083 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now