Skip to content

CustomizingItemBag

CustomizingItemBag.xml defines crystal bags: lookup tables that determine which crystals are available for a given equipment type, gamble grade and rarity combination.

VersionStatus
v92Full
v90-
v86-

Entity: customizingItemBags Operations: create, update, delete, upsert


spec:
version: "1.0"
customizingItemBags:
create:
- requiredEquipmentType: EQUIP_WEAPON
gambleItemGrade: 1
rareGrade: 3
bagItems:
- conversionSmallGroup: 100
templateId: "80001"
name: "Crystal of Wrath"
- conversionSmallGroup: 101
templateId: "80002"
name: "Crystal of Fury"

Updates replace the entire bag item list (clear-and-replace semantics).

spec:
version: "1.0"
customizingItemBags:
update:
- requiredEquipmentType: EQUIP_WEAPON
gambleItemGrade: 1
rareGrade: 3
changes:
bagItems:
- conversionSmallGroup: 200
templateId: "80010"
name: "Crystal of Might"

All three composite key fields are required.

spec:
version: "1.0"
customizingItemBags:
delete:
- requiredEquipmentType: EQUIP_WEAPON
gambleItemGrade: 1
rareGrade: 3

Creates the bag if it does not exist, or replaces its items if it does. Applying the same upsert twice produces identical output.

spec:
version: "1.0"
customizingItemBags:
upsert:
- requiredEquipmentType: EQUIP_WEAPON
gambleItemGrade: 1
rareGrade: 3
bagItems:
- conversionSmallGroup: 100
templateId: "80001"
name: "Crystal of Wrath"

PropertyTypeSinceRequiredDescription
requiredEquipmentTypeEquipmentTypev92YesEquipment type this bag applies to
gambleItemGradeintv92YesGamble item grade tier
rareGradeintv92YesRarity grade tier
bagItemslist[BagItem]v92NoCrystals available in this bag

Each item represents a crystal available for selection within the bag.

PropertyTypeSinceRequiredDescription
conversionSmallGroupintv92YesConversion small group identifier
templateIdstringv92YesCrystal template identifier
namestringv92YesCrystal display name
ValueSince
EQUIP_WEAPONv92
EQUIP_ARMOR_BODYv92
EQUIP_ACCESSORYv92

CrystalBags
└── CrystalBag (requiredEquipmentType, gambleItemGrade, rareGrade)
└── BagItem (conversionSmallGroup, templateId, name)

  • CrystalBag uses a composite key of requiredEquipmentType + gambleItemGrade + rareGrade. All three fields are required for update, delete and upsert operations.
  • Bag items use clear-and-replace semantics: supplying a new bagItems list replaces all existing items.
  • Related schemas: CustomizingItem (for crystal definitions referenced by templateId).