JewelOfHarmonyOption Configuration

This configuration file defines the available Jewel of Harmony (JoH) enhancement options, their bonus values at each level, and Zen restoration costs.

File Location#

Data/Item/JewelOfHarmonyOption.xml

Dependencies#

Depends OnPurpose
ItemProvides item categories and per-item Strength/Dexterity requirements used during option filtering
RelatedPurpose
JewelOfHarmonyTypeControls which items can be smelted into Refining Stones in the Chaos Machine (separate system; not used to gate JoH application)
ItemOptionRelated option fields stored on items
Item Option Index ReferenceReference for the option-index conventions used on items

How It Works#

Jewel of Harmony (Normal Items)#

  1. Player applies a Jewel of Harmony to an eligible item
  2. Server determines item type group: Weapon, Staff, or Armor (see Category Eligibility below)
  3. Selects a random option from that group using Rate weights
  4. Filters out options whose Level attribute exceeds the item's enhancement level
  5. Filters out Sub Require Strength / Sub Require Dexterity options when the item has no such requirement
  6. Stores option in the item's JoH option byte: upper 4 bits = option index, lower 4 bits = JoH level
  7. Initial JoH level equals the option's Level attribute (a Level=7 option starts at JoH level 7 with Value7 bonus)
  8. Smelt Stone can later increase the JoH level

Jewel of Elevation (Lucky Items)#

  1. Works only on Lucky Items
  2. Rejected if the target item is already JoH'd or is a Socket item
  3. Set Item restriction is NOT enforced for Elevation (only for Jewel of Harmony)
  4. Same option selection process as Jewel of Harmony
  5. Initial JoH level is set to the item's enhancement level, capped at 15
  6. Smelt Stone is effectively useless afterward because the JoH level already equals the item's enhancement level, and Smelt Stone refuses to raise the JoH level past the item's enhancement level
  7. Allows high-Level options to start with high bonuses immediately on a high enhancement item

Smelt Stone Upgrade#

  1. Increases the current JoH level by 1 on success
  2. On failure, the JoH level is reset to the option's base Level attribute (not to 0, and not preserved)
  3. Cannot upgrade if current JoH level is already at the item's enhancement level
  4. Cannot upgrade if current JoH level is already 15 (maximum table index)
  5. Lower Refining Stone uses one success rate, Higher Refining Stone uses a separate (typically higher) rate

Structure#

<JewelOfHarmonyOptionList>
    <WeaponOptions>
        <Option Index="1" Name="Add Min Physical Damage" Rate="50" Level="0"
                Value0="2" Value1="3" ... Value15="20"
                Money0="100000" Money1="110000" ... Money15="500000"/>
    </WeaponOptions>
    <StaffOptions>
        <!-- Staff-specific options -->
    </StaffOptions>
    <ArmorOptions>
        <!-- Armor-specific options -->
    </ArmorOptions>
</JewelOfHarmonyOptionList>

Attributes#

AttributeTypeDescription
IndexintOption index within the section (1-15)
NamestringDisplay name (informational)
RateintSelection weight (higher = more likely)
LevelintMinimum item enhancement level required to roll this option, and the initial JoH level once applied
Value0-15intBonus value at each JoH level (0-15)
Money0-15intZen cost to restore (remove) JoH at that level

Category Eligibility#

JoH application checks the item's category directly. JewelOfHarmonyType is NOT consulted for the application path; it only affects the Chaos Machine Smelt Mix that creates Refining Stones.

GroupCategoriesNotes
WeaponCategories 0-4Excludes item 4/7 and item 4/15 (ammunition)
StaffCategory 5All items
ArmorCategories 6-11All items at the category check

Additional exclusions applied to ALL groups during Jewel of Harmony application:

  • Items that already carry a JoH option are rejected
  • Socket items are rejected
  • Set items are rejected unless SetItemAcceptHarmonySwitch=1 is set in server config
  • Lucky Items (Category 7-11 with Type between 62 and 72) are rejected; they use the Jewel of Elevation path instead

Weapon Options#

IndexNameEffectLevel Req
1Add Min Physical Damage+value to min physical damage0
2Add Max Physical Damage+value to max physical damage0
3Sub Require Strength-value Strength requirement0
4Sub Require Dexterity-value Dexterity (Agility) requirement0
5Add Physical Damage+value to both min AND max physical damage7
6Add Critical Damage+value to critical damage7
7Add Skill Damage+value to skill damage10
8Add Attack Success Rate PvP+value to attack success rate in PvP11
9Sub SD Rate+value% to enemy SD decrease rate10
10Add SD Ignore Rate+value% chance to ignore enemy SD13

Staff Options#

IndexNameEffectLevel Req
1Add Magic Damage+value to min and max magic damage0
2Sub Require Strength-value Strength requirement0
3Sub Require Dexterity-value Dexterity (Agility) requirement0
4Add Skill Damage+value to skill damage7
5Add Critical Damage+value to critical damage7
6Sub SD Rate+value% to enemy SD decrease rate10
7Add Attack Success Rate PvP+value to attack success rate in PvP11
8Add SD Ignore Rate+value% chance to ignore enemy SD13

Armor Options#

IndexNameEffectLevel Req
1Add Defense+value to defense0
2Add Max BP+value to AG (Stamina) pool4
3Add Max HP+value to maximum HP4
4Add HP Recovery+value to HP regeneration7
5Add MP Recovery+value to MP regeneration10
6Add Defense Success Rate PvP+value to defense success rate in PvP11
7Add Damage Reduction+value% damage reduction (JoH slot)10
8Add SD Rate+value% to SD absorption rate13

Examples#

<Option Index="1" Name="Add Min Physical Damage" Rate="50" Level="0"
        Value0="2" Value1="3" Value2="4" Value3="5" Value4="6"
        Value5="7" Value6="9" Value7="11" Value8="12" Value9="14"
        Value10="15" Value11="16" Value12="17" Value13="20" Value14="20" Value15="20"
        Money0="100000" Money1="110000" Money2="120000" .../>
  • Rate=50: Common option
  • Level=0: Available at any item enhancement level
  • Initial JoH level when applied is 0 with +2 bonus
  • Smelt Stone can upgrade up to the item's enhancement level (max 15)

Important Behavior#

Common Issues#

Last updated April 21, 2026