Mercurial > mm7
comparison Items.h @ 1709:8251e59fd7c1
ITEM_ENCHANTED to ITEM_HARDENED, created helper functions to get params from itemtable for ItemGens
author | Grumpy7 |
---|---|
date | Tue, 24 Sep 2013 07:29:55 +0200 |
parents | f8414042db1f |
children | 845a6503f55c |
comparison
equal
deleted
inserted
replaced
1708:f8414042db1f | 1709:8251e59fd7c1 |
---|---|
28 ITEM_AURA_EFFECT_RED = 0x10,//16 | 28 ITEM_AURA_EFFECT_RED = 0x10,//16 |
29 ITEM_AURA_EFFECT_BLUE = 0x20,//32 | 29 ITEM_AURA_EFFECT_BLUE = 0x20,//32 |
30 ITEM_AURA_EFFECT_GREEN = 0x40,//64 | 30 ITEM_AURA_EFFECT_GREEN = 0x40,//64 |
31 ITEM_AURA_EFFECT_PURPLE = 0x80,//128 | 31 ITEM_AURA_EFFECT_PURPLE = 0x80,//128 |
32 ITEM_STOLEN = 0x100, | 32 ITEM_STOLEN = 0x100, |
33 ITEM_ENCHANTED = 0x200, | 33 ITEM_HARDENED = 0x200, |
34 }; | 34 }; |
35 | 35 |
36 | 36 |
37 enum ITEM_MATERIAL | 37 enum ITEM_MATERIAL |
38 { | 38 { |
241 const char *GetIdentifiedName(); | 241 const char *GetIdentifiedName(); |
242 void UpdateTempBonus(__int64 uTimePlayed); | 242 void UpdateTempBonus(__int64 uTimePlayed); |
243 void Reset(); | 243 void Reset(); |
244 int _439DF3_get_additional_damage(int *a2, bool *vampiyr); | 244 int _439DF3_get_additional_damage(int *a2, bool *vampiyr); |
245 | 245 |
246 | 246 ITEM_EQUIP_TYPE GetItemEquipType(); |
247 unsigned char GetPlayerSkillType(); | |
248 char* GetIconName(); | |
249 unsigned __int8 GetDamageDice(); | |
250 unsigned __int8 GetDamageRoll(); | |
251 unsigned __int8 GetDamageMod(); | |
247 | 252 |
248 int uItemID; //0 | 253 int uItemID; //0 |
249 int uEnchantmentType; //4 | 254 int uEnchantmentType; //4 |
250 int m_enchantmentStrength; //8 | 255 int m_enchantmentStrength; //8 |
251 int uSpecEnchantmentType; // 25 +5 levels //0c | 256 int uSpecEnchantmentType; // 25 +5 levels //0c |