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