JinYuichi Posted July 1, 2024 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 110 Reputation: 30 Joined: 11/24/14 Last Seen: March 31 Share Posted July 1, 2024 View File [ Script ] Stats Point for Rebirth & Reset Stats / Skills / Map SG . This Ragnarok Online NPC script primarily focuses on the rebirth process and resetting stats, skills, and specific maps. Below is a summary of its functions: Initial Configurations Rebirth Cost: set .@cost, 5000000; Minimum Base Level for Rebirth: set .@blvl, 99; Maximum Number of Rebirths: set .@max_rebirth, 5; Additional Stat Points per Rebirth: setarray .@bstats[0], 200, 400, 600, 800, 1000; Required Items for Rebirth: IDs: setarray .@items_id[0], 501, 502, 503; Quantities: setarray .@items_qty[0], 1, 1, 1; Cash Points Required for 4th and 5th Rebirth: 4th Rebirth: set .@cashpoint_cost[3], 500; 5th Rebirth: set .@cashpoint_cost[4], 1000; Enable/Disable Cash Points for 4th and 5th Rebirth: set .@use_cash_points, 1; Allowed Classes for Rebirth: setarray .@allowed_classes[0], 23, 24, 25, 4047, 4049, 4008, 4009, 4010, 4011, 4012, 4013, 4015, 4016, 4017, 4018, 4019, 4020, 4021; Reset Costs: setarray .@Reset, 5000, 5000, 9000, 15000; NPC Functions Welcome Message and Introduction: Introduces the NPC and its main functions: rebirth and resetting stats, skills, and specific maps. Main Menu: Offers three options: Rebirth Reset Stats/Skills/Maps SG Cancel Rebirth: Checks if the player has reached the maximum number of rebirths. Explains the rebirth process and requirements. Verifies necessary requirements (base level, class, Zeny, items, and Cash Points if applicable). Performs the rebirth if all requirements are met, including: Deducting the required Zeny and items. Changing job to Hight Novice. Resetting level to 1. Allocating additional stat points. Incrementing the rebirth counter. Reset Stats, Skills, and Maps SG: Displays reset costs for stats, skills, and both. Checks if the player has sufficient Zeny. Performs the reset based on the selected option, including: Resetting skills. Resetting stats. Resetting designated maps for Star Gladiator if the player’s class is Star Gladiator. Cancel Option: Closes the dialog without performing any action. Dialog Flows Rebirth: Requirement verification. Process confirmation. Perform rebirth if requirements are met. Reset: Present options and costs. Check sufficient Zeny. Perform the reset based on the selected option. The script ensures players meet all requirements before allowing them to rebirth or reset their stats and skills, providing a structured and balanced in-game experience. Submitter JinYuichi Submitted 07/01/24 Category Utilities Video Content Author JinYuichi 1 2 Quote Link to comment Share on other sites More sharing options...
NoobInLife Posted July 9, 2024 Group: Members Topic Count: 1 Topics Per Day: 0.00 Content Count: 4 Reputation: 0 Joined: 12/26/23 Last Seen: July 9, 2024 Share Posted July 9, 2024 Hi, Other than adding this to NPC script import, need to amend SQL? Quote Link to comment Share on other sites More sharing options...
emundus Posted August 13, 2024 Group: Members Topic Count: 6 Topics Per Day: 0.01 Content Count: 37 Reputation: 7 Joined: 03/07/23 Last Seen: December 8, 2024 Share Posted August 13, 2024 Incredibly interesting and functional, approved! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.