comparison Items.h @ 816:cfc65feef029

* Player Recovery Times * Player Attack fixes * Debug log to timers
author Nomad
date Tue, 26 Mar 2013 12:40:27 +0200
parents f39fbeb65b28
children 9c3f28b31b4a
comparison
equal deleted inserted replaced
813:d37b03507b3b 816:cfc65feef029
1 #pragma once 1 #pragma once
2
3 2
4 3
5 4
6 5
7 6
32 ITEM_AXE_1 = 0x17, 31 ITEM_AXE_1 = 0x17,
33 ITEM_SPEAR_1 = 0x1F, 32 ITEM_SPEAR_1 = 0x1F,
34 ITEM_CROSSBOW_1 = 0x2F, 33 ITEM_CROSSBOW_1 = 0x2F,
35 ITEM_MACE_1 = 0x32, 34 ITEM_MACE_1 = 0x32,
36 ITEM_STAFF_1 = 0x3D, 35 ITEM_STAFF_1 = 0x3D,
37 ITEM_BLASTER = 65, 36 ITEM_BLASTER = 64,
38 ITEM_LASER_RIFLE = 66, 37 ITEM_LASER_RIFLE = 65,
39 ITEM_LEATHER_1 = 0x42, 38 ITEM_LEATHER_1 = 0x42,
40 ITEM_CHAINMAIL_1 = 0x47, 39 ITEM_CHAINMAIL_1 = 0x47,
41 ITEM_PLATE_1 = 0x4C, 40 ITEM_PLATE_1 = 0x4C,
42 ITEM_BUCKLER_1 = 0x54, 41 ITEM_BUCKLER_1 = 0x54,
43 ITEM_GAUNTLETS_1 = 0x6E, 42 ITEM_GAUNTLETS_1 = 0x6E,
85 ITEM_RARE_VAMPIRES_CAPE = 550,//226 84 ITEM_RARE_VAMPIRES_CAPE = 550,//226
86 ITEM_LICH_JAR = 601 85 ITEM_LICH_JAR = 601
87 }; 86 };
88 87
89 /* 331 */ 88 /* 331 */
90 enum ITEM_EQUIP_TYPE 89 enum ITEM_EQUIP_TYPE: unsigned __int8
91 { 90 {
92 EQUIP_ONE_OR_TWO_HANDS = 0, 91 EQUIP_OFF_HAND = 0,
93 EQUIP_TWO_HANDED = 1, 92 EQUIP_MAIN_HAND = 1,
94 EQUIP_BOW = 2, 93 EQUIP_BOW = 2,
95 EQUIP_ARMOUR = 3, 94 EQUIP_ARMOUR = 3,
96 EQUIP_SHIELD = 4, 95 EQUIP_SHIELD = 4,
97 EQUIP_HELMET = 5, 96 EQUIP_HELMET = 5,
98 EQUIP_BELT = 6, 97 EQUIP_BELT = 6,
99 EQUIP_CLOAK = 7, 98 EQUIP_CLOAK = 7,
100 EQUIP_GAUNTLETS = 8, 99 EQUIP_GAUNTLETS = 8,
101 EQUIP_BOOTS = 9, 100 EQUIP_BOOTS = 9,
102 EQUIP_RING = 10, 101 EQUIP_RING = 10,
103 EQUIP_AMULET = 11, 102 EQUIP_AMULET = 11,
104 EQUIP_WAND = 12, 103 EQUIP_WAND = 12,
105 EQUIP_REAGENT = 13, 104 EQUIP_REAGENT = 13,
106 EQUIP_POTION = 14, 105 EQUIP_POTION = 14,
107 EQUIP_SPELL_SCROLL = 15, 106 EQUIP_SPELL_SCROLL = 15,
108 EQUIP_BOOK = 16, 107 EQUIP_BOOK = 16,
109 EQUIP_MESSAGE_SCROLL = 17, 108 EQUIP_MESSAGE_SCROLL = 17,
110 EQUIP_GOLD = 18, 109 EQUIP_GOLD = 18,
111 EQUIP_GEM = 19, 110 EQUIP_GEM = 19,
112 EQUIP_NONE = 20 111 EQUIP_NONE = 20
113 }; 112 };
114 113
115 114
116 115
117 /* 64 */ 116 /* 64 */
141 140
142 141
143 int uItemID; 142 int uItemID;
144 int uEnchantmentType; 143 int uEnchantmentType;
145 int _bonus_strength; 144 int _bonus_strength;
146 int uSpecEnchantmentType; // 25: +5 levels 145 int uSpecEnchantmentType; // 25 +5 levels
146 // 16 Drain Hit Points from target.
147 // 39 Double damage vs Demons.
148 // 40 Double damage vs Dragons
149 // 45 +5 Speed and Accuracy
150 // 56 +5 Might and Endurance.
151 // 57 +5 Intellect and Personality.
152 // 58 Increased Value.
153 // 60 +3 Unarmed and Dodging skills
154 // 61 +3 Stealing and Disarm skills.
155 // 59 Increased Weapon speed.
156 // 63 Double Damage vs. Elves.
157 // 64 Double Damage vs. Undead.
158 // 67 Adds 5 points of Body damage and +2 Disarm skill.
159 // 68 Adds 6-8 points of Cold damage and +5 Armor Class.
147 int uNumCharges; 160 int uNumCharges;
148 unsigned int uAttributes; 161 unsigned int uAttributes;
149 unsigned __int8 uBodyAnchor; 162 unsigned __int8 uBodyAnchor;
150 char uMaxCharges; 163 char uMaxCharges;
151 char uHolderPlayer; 164 char uHolderPlayer;
168 unsigned int uValue; //10 14 181 unsigned int uValue; //10 14
169 unsigned __int16 uSpriteID; //14 18 182 unsigned __int16 uSpriteID; //14 18
170 __int16 field_1A; //16 183 __int16 field_1A; //16
171 signed __int16 uEquipX; //18 1c 184 signed __int16 uEquipX; //18 1c
172 signed __int16 uEquipY; //1a 1e 185 signed __int16 uEquipY; //1a 1e
173 unsigned __int8 uEquipType; //1c 20 186 ITEM_EQUIP_TYPE uEquipType; //1c 20
174 unsigned __int8 uSkillType; //1d 21 187 unsigned __int8 uSkillType; //1d 21
175 unsigned __int8 uDamageDice; //1e 22 188 unsigned __int8 uDamageDice; //1e 22
176 unsigned __int8 uDamageRoll; //1f 23 189 unsigned __int8 uDamageRoll; //1f 23
177 unsigned __int8 uDamageMod; //20 24 190 unsigned __int8 uDamageMod; //20 24
178 unsigned __int8 uMaterial; //21 25 191 unsigned __int8 uMaterial; //21 25