comparison Monsters.h @ 1695:33df22a5e376

Player::ReceiveSpecialAttackEffect finishing cleanup, special attack type enum created
author Grumpy7
date Sun, 22 Sep 2013 10:44:42 +0200
parents 861ede68187a
children 30c2b575d25c
comparison
equal deleted inserted replaced
1694:5ead2688a227 1695:33df22a5e376
80 MONSTER_SUPERTYPE_TREANT = 0x6, 80 MONSTER_SUPERTYPE_TREANT = 0x6,
81 MONSTER_SUPERTYPE_TITAN = 0x7, 81 MONSTER_SUPERTYPE_TITAN = 0x7,
82 MONSTER_SUPERTYPE_8 = 0x8, 82 MONSTER_SUPERTYPE_8 = 0x8,
83 }; 83 };
84 84
85 enum SPECIAL_ATTACK_TYPE : unsigned __int8
86 {
87 SPECIAL_ATTACK_NONE = 0,
88 SPECIAL_ATTACK_CURSE = 1,
89 SPECIAL_ATTACK_WEAK = 2,
90 SPECIAL_ATTACK_SLEEP = 3,
91 SPECIAL_ATTACK_DRUNK = 4,
92 SPECIAL_ATTACK_INSANE = 5,
93 SPECIAL_ATTACK_POISON1 = 6,
94 SPECIAL_ATTACK_POISON2 = 7,
95 SPECIAL_ATTACK_POISON3 = 8,
96 SPECIAL_ATTACK_DISEASE1 = 9,
97 SPECIAL_ATTACK_DISEASE2 = 10,
98 SPECIAL_ATTACK_DISEASE3 = 11,
99 SPECIAL_ATTACK_PARALYZED = 12,
100 SPECIAL_ATTACK_UNCONSCIOUS = 13,
101 SPECIAL_ATTACK_DEAD = 14,
102 SPECIAL_ATTACK_PETRIFIED = 15,
103 SPECIAL_ATTACK_ERADICATED = 16,
104 SPECIAL_ATTACK_BREAK_ANY = 17,
105 SPECIAL_ATTACK_BREAK_ARMOR = 18,
106 SPECIAL_ATTACK_BREAK_WEAPON = 19,
107 SPECIAL_ATTACK_STEAL = 20,
108 SPECIAL_ATTACK_AGING = 21,
109 SPECIAL_ATTACK_MANA_DRAIN = 22,
110 SPECIAL_ATTACK_FEAR = 23,
111 };
85 112
86 113
87 /* 187 */ 114 /* 187 */
88 #pragma pack(push, 1) 115 #pragma pack(push, 1)
89 struct MonsterInfo 116 struct MonsterInfo
112 unsigned __int8 uFlying; 139 unsigned __int8 uFlying;
113 unsigned __int8 uMovementType; 140 unsigned __int8 uMovementType;
114 unsigned __int8 uAIType; 141 unsigned __int8 uAIType;
115 HostilityRadius uHostilityType; 142 HostilityRadius uHostilityType;
116 char field_12; 143 char field_12;
117 unsigned __int8 uSpecialAttackType; 144 SPECIAL_ATTACK_TYPE uSpecialAttackType;
118 unsigned __int8 uSpecialAttackLevel; 145 unsigned __int8 uSpecialAttackLevel;
119 unsigned __int8 uAttack1Type; 146 unsigned __int8 uAttack1Type;
120 unsigned __int8 uAttack1DamageDiceRolls; 147 unsigned __int8 uAttack1DamageDiceRolls;
121 unsigned __int8 uAttack1DamageDiceSides; 148 unsigned __int8 uAttack1DamageDiceSides;
122 unsigned __int8 uAttack1DamageBonus; 149 unsigned __int8 uAttack1DamageBonus;