Overview
Perfect Lapisians allow players to enchant equipment with a guaranteed success rate when using special materials. Unlike standard lapisian enchantments that have varying success rates, Perfect Lapisians define aReqRec value of 10000, ensuring 100% success.
Vanilla items already define perfect success rates (ReqRec = 10000). If ReqRec is zero, the game service falls back to
g_LapisianEnchantSuccessRate configuration.Success Rate Calculation
The game calculates perfect lapisian success rates using the following formula:ReqRec = 10000, the success rate is effectively 100%.
Configuration
Perfect Lapisians are configured in the Items database with specific column values:Item Configuration Parameters
Can use with Weapons
0= Cannot be used on weapons1= Can be used on weapons
Can use with Helmets
0= Cannot be used on helmets1= Can be used on helmets
Can use with Upper Armor
0= Cannot be used on chest armor1= Can be used on chest armor
Can use with Lower Armor
0= Cannot be used on pants1= Can be used on pants
Can use with Shields
0= Cannot be used on shields1= Can be used on shields
Can use with Gloves
0= Cannot be used on gloves1= Can be used on gloves
Can use with Boots
0= Cannot be used on boots1= Can be used on boots
Success Rate
0= Use default rate fromg_LapisianEnchantSuccessRate10000= Perfect success rate (100%)- Values between 1-9999 = Partial success rates
Minimum Item Enchant StepDefines the minimum enchantment level (+0 to +19) required on the target item.
Maximum Enchant StepDefines the maximum enchantment level (+1 to +20) this lapisian can be used up to.
Needs Item Protection
0= No protection required1= Requires item protection scroll
Configuration Table
| Column | Value | Description |
|---|---|---|
| Level | 0:1 | Can use with Weapons |
| Country | 0:1 | Can use with Helmets |
| AttackFighter | 0:1 | Can use with Upper Armor |
| DefenseFighter | 0:1 | Can use with Lower Armor |
| PatrolRogue | 0:1 | Can use with Shields |
| ShootRogue | 0:1 | Can use with Gloves |
| AttackMage | 0:1 | Can use with Boots |
| ReqRec | 0:10000 | Success rate |
| Range | 0:19 | Minimum item enchant step |
| AttackTime | 1:20 | Maximum step |
| ReqVg | 0:1 | Needs item protection |
Creating Perfect Lapisians
Design Lapisian Stats
Determine the stat bonuses your perfect lapisian will provide (STR, DEX, INT, WIS, LUC, HP, MP, etc.).
Configure Database Entry
Create or modify an item in the Items table with:
Type= 30 (Lapisian)ReqRec= 10000 (Perfect success rate)- Equipment compatibility flags (Level, Country, AttackFighter, etc.)
- Enchant range (Range and AttackTime)
Example: Universal Perfect Lapisian
Here’s an example SQL configuration for a universal perfect lapisian that can be used on all equipment types:Fallback to Default Rates
IfReqRec is set to 0, the game service uses the default configuration:
Best Practices
- Equipment Restrictions: Set appropriate equipment type flags to prevent lapisians from being used on incompatible items
- Enchant Ranges: Use
RangeandAttackTimeto restrict lapisians to specific enchantment tiers - Protection Requirements: Set
ReqVg = 1for high-value lapisians to require protection scrolls - Balance Considerations: Perfect lapisians are powerful - balance their availability and cost accordingly
- Testing: Always test new perfect lapisians on non-production servers first
Common Configurations
Weapon-Only Perfect Lapisian
Weapon-Only Perfect Lapisian
Armor-Only Perfect Lapisian
Armor-Only Perfect Lapisian
High-Level Only Perfect Lapisian
High-Level Only Perfect Lapisian
Troubleshooting
Lapisian Shows Less Than 100% Success Rate
Lapisian Shows Less Than 100% Success Rate
- Verify
ReqRec = 10000in the database - Check that the item is properly configured as Type = 30
- Ensure the server has reloaded the item database
- Verify the target item’s enchantment level is within Range and AttackTime
Cannot Use Lapisian on Equipment
Cannot Use Lapisian on Equipment
- Check the equipment type flags (Level, Country, AttackFighter, etc.)
- Verify the target item’s enchantment level is greater than or equal to Range
- Verify the target item’s enchantment level is less than or equal to AttackTime
- Ensure the item has available lapisian slots
Success Rate Is Not Perfect
Success Rate Is Not Perfect
If ReqRec = 10000 but success isn’t guaranteed:
- Check for server-side modifications to the rate calculation
- Verify no debuffs or penalties are affecting the enchantment
- Review server logs for calculation errors
- Test with vanilla items to confirm the system works correctly
Related Features
- Lapisian Remake - Combine lapisians to create better ones
- Item Ability Move - Transfer lapisians between items
- Synergy - Enhance set items with perfect lapisians