Gemstone Tier Enchantment System
Script Overview:
Stone Enchanting and Retrieval System
This script is used to manage the enchanting and retrieval of stones for costumes in the game. The user can either enchant a costume or retrieve a stone from an already enchanted costume. Here's a breakdown of how it works:
Main Menu:
The script starts with a prompt asking the user to choose between two options:
🐾 Enchant Costume – This allows the user to enchant a costume item using a rune and Enchant Tickets.
🐾 Retrieve Stone – This allows the user to retrieve a stone (enchantment) from a costume.
Enchant Costume Subroutine
This part of the script lets the user enchant a costume. The process goes as follows:
🐾 Select Costume: The user selects which costume piece to enchant (upper, middle, lower, or garment). The script identifies which slot of the costume the user selects and stores it in a variable .eqSlot.
🐾 Check Costume: If no costume is equipped in the selected slot, the script notifies the user and ends.
🐾 Enchant Ticket Check: The script checks if the player has at least 10 Enchant Tickets (Item ID: 50550). If not, the enchantment is not possible, and the user is notified.
🐾 Select Rune: The player must have a rune (gemstone) in their inventory to enchant the item. The script checks the player's inventory for available runes and displays a menu for the user to choose which rune to use.
Enchant Process:
🐾 After the player selects a rune, the script confirms the selection and asks if they want to proceed with the enchantment.
🐾 If the player confirms, the script deducts 10 Enchant Tickets and one rune from the player’s inventory.
🐾 The enchantment has a 40% success rate. If successful, the rune is applied to the costume, and any existing enchantment options (like cards and refinery levels) are preserved.
🐾 If the enchantment fails, the rune is destroyed, and a failure message is displayed.
🐾 Reequip Costume: Once the enchantment succeeds, the costume is re-equipped with the enchantment. If the enchantment had random options (like cards), they are applied accordingly.
Retrieve Stone Subroutine
This part allows the user to retrieve a stone from a costume:
🐾 Select Costume: Just like in the enchantment process, the player must first choose the costume piece (upper, middle, lower, or garment).
🐾 Check Costume: The script checks if the selected costume has a stone (enchantment) applied. If not, it informs the user.
🐾 Retrieve Ticket Check: To retrieve a stone, the player needs 5 Retrieve Tickets. The script checks if the player has enough tickets (Item ID: 50550) .
Stone Retrieval:
If the player has enough tickets and the costume has a stone, the script proceeds to retrieve the stone.
🐾 The stone (enchantment) is returned to the player's inventory, and the costume is re-equipped without the stone.
🐾 The player’s Retrieve Tickets are deducted.
🐾 Success Message: If the retrieval is successful, the script informs the player.
How It Works:
🐾 The player first interacts with the NPC to select whether they want to enchant or retrieve a stone from their costume.
🐾 If enchanting, they select the costume to enchant, check their Enchant Tickets, select a rune, and proceed with the enchantment process.
🐾 If retrieving, they select the costume to retrieve the stone, check their Retrieve Tickets, and retrieve the stone if possible.
Key Variables and Items:
🐾 Tier Enchantment Tickets: Required for enchanting costumes.
🐾 Tier Enchantment Tickets: Required for retrieving stones.
🐾 Runes: Specific items used to enchant costumes. The script checks for these runes in the player's inventory.
🐾 Costume Slots: There are 4 slots where costumes can be equipped (head top, head mid, head low, and garment).
🐾 Failure Rate: The enchantment has a 40% success rate (it may fail and destroy the rune).
Important Note:
🐾 Elite Gemstone and Epic Gemstone: These runes will be destroyed upon failure of the enchantment.
🐾 Legendary Gemstone and Mythical Gemstone: These runes will not be destroyed upon failure; they will remain in the player's inventory.
This is an important distinction in how the system handles the runes when the enchantment fails.
You can insert this note after the section explaining the enchantment process and before mentioning the 40% success rate to ensure that players understand the difference in how each gemstone behaves.
Enchanter Stone Master |
---|
Elite & Epic Gemstone List
Legendary & Mythical Gemstone List
Copyright Notice: Neko Ragnarok Online Server
This serves as a warning that Neko RO Server has established its own rules and guidelines.
The content, rules, and sentences created for Neko RO Server are protected under the Intellectual Property Code of the Philippines (RA 8293).
Unauthorized reproduction, distribution, or modification of this work, in whole or in part, is strictly prohibited.
It is explicitly stated that no other RO private servers may copy or replicate the rules and content of Neko RO for any purpose. Violators may face legal action under Philippine law.
This notice is for the benefit of all RO servers, emphasizing that each server has its own unique regulations that must be respected.
Any attempt to misuse or imitate Neko RO’s content will result in legal consequences, in accordance with the laws of the Philippines.