-
Notifications
You must be signed in to change notification settings - Fork 83
Items
Aaron edited this page Apr 28, 2018
·
3 revisions
- Item health for destructible items is
weight * 100. For artifacts, it'smax(price, 50000). - Each item has its sell price, which is set at 75% of the base one.
- Enchantment chances are stored in a 3-item byte array
@41724. A random number 1..10 is tested against it. Elements mean: special material, enchantment, material + enchantment
- Names:
szlist @41A6B(8 elements) - Bonus: signed byte array
@41AA4 - Chances: byte array
@41AAC - Price multipliers:
WORDarray@41CAE(in 1/4s)
There are 11 types of armor.
- Names:
szlist @41ABA - Quality: byte array
@41B51(the higher the value, the rarer is the item) - Base price: byte array
@41920 - Weight:
WORDarray@41957(in kg/256) - Armor class: 45 + material bonus, except for shields: shieldAC[itemType-ARMOR_BUCKLER] + material bonus;
shieldACis a byte array@47A89.
- Names:
szlist @41B5C - Quality:
@41BF3(huge values for shields prevent their generation) - Base price:
@41915 - Weight:
@41941 - Armor class: 30, except for shields
- Names:
szlist @41BFE - Quality:
@41CA3 - Base price:
@4190A - Weight:
@4192B - Armor class: 15, except for shields
There are 14 possible enchantments.
- Names:
szlist @41979 - Quality:
@41A41 - Spells: byte array
@41A33. A255value means that the attribute bonus must be set instead of the spell. - Bonus price:
@41A4F
There are 18 types of weapons.
- Names:
szlist @41630 - Quality:
@41712 - Base price:
@41700 - Weight:
@416DC - Damage: 36-element byte array at
@41727(pairs of minimal/maximal damage); both increased by (material bonus/5) - Handness: byte array
@416CA
There are likewise 14 possible enchantments.
- Names:
szlist @4174B - Quality:
@41815 - Spells:
@41807. See the note above. - Bonus price:
@41823
There are three categories of trinkets: those which cast spells, those which enhance attributes, and those which provide AC. The spellcasting ones are further separated into offensive, defensive and miscellaneous.
- Names:
szlist @411FD(marks, crystals, rings) - Cumulative chances:
@41217 - Base price:
@4121F - Charges ranges: 8-element
bytearray@41227(min, max+1, ...) -
Attacking Spells (15):
- Names:
szlist @4122F - Quality:
@41309 - Spells:
@412FA - Price per charge:
@41312
- Names:
-
Defensive Spells (9):
- Names:
szlist @41336 - Quality:
@413B0 - Spells:
@413A7 - Price per charge:
@413B9
- Names:
-
Misc Spells (8):
- Names:
szlist @413CB - Quality:
@4143C - Spells:
@41434 - Price per charge:
@4144C
- Names:
- Names:
szlist @41454(bracelets, etc.) - Cumulative chances:
@4146E - Base price:
@41476
Artifacts are organized in two orders: one which is present in game UI, and one which is encoded in the items. The latter order is organized by the function: armor, weapons, trinkets and special unequippable artifacts.
- Names (in logical order):
- Names (in item order):
- Spells:
- Materials: