Gemstone Tier Enchantment System

From Neko-RO
Jump to navigation Jump to search

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

 
Enchanter Stone Master
Location: zha_in,8,18

 

Elite & Epic Gemstone List

Elite Gemstone Name Status Effect Obtain Epic Gemstone Name Status Effect Obtain
Strength Elite Gemstone Strength Elite Gemstone Str +2 Event Box Atk Epic Gemstone Atk Epic Gemstone Atk +15 & Attack 2% MvP Box
Agi Elite Gemstone Agi Elite Gemstone Agi +2 Event Box Attak Speed Epic Gemstone Atk Speed Epic Gemstone ASPD +1 & Flee +20 MvP Box
Vitality Elite Gemstone Vitality Elite Gemstone Vit +2 Event Box Defense Epic Gemstone Defense Epic Gemstone MDef +2 & Def +2. Reduce damage from Long Range attacks by 2% MvP Box
Intelligence Elite Gemstone Intelligence Elite Gemstone Int +2 Event Box Magical Epic Gemstone Magical Epic Gemstone Matk +15 & Matk 2% MvP Box
Dexterity Elite Gemstone Dexterity Elite Gemstone Dex +2 Event Box Range Attack Epic Gemstone Range Attack Epic Gemstone Attak +15 & Longrange Atk 2% MvP Box
Luk Elite Gemstone Luk Elite Gemstone Luk +2 Event Box Critical Epic Gemstone Critical Epic Gemstone Critical +5 & Critical Damage 2% MvP Box


Legendary & Mythical Gemstone List

Legendary Gemstone Name Status Effect Obtain Mythical Gemstone Name Status Effect Obtain
Red Legendary Gemstone Red Legendary Gemstone Str +3, Mdef +1 & Reduce damage from Demi-Human by 1% Gemstone Expert Quest Strength Mythical Gemstone Strength Mythical Str +3, Atk +20, Atk 3%, & Reduce damage from Demi-Human by 3% Gemstone Seller
Green Legendary Gemstone Green Legendary Gemstone Agi +2, ASPD 1% & Reduce damage from Demi-Human by 1% Gemstone Expert Quest Agility Mythical Gemstone Agility Mythical Gemstone Agi +3, ASPD 3%, Perfect Dogde +3, & Reduce damage from Demi-Human by 3% Gemstone Seller
Gold Legendary Gemstone Gold Legendary Gemstone Vit +2, MaxHP 3% & Reduce damage from Demi-Human by 1% Gemstone Expert Quest Vitality Mythical Gemstone Vitality Mythical Gemstone Vit +2, MaxHP 3%, Def +3, MDef +3 & Reduce damage from Demi-Human by 3% Gemstone Seller
Blue Legendary Gemstone Blue Legendary Gemstone Int +2, Mdef 2% & Reduce damage from Demi-Human by 1% Gemstone Expert Quest Blue Mythical Gemstone Blue Mythical Gemstone Int +3, Matk +20, Matk +3%, & Reduce damage from Demi-Human by 3% Gemstone Seller
Purple Legendary Purple Legendary Gemstone Dex +2, Hit +30 & Reduce damage from Demi-Human by 1% Gemstone Expert Quest Dexterity Mythical Gemstone Dexterity Mythical Gemstone Dex +3, Hit +20, Long-Range Attack +10, Long-Range Attack 5% & Reduce damage from Demi-Human by 3% Gemstone Seller
Silver Legendary Gemstone Silver Legendary Gemstone Luk +2, Perfect Dogde +2 & Flee +10 Gemstone Expert Quest Luk Mythical Gemstone Luk Mythical Gemstone Luk +3, Perfect Dogde +3, Flee +15, & Reduce damage from Demi-Human by 3% Gemstone Seller


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.