Mercurial > mm7
annotate Items.h @ 1577:1b6217e07b26
OnInventoryItemRightClick logic restored
author | Nomad |
---|---|
date | Tue, 10 Sep 2013 18:43:52 +0200 |
parents | e66e0c89d81b |
children | c58916c53d8e |
rev | line source |
---|---|
0 | 1 #pragma once |
1202 | 2 #include <array> |
0 | 3 |
1036 | 4 enum DAMAGE_TYPE:unsigned int |
5 { | |
6 DMGT_FIRE = 0, | |
7 DMGT_ELECTR = 1, | |
8 DMGT_COLD = 2, | |
1559
1f3f01d39300
Player::CanTrainToNextLevel simplified, Player::GetExperienceDisplayColor shortened a bit Player::CalculateIncommingDamage + fixed resistances not working if no resistance bonus (ignored luck bonus)
Grumpy7
parents:
1553
diff
changeset
|
9 DMGT_EARTH = 3, |
1036 | 10 DMGT_PHISYCAL= 4, |
11 DMGT_5 = 5, | |
12 DMGT_SPIRIT = 6, | |
13 DMGT_MIND = 7, | |
14 DMGT_BODY = 8, | |
15 DMGT_DARK =10 | |
16 }; | |
0 | 17 |
18 | |
19 | |
20 /* 338 */ | |
463 | 21 enum ITEM_FLAGS :unsigned int |
0 | 22 { |
23 ITEM_IDENTIFIED = 0x1, | |
24 ITEM_BROKEN = 0x2, | |
25 ITEM_TEMP_BONUS = 0x8, | |
1455 | 26 ITEM_AURA_EFFECT_RED = 0x10,//16 |
27 ITEM_AURA_EFFECT_BLUE = 0x20,//32 | |
28 ITEM_AURA_EFFECT_GREEN = 0x40,//64 | |
29 ITEM_AURA_EFFECT_PURPLE = 0x80,//128 | |
0 | 30 ITEM_STOLEN = 0x100, |
31 ITEM_ENCHANTED = 0x200, | |
32 }; | |
33 | |
34 | |
377 | 35 enum ITEM_MATERIAL |
437 | 36 { |
377 | 37 MATERIAL_COMMON =0, |
38 MATERIAL_ARTEFACT = 1, | |
39 MATERIAL_RELIC = 2, | |
40 MATERIAL_SPECIAL = 3 | |
437 | 41 }; |
377 | 42 |
0 | 43 /* 330 */ |
44 enum ITEM_TYPE | |
45 { | |
46 ITEM_LONGSWORD_1 = 0x1, | |
47 ITEM_DAGGER_1 = 0xF, | |
48 ITEM_AXE_1 = 0x17, | |
49 ITEM_SPEAR_1 = 0x1F, | |
50 ITEM_CROSSBOW_1 = 0x2F, | |
51 ITEM_MACE_1 = 0x32, | |
52 ITEM_STAFF_1 = 0x3D, | |
816 | 53 ITEM_BLASTER = 64, |
54 ITEM_LASER_RIFLE = 65, | |
0 | 55 ITEM_LEATHER_1 = 0x42, |
56 ITEM_CHAINMAIL_1 = 0x47, | |
57 ITEM_PLATE_1 = 0x4C, | |
58 ITEM_BUCKLER_1 = 0x54, | |
59 ITEM_GAUNTLETS_1 = 0x6E, | |
60 ITEM_BOOTS_1 = 0x73, | |
490 | 61 ITEM_WAND_FIRE = 135, |
62 ITEM_WAND_STUN = 138, | |
0 | 63 ITEM_WAND_INCENERATION = 0x9F, |
1575 | 64 ITEM_REAGENT_WIDOWSWEEP_BERRIES = 200, |
0 | 65 ITEM_TROLL_BLOOD = 0xCA, |
66 ITEM_DRAGON_EYE = 0xCC, | |
67 ITEM_HARPY_FEATHER = 0xCF, | |
68 ITEM_DEVIL_ICHOR = 0xD6, | |
69 ITEM_OOZE_ECTOPLASM_BOTTLE = 0xD9, | |
1575 | 70 ITEM_REAGENT_PHILOSOPHERS_STONE = 219, |
71 ITEM_POTION_BOTTLE = 220, | |
72 ITEM_POTION_CATALYST = 221, | |
1576 | 73 ITEM_POTION_CURE_WOUNDS = 222, |
74 ITEM_POTION_CURE_DISEASE = 225, | |
75 ITEM_POTION_AWAKEN = 227, | |
76 ITEM_POTION_HASTE = 228, | |
1575 | 77 ITEM_POTION_RECHARGE_ITEM = 233, |
78 ITEM_POTION_HARDEN_ITEM = 236, | |
1576 | 79 ITEM_POTION_CURE_INSANITY = 239, |
80 ITEM_POTION_MIGHT_BOOST = 240, | |
1575 | 81 ITEM_POTION_ACCURACY_BOOST = 245, |
82 ITEM_POTION_FLAMING_POTION = 246, | |
83 ITEM_POTION_SWIFT_POTION = 250, | |
1576 | 84 ITEM_POTION_BODY_RESISTANE = 261, |
85 ITEM_POTION_STONE_TO_FLESH = 262, | |
1575 | 86 ITEM_POTION_SLAYING_POTION = 263, |
87 ITEM_POTION_REJUVENATION = 271, | |
1455 | 88 ITEM_SPELLBOOK_TORCHLIGHT = 400,//0x190 |
89 ITEM_SPELLBOOK_FIRE_STRIKE = 401,//0x191, | |
0 | 90 ITEM_SPELLBOOK_AIR_FEATHER_FALL = 0x19C, |
91 ITEM_SPELLBOOK_WATER_POISON_SPRAY = 0x1A7, | |
92 ITEM_SPELLBOOK_EARTH_SLOW = 0x1B2, | |
93 ITEM_SPELLBOOK_SPIRIT_BLESS = 0x1BD, | |
94 ITEM_SPELLBOOK_MIND_MIND_BLAST = 0x1C8, | |
95 ITEM_SPELLBOOK_BODY_FIRST_AID = 0x1D3, | |
96 ITEM_SPELLBOOK_BODY_HEAL = 0x1D6, | |
97 ITEM_SPELLBOOK_BODY_BREAK_POISON = 0x1D7, | |
98 ITEM_SPELLBOOK_LIGHT_LIGHT_BOLT = 0x1DD, | |
99 ITEM_SPELLBOOK_LIGHT_SUN_BURST = 0x1E6, | |
100 ITEM_SPELLBOOK_LIGHT_DIVINE_INTERVENTION = 0x1E7, | |
1455 | 101 ITEM_ARTIFACT_PUCK = 500,//0x1F4, |
1548 | 102 ITEM_ARTIFACT_IRON_FEATHER = 501, |
103 ITEM_ARTIFACT_WALLACE = 502, | |
104 ITEM_ARTIFACT_CORSAIR = 503, | |
513 | 105 ITEM_ARTICACT_GOVERNONS_ARMOR = 504,//1F8 |
106 ITEM_ARTIFACT_YORUBA = 505,//1F9 | |
305 | 107 ITEM_ARTIFACT_SPLITTER = 506,//1FA |
1080 | 108 ITEM_ARTIFACT_GHOULSBANE = 507,//1FA |
1548 | 109 ITEM_ARTIFACT_GIBBET = 508,//1FA |
110 ITEM_ARTIFACT_CHARELE = 509,//1FA | |
1080 | 111 ITEM_ARTEFACT_ULLYSES =510, |
1548 | 112 ITEM_ARTEFACT_HANDS_OF_THE_MASTER =511, |
513 | 113 ITEM_ARTIFACT_LEAGUE_BOOTS = 512,//200 |
1548 | 114 ITEM_ARTIFACT_RULERS_RING = 513, |
115 ITEM_RELIC_MASH = 514, | |
1358
61010a655c94
a few itemID changed to their enum values + added a few new ones
Grumpy7
parents:
1202
diff
changeset
|
116 ITEM_RELIC_ETHRICS_STAFF = 515,//204 |
513 | 117 ITEM_RELIC_HARECS_LEATHER = 516,//204 |
1548 | 118 ITEM_RELIC_OLD_NICK = 517, |
119 ITEM_RELIC_AMUCK = 518, | |
120 ITEM_RELIC_GLORY_SHIELD = 519, | |
1080 | 121 ITEM_RELIC_KELEBRIM = 520,//208 |
513 | 122 ITEM_RELIC_TALEDONS_HELM = 521,//209 |
123 ITEM_RELIC_SCHOLARS_CAP = 522,//20A | |
124 ITEM_RELIC_PHYNAXIAN_CROWN = 523,//20B | |
125 ITEM_RILIC_TITANS_BELT = 524,//20C | |
126 ITEM_RELIC_TWILIGHT = 525,//20D | |
1548 | 127 ITEM_RELIC_ANIA_SELVING = 526, |
1358
61010a655c94
a few itemID changed to their enum values + added a few new ones
Grumpy7
parents:
1202
diff
changeset
|
128 ITEM_RELIC_JUSTICE = 527, |
61010a655c94
a few itemID changed to their enum values + added a few new ones
Grumpy7
parents:
1202
diff
changeset
|
129 ITEM_RELIC_MEKORIGS_HAMMER = 528, |
831 | 130 ITEM_ARTIFACT_HERMES_SANDALS = 529, |
513 | 131 ITEM_ARTIFACT_CLOAK_OF_THE_SHEEP = 530,//212 |
1358
61010a655c94
a few itemID changed to their enum values + added a few new ones
Grumpy7
parents:
1202
diff
changeset
|
132 ITEM_ARTIFACT_ELFBANE = 531,//212 |
513 | 133 ITEM_ARTIFACT_MINDS_EYE = 532,//214 |
134 ITEM_ELVEN_CHAINMAIL = 533,//215 | |
1358
61010a655c94
a few itemID changed to their enum values + added a few new ones
Grumpy7
parents:
1202
diff
changeset
|
135 ITEM_FORGE_GAUNTLETS = 534, |
831 | 136 ITEM_ARTIFACT_HEROS_BELT = 535,//217 |
137 ITEM_ARTIFACT_LADYS_ESCORT = 536, | |
513 | 138 ITEM_RARE_SHADOWS_MASK = 544,//220 |
139 ITEM_RARE_SUN_CLOAK = 547,//223 | |
140 ITEM_RARE_MOON_CLOAK = 548,//224 | |
141 ITEM_RARE_VAMPIRES_CAPE = 550,//226 | |
1358
61010a655c94
a few itemID changed to their enum values + added a few new ones
Grumpy7
parents:
1202
diff
changeset
|
142 ITEM_LICH_JAR_FULL = 601, |
61010a655c94
a few itemID changed to their enum values + added a few new ones
Grumpy7
parents:
1202
diff
changeset
|
143 ITEM_WETSUIT = 604, |
61010a655c94
a few itemID changed to their enum values + added a few new ones
Grumpy7
parents:
1202
diff
changeset
|
144 ITEM_LICH_JAR_EMPTY = 615, |
1387
297b6f192232
Player::SelectPhrasesTransaction finished, some constants changed to enum values, removed unused vars
Grumpy7
parents:
1358
diff
changeset
|
145 ITEM_RECIPE_REJUVENATION = 740, |
297b6f192232
Player::SelectPhrasesTransaction finished, some constants changed to enum values, removed unused vars
Grumpy7
parents:
1358
diff
changeset
|
146 ITEM_RECIPE_BODY_RESISTANCE = 771, |
0 | 147 }; |
148 | |
149 /* 331 */ | |
816 | 150 enum ITEM_EQUIP_TYPE: unsigned __int8 |
0 | 151 { |
816 | 152 EQUIP_OFF_HAND = 0, |
153 EQUIP_MAIN_HAND = 1, | |
154 EQUIP_BOW = 2, | |
155 EQUIP_ARMOUR = 3, | |
156 EQUIP_SHIELD = 4, | |
157 EQUIP_HELMET = 5, | |
158 EQUIP_BELT = 6, | |
159 EQUIP_CLOAK = 7, | |
1082 | 160 EQUIP_GAUNTLETS = 8, |
161 EQUIP_BOOTS = 9, | |
816 | 162 EQUIP_RING = 10, |
163 EQUIP_AMULET = 11, | |
164 EQUIP_WAND = 12, | |
165 EQUIP_REAGENT = 13, | |
166 EQUIP_POTION = 14, | |
167 EQUIP_SPELL_SCROLL = 15, | |
168 EQUIP_BOOK = 16, | |
1080 | 169 EQIUP_ANY = 16, |
816 | 170 EQUIP_MESSAGE_SCROLL = 17, |
171 EQUIP_GOLD = 18, | |
172 EQUIP_GEM = 19, | |
173 EQUIP_NONE = 20 | |
0 | 174 }; |
175 | |
176 | |
177 | |
178 /* 64 */ | |
179 #pragma pack(push, 1) | |
526 | 180 struct ItemGen //0x24 |
0 | 181 { |
182 //----- (0042EB25) -------------------------------------------------------- | |
1012 | 183 // inline ItemGen() |
184 // { | |
185 // Reset(); | |
186 // } | |
0 | 187 |
1567
9f8b3e904e14
Player::ReceiveDamage, very small edits; prepended "Is" to item functions returning bool values (broken, indetified, stolen)
Grumpy7
parents:
1559
diff
changeset
|
188 inline bool IsBroken() {return (uAttributes & ITEM_BROKEN) != 0;} |
9f8b3e904e14
Player::ReceiveDamage, very small edits; prepended "Is" to item functions returning bool values (broken, indetified, stolen)
Grumpy7
parents:
1559
diff
changeset
|
189 inline void SetBroken() {uAttributes |= ITEM_BROKEN;} |
9f8b3e904e14
Player::ReceiveDamage, very small edits; prepended "Is" to item functions returning bool values (broken, indetified, stolen)
Grumpy7
parents:
1559
diff
changeset
|
190 inline bool IsIdentified() {return (uAttributes & ITEM_IDENTIFIED) != 0;} |
315 | 191 inline void SetIdentified() {uAttributes |= ITEM_IDENTIFIED;} |
1567
9f8b3e904e14
Player::ReceiveDamage, very small edits; prepended "Is" to item functions returning bool values (broken, indetified, stolen)
Grumpy7
parents:
1559
diff
changeset
|
192 inline bool IsStolen() {return (uAttributes & ITEM_STOLEN) != 0;} |
749 | 193 inline void SetStolen() {uAttributes |= ITEM_STOLEN;} |
271 | 194 |
0 | 195 bool GenerateArtifact(); |
196 unsigned int GetValue(); | |
197 const char *GetDisplayName(); | |
198 const char *GetIdentifiedName(); | |
199 void UpdateTempBonus(__int64 uTimePlayed); | |
200 void Reset(); | |
385 | 201 int _439DF3_get_additional_damage(int *a2, bool *vampiyr); |
0 | 202 |
203 | |
204 | |
1019 | 205 int uItemID; //0 |
206 int uEnchantmentType; //4 | |
207 int _bonus_strength; //8 | |
208 int uSpecEnchantmentType; // 25 +5 levels //0c | |
816 | 209 // 16 Drain Hit Points from target. |
1553
b98812ead5d9
Get(skillname) functions cleaned up, using GetMultiplierForSkillLevel instead of nested conditions
Grumpy7
parents:
1548
diff
changeset
|
210 // 35 Increases chance of disarming. |
816 | 211 // 39 Double damage vs Demons. |
212 // 40 Double damage vs Dragons | |
213 // 45 +5 Speed and Accuracy | |
214 // 56 +5 Might and Endurance. | |
215 // 57 +5 Intellect and Personality. | |
216 // 58 Increased Value. | |
217 // 60 +3 Unarmed and Dodging skills | |
218 // 61 +3 Stealing and Disarm skills. | |
219 // 59 Increased Weapon speed. | |
220 // 63 Double Damage vs. Elves. | |
221 // 64 Double Damage vs. Undead. | |
222 // 67 Adds 5 points of Body damage and +2 Disarm skill. | |
223 // 68 Adds 6-8 points of Cold damage and +5 Armor Class. | |
831 | 224 // 71 Prevents drowning damage. |
225 // 72 Prevents falling damage. | |
1019 | 226 int uNumCharges; //10 |
227 unsigned int uAttributes; //14 | |
0 | 228 unsigned __int8 uBodyAnchor; |
229 char uMaxCharges; | |
377 | 230 char uHolderPlayer; |
0 | 231 char field_1B; |
232 unsigned __int64 uExpireTime; | |
233 }; | |
234 #pragma pack(pop) | |
235 | |
236 | |
237 | |
238 /* 175 */ | |
239 #pragma pack(push, 1) | |
559 | 240 struct ItemDesc //30h |
229 | 241 { //Item # |Pic File|Name|Value|Equip Stat|Skill Group|Mod1|Mod2|material| |
242 ///ID/Rep/St|Not identified name|Sprite Index|VarA|VarB|Equip X|Equip Y|Notes | |
243 char *pIconName; //0 4 | |
244 char *pName; //4 8 | |
245 char *pUnidentifiedName; //8 c | |
246 char *pDescription; //0c 10 | |
247 unsigned int uValue; //10 14 | |
248 unsigned __int16 uSpriteID; //14 18 | |
249 __int16 field_1A; //16 | |
365 | 250 signed __int16 uEquipX; //18 1c |
251 signed __int16 uEquipY; //1a 1e | |
816 | 252 ITEM_EQUIP_TYPE uEquipType; //1c 20 |
229 | 253 unsigned __int8 uSkillType; //1d 21 |
254 unsigned __int8 uDamageDice; //1e 22 | |
255 unsigned __int8 uDamageRoll; //1f 23 | |
256 unsigned __int8 uDamageMod; //20 24 | |
257 unsigned __int8 uMaterial; //21 25 | |
258 char _additional_value; //22 26 | |
259 char _bonus_type; //23 27 | |
260 char _bonus_strength; //24 28 | |
261 char field_25; // 25 29 | |
262 char field_26; //26 2A | |
263 char field_27; // 27 2b | |
264 union | |
315 | 265 { |
229 | 266 unsigned __int8 uChanceByTreasureLvl[6]; |
267 struct { | |
268 unsigned __int8 uChanceByTreasureLvl1; // 28 2c | |
269 unsigned __int8 uChanceByTreasureLvl2; // 29 2d | |
270 unsigned __int8 uChanceByTreasureLvl3; // 2A 2e | |
271 unsigned __int8 uChanceByTreasureLvl4; // 2B 2f | |
272 unsigned __int8 uChanceByTreasureLvl5; // 2C 30 | |
273 unsigned __int8 uChanceByTreasureLvl6; // 2D 32 | |
274 }; | |
315 | 275 }; |
276 unsigned char uItemID_Rep_St; //2e 32 | |
277 char field_2f; | |
278 }; | |
0 | 279 #pragma pack(pop) |
280 | |
281 | |
282 | |
283 /* 177 */ | |
284 #pragma pack(push, 1) | |
285 struct ItemEnchantment | |
222 | 286 { //Bonus|Sta|Of Name|Arm|Shld|Helm|Belt|Cape|Gaunt|Boot|Ring|Amul |
287 char *pBonusStat; | |
288 char *pOfName; | |
289 /* union{ | |
290 struct { | |
291 unsigned char to_arm; | |
292 unsigned char to_shld; | |
293 unsigned char to_helm; | |
294 unsigned char to_belt; | |
295 unsigned char to_cape; | |
296 unsigned char to_gaunt; | |
297 unsigned char to_boot; | |
298 unsigned char to_ring; | |
299 unsigned char to_amul; | |
300 }; */ | |
301 unsigned char to_item[12]; | |
302 // }; | |
303 }; | |
0 | 304 #pragma pack(pop) |
305 | |
306 /* 178 */ | |
307 #pragma pack(push, 1) | |
559 | 308 struct ItemSpecialEnchantment //1Ch |
222 | 309 { //Bonus Stat|Name Add|W1|W2|Miss|Arm|Shld|Helm|Belt|Cape|Gaunt|Boot|Ring|Amul|Value|Lvl|Description fo special Bonuses and values |
310 | |
559 | 311 char *pBonusStatement; //0 |
312 char *pNameAdd; //4 | |
313 char to_item_apply[12]; //8 | |
314 int iValue; //14 | |
315 int iTreasureLevel; //18 | |
0 | 316 }; |
317 #pragma pack(pop) | |
318 | |
222 | 319 #pragma pack(push, 1) |
320 struct BonusRange | |
321 { | |
322 unsigned int minR; | |
323 unsigned int maxR; | |
324 }; | |
325 #pragma pack(pop) | |
193
821fd955c379
fixed potion data parsing. Somehow 3d render was affected
Gloval
parents:
0
diff
changeset
|
326 |
0 | 327 /* 176 */ |
328 #pragma pack(push, 1) | |
329 struct ItemsTable | |
330 { | |
331 void Initialize(); | |
332 void LoadPotions(); | |
333 void LoadPotionNotes(); | |
385 | 334 void GenerateItem(int treasure_level, unsigned int uTreasureType, ItemGen *pItem); |
0 | 335 void SetSpecialBonus(ItemGen *pItem); |
377 | 336 bool IsMaterialSpecial(ItemGen *pItem); |
337 bool IsMaterialNonCommon(ItemGen *pItem); | |
374 | 338 void Release(); |
0 | 339 |
222 | 340 int uAllItemsCount; |
341 ItemDesc pItems[800]; //4-9604h | |
342 ItemEnchantment pEnchantments[24]; //9604h | |
229 | 343 ItemSpecialEnchantment pSpecialEnchantments[72]; //97E4h -9FC4h |
224 | 344 char field_9FC4[5000]; |
0 | 345 char field_B348[5000]; |
346 char field_C6D0[5000]; | |
347 char field_DA58[5000]; | |
229 | 348 char field_EDE0[384]; |
222 | 349 unsigned __int16 potion_data[50][50]; // 77B2h*2=EF64h -102ECh |
350 unsigned __int16 potion_note[50][50]; // 8176h*2=102ECh -11674h | |
351 char *pItemsTXT_Raw; //11674h | |
0 | 352 char *pRndItemsTXT_Raw; |
222 | 353 char *pStdItemsTXT_Raw; //1167Ch |
354 char *pSpcItemsTXT_Raw; //11680h | |
224 | 355 unsigned int uChanceByTreasureLvlSumm[6]; //11684 |
356 unsigned int uBonusChanceStandart[6]; //1169c | |
357 unsigned int uBonusChanceSpecial[6]; //116B4 | |
358 unsigned int uBonusChanceWpSpecial[6]; //116cc -116e4 | |
222 | 359 unsigned int pEnchantmentsSumm[9]; //116E4h -11708h |
360 BonusRange bonus_ranges[6]; //45C2h*4 =11708h | |
224 | 361 unsigned int pSpecialEnchantmentsSumm[24]; //11738h |
362 unsigned int pSpecialEnchantments_count; //11798h | |
0 | 363 char field_1179C; |
315 | 364 char field_1179D; |
365 char field_1179E; | |
366 char field_1179F; | |
0 | 367 }; |
368 #pragma pack(pop) | |
369 | |
463 | 370 void GenerateStandartShopItems(); |
371 void GenerateSpecialShopItems(); | |
598 | 372 void GenerateItemsInChest(); |
0 | 373 |
1202 | 374 extern std::array<const char, 5> uItemsAmountPerShopType; // weak |
0 | 375 extern ItemGen *ptr_50C9A4; |
376 | |
377 | 377 extern struct ItemsTable *pItemsTable; |
378 | |
379 /* | |
380 +10 to all Resistances. 1 | |
381 +10 to all Seven Statistics. 2 | |
382 Explosive Impact! 3 | |
383 Adds 3-4 points of Cold damage. 4 | |
384 Adds 6-8 points of Cold damage. 5 | |
385 Adds 9-12 points of Cold damage. 6 | |
386 Adds 2-5 points of Electrical damage. 7 | |
387 Adds 4-10 points of Electrical damage. 8 | |
388 Adds 6-15 points of Electrical damage. 9 | |
389 Adds 1-6 points of Fire damage. 10 | |
390 Adds 2-12 points of Fire damage. 11 | |
391 Adds 3-18 points of Fire damage. 12 | |
392 Adds 5 points of Body damage. 13 | |
393 Adds 8 points of Body damage. 14 | |
394 Adds 12 points of Body damage. 15 | |
395 Drain Hit Points from target. 16 | |
396 Increases rate of Recovery. 17 | |
397 Wearer resistant to Diseases. 18 | |
398 Wearer resistant to Insanity. 19 | |
399 Wearer resistant to Paralysis. 20 | |
400 Wearer resistant to Poison. 21 | |
401 Wearer resistant to Sleep. 22 | |
402 Wearer resistant to Stone. 23 | |
403 Increased Knockback. 24 | |
404 +5 Level. 25 | |
405 Increases effect of all Air spells. 26 | |
406 Increases effect of all Body spells. 27 | |
407 Increases effect of all Dark spells. 28 | |
408 Increases effect of all Earth spells. 29 | |
409 Increases effect of all Fire spells. 30 | |
410 Increases effect of all Light spells. 31 | |
411 Increases effect of all Mind spells. 32 | |
412 Increases effect of all Spirit spells. 33 | |
413 Increases effect of all Water spells. 34 | |
414 Increases chance of Disarming. 35 | |
415 Half damage from all missile attacks. 36 | |
416 Regenerate Hit points over time. 37 | |
417 Regenerate Spell points over time. 38 | |
418 Double damage vs Demons. 39 | |
419 Double damage vs Dragons 40 | |
420 Drain Hit Points from target and Increased Weapon speed. 41 | |
421 +1 to Seven Stats, HP, SP, Armor, Resistances. 42 | |
422 +10 to Endurance, Armor, Hit points. 43 | |
423 +10 Hit points and Regenerate Hit points over time. 44 | |
424 +5 Speed and Accuracy. 45 | |
425 Adds 10-20 points of Fire damage and +25 Might. 46 | |
426 +10 Spell points and Regenerate Spell points over time. 47 | |
427 +15 Endurance and +5 Armor. 48 | |
428 +10 Intellect and Luck. 49 | |
429 +30 Fire Resistance and Regenerate Hit points over time. 50 | |
430 +10 Spell points, Speed, Intellect. 51 | |
431 +10 Endurance and Accuracy. 52 | |
432 +10 Might and Personality. 53 | |
433 +15 Endurance and Regenerate Hit points over time. 54 | |
434 +15 Luck and Regenerate Spell points over time. 55 | |
435 +5 Might and Endurance. 56 | |
436 +5 Intellect and Personality. 57 | |
437 Increased Value. 58 | |
438 Increased Weapon speed. 59 | |
439 +3 Unarmed and Dodging skills. 60 | |
440 +3 Stealing and Disarm skills. 61 | |
441 +3 ID Item and ID Monster skills. 62 | |
442 Double Damage vs. Elves. 63 | |
443 Double Damage vs. Undead. 64 | |
444 Double Damage vs. Titans. 65 | |
445 Regenerate Spell points and Hit points over time. 66 | |
446 Adds 5 points of Body damage and +2 Disarm skill. 67 | |
447 Adds 6-8 points of Cold damage and +5 Armor Class. 68 | |
448 +20 Air Resistance and Shielding. 69 | |
449 +10 Water Resistance and +2 Alchemy skill. 70 | |
450 Prevents damage from drowning. 71 | |
451 Prevents damage from falling. 72 | |
939 | 452 */ |
453 | |
454 | |
455 /* 391 */ | |
456 #pragma pack(push, 1) | |
457 struct stru351_summoned_item | |
458 { | |
459 int field_0_expire_second; | |
460 int field_4_expire_minute; | |
461 int field_8_expire_hour; | |
462 int field_C_expire_day; | |
463 int field_10_expire_week; | |
464 int field_14_exprie_month; | |
465 int field_18_expire_year; | |
466 }; | |
467 #pragma pack(pop) |