ItemOptionRate
Controls probability distribution for item options when items are generated
This configuration file defines the probability tables used when determining item options (level, skill, luck, excellent options, etc.) during item generation.
File Location
GameServer/Data/Item/ItemOptionRate.xmlDependencies
Item.xml
Item definitions that receive these options
ItemOption.xml
Stat bonuses applied based on selected options
How It Works
When an item is generated, the server:
Looks up the appropriate Index based on the source (monster drop, chaos mix, event, etc.)
Uses weighted random selection to pick an option value
Applies that option to the item
Weighted Selection: If Rate0=7000, Rate1=2000, Rate2=1000, the system has 70% chance for option 0, 20% for option 1, 10% for option 2. These are NOT cumulative - they are relative weights.
Configuration Sections
LevelOptions
Controls item enhancement level (+0 to +15) when items drop.
Index
int
0-53
Source identifier (see Index Reference below)
Rate0 - Rate15
int
0-10000
Weight for each level (+0 to +15)
Name
string
-
Human-readable description
Level Index Reference
0
Common drops
Regular monster kills
1
Excellent items
Forces +0 for excellent drops
2
Set items
Forces +0 for set items
3
Chaos mix
Equal chance +0 to +4
9
Moss Merchant
NPC-sold items
10
Lucky items
Higher level distribution
11-26
EventItemBag (fixed)
Forces specific level (11=+0, 12=+1, etc.)
27-53
EventItemBag (range)
Random within level range
Example - Common Drop Distribution:
70% chance for +0
15% chance for +1
10% chance for +2
5% chance for +3
0% chance for +4 through +15
SkillOptions
Controls whether items spawn with skill option (for weapons).
Index
int
0-13
Source identifier
Rate0
int
0-10000
Weight for NO skill
Rate1
int
0-10000
Weight for HAS skill
Common Values:
Index 0 (Common): 94% no skill, 6% has skill
Index 1 (Excellent): 100% has skill
Index 2 (Set): 100% has skill
LuckOptions
Controls whether items spawn with luck option (+critical damage rate).
Index
int
0-13
Source identifier
Rate0
int
0-10000
Weight for NO luck
Rate1
int
0-10000
Weight for HAS luck
JoLOptions
Controls Jewel of Life additional option value (+0 to +7 additional damage/defense).
Index
int
0-31
Source identifier
Rate0 - Rate7
int
0-10000
Weight for each JoL value
JoL values add flat damage (weapons) or defense (armor). Each point is significant for early-game balance.
ExcOptions
Controls how many excellent options spawn on excellent items (0-6 options).
Index
int
0-28
Source identifier
Rate0 - Rate6
int
0-10000
Weight for each option count
For Excellent Drops (Index 1):
75% chance for 1 excellent option
25% chance for 2 excellent options
This controls the count of excellent options, not which specific options. The actual options are determined by ExcellentOptionRate.xml.
SetOptions
Controls set item tier when set items drop.
Index
int
0-14
Source identifier
Rate0
int
0-10000
Weight for tier 0
Rate1
int
0-10000
Weight for tier 1
Rate2
int
0-10000
Weight for tier 2
SocketOptions
Controls socket count for socket weapons and pentagram items.
Index
int
0-23
Source identifier
Rate0 - Rate5
int
0-10000
Weight for each socket count
Index Reference (All Sections)
0
Common
Regular monster drops
1
Exc
Excellent item generation
2
Set
Set item generation
3
ChaosItemMix / DinorantMix / OneHand
Chaos machine mixes
4
Wing2Mix / TwoHand
Second wing mix / Two-hand weapons
5
Wing1Mix / Pentagram
First wing mix / Pentagram items
6
Wing3Mix / SocketWeaponMix
Third wing mix
7
MonsterWingMix
Monster wing mix
8
SocketWeaponMix
Socket weapon mix
9
MossMerchant
Moss NPC purchases
10
Lucky
Lucky item drops
11+
EventItemBag
Specific event configurations
Examples
Increase base item quality for a more rewarding experience:
Make items rarer for challenging gameplay:
Create custom event reward tiers:
Common Issues
Rates Don't Add to 10000: While rates work as relative weights even if they don't sum to 10000, inconsistent totals can make balance calculations confusing. Keep totals at 10000 for clarity.
Wrong Index Used: If items aren't dropping with expected options, verify you're using the correct Index for the item source (drops, mixes, events).
All Rates Zero: If all rates for an option type are 0, the item will receive option value 0. This can cause issues for socket items that expect at least 1 socket.
Last updated