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.xml

Dependencies

Depends On
Purpose

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:

  1. Looks up the appropriate Index based on the source (monster drop, chaos mix, event, etc.)

  2. Uses weighted random selection to pick an option value

  3. Applies that option to the item

circle-info

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.

Attribute
Type
Range
Description

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

chevron-rightLevel Index Referencehashtag
Index
Source
Typical Use

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).

Attribute
Type
Range
Description

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).

Attribute
Type
Range
Description

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).

Attribute
Type
Range
Description

Index

int

0-31

Source identifier

Rate0 - Rate7

int

0-10000

Weight for each JoL value

circle-info

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).

Attribute
Type
Range
Description

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

circle-exclamation

SetOptions

Controls set item tier when set items drop.

Attribute
Type
Range
Description

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.

Attribute
Type
Range
Description

Index

int

0-23

Source identifier

Rate0 - Rate5

int

0-10000

Weight for each socket count

Index Reference (All Sections)

Index
Name
Usage

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:

Common Issues

circle-exclamation
circle-exclamation
triangle-exclamation

Last updated