[sql/updates/2008_11_11_01_mangos_db_script_string.sql sql/updates/2008_11_11_02_mang...
[auctionmangos.git] / src / game / SpellAuraDefines.h
blob7b6f72b5c1cfee63ce1f25bd66a931ab0abba9be
1 /*
2 * Copyright (C) 2005-2008 MaNGOS <http://getmangos.com/>
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 #ifndef MANGOS_SPELLAURADEFINES_H
19 #define MANGOS_SPELLAURADEFINES_H
21 #define MAX_AURAS 56
22 #define MAX_POSITIVE_AURAS 40
24 enum AURA_FLAGS
26 AFLAG_NEGATIVE = 0x09,
27 AFLAG_POSITIVE = 0x1F,
28 AFLAG_MASK = 0xFF
31 //m_schoolAbsorb
32 enum DAMAGE_ABSORB_TYPE
34 ALL_DAMAGE_ABSORB = -2,
35 ONLY_MAGIC_ABSORB = -1,
38 enum AuraType
40 SPELL_AURA_NONE = 0,
41 SPELL_AURA_BIND_SIGHT = 1,
42 SPELL_AURA_MOD_POSSESS = 2,
43 SPELL_AURA_PERIODIC_DAMAGE = 3,
44 SPELL_AURA_DUMMY = 4,
45 SPELL_AURA_MOD_CONFUSE = 5,
46 SPELL_AURA_MOD_CHARM = 6,
47 SPELL_AURA_MOD_FEAR = 7,
48 SPELL_AURA_PERIODIC_HEAL = 8,
49 SPELL_AURA_MOD_ATTACKSPEED = 9,
50 SPELL_AURA_MOD_THREAT = 10,
51 SPELL_AURA_MOD_TAUNT = 11,
52 SPELL_AURA_MOD_STUN = 12,
53 SPELL_AURA_MOD_DAMAGE_DONE = 13,
54 SPELL_AURA_MOD_DAMAGE_TAKEN = 14,
55 SPELL_AURA_DAMAGE_SHIELD = 15,
56 SPELL_AURA_MOD_STEALTH = 16,
57 SPELL_AURA_MOD_DETECT = 17,
58 SPELL_AURA_MOD_INVISIBILITY = 18,
59 SPELL_AURA_MOD_INVISIBILITY_DETECTION = 19,
60 SPELL_AURA_OBS_MOD_HEALTH = 20, //20,21 unofficial
61 SPELL_AURA_OBS_MOD_MANA = 21,
62 SPELL_AURA_MOD_RESISTANCE = 22,
63 SPELL_AURA_PERIODIC_TRIGGER_SPELL = 23,
64 SPELL_AURA_PERIODIC_ENERGIZE = 24,
65 SPELL_AURA_MOD_PACIFY = 25,
66 SPELL_AURA_MOD_ROOT = 26,
67 SPELL_AURA_MOD_SILENCE = 27,
68 SPELL_AURA_REFLECT_SPELLS = 28,
69 SPELL_AURA_MOD_STAT = 29,
70 SPELL_AURA_MOD_SKILL = 30,
71 SPELL_AURA_MOD_INCREASE_SPEED = 31,
72 SPELL_AURA_MOD_INCREASE_MOUNTED_SPEED = 32,
73 SPELL_AURA_MOD_DECREASE_SPEED = 33,
74 SPELL_AURA_MOD_INCREASE_HEALTH = 34,
75 SPELL_AURA_MOD_INCREASE_ENERGY = 35,
76 SPELL_AURA_MOD_SHAPESHIFT = 36,
77 SPELL_AURA_EFFECT_IMMUNITY = 37,
78 SPELL_AURA_STATE_IMMUNITY = 38,
79 SPELL_AURA_SCHOOL_IMMUNITY = 39,
80 SPELL_AURA_DAMAGE_IMMUNITY = 40,
81 SPELL_AURA_DISPEL_IMMUNITY = 41,
82 SPELL_AURA_PROC_TRIGGER_SPELL = 42,
83 SPELL_AURA_PROC_TRIGGER_DAMAGE = 43,
84 SPELL_AURA_TRACK_CREATURES = 44,
85 SPELL_AURA_TRACK_RESOURCES = 45,
86 SPELL_AURA_MOD_PARRY_SKILL = 46,
87 SPELL_AURA_MOD_PARRY_PERCENT = 47,
88 SPELL_AURA_MOD_DODGE_SKILL = 48,
89 SPELL_AURA_MOD_DODGE_PERCENT = 49,
90 SPELL_AURA_MOD_BLOCK_SKILL = 50,
91 SPELL_AURA_MOD_BLOCK_PERCENT = 51,
92 SPELL_AURA_MOD_CRIT_PERCENT = 52,
93 SPELL_AURA_PERIODIC_LEECH = 53,
94 SPELL_AURA_MOD_HIT_CHANCE = 54,
95 SPELL_AURA_MOD_SPELL_HIT_CHANCE = 55,
96 SPELL_AURA_TRANSFORM = 56,
97 SPELL_AURA_MOD_SPELL_CRIT_CHANCE = 57,
98 SPELL_AURA_MOD_INCREASE_SWIM_SPEED = 58,
99 SPELL_AURA_MOD_DAMAGE_DONE_CREATURE = 59,
100 SPELL_AURA_MOD_PACIFY_SILENCE = 60,
101 SPELL_AURA_MOD_SCALE = 61,
102 SPELL_AURA_PERIODIC_HEALTH_FUNNEL = 62,
103 SPELL_AURA_PERIODIC_MANA_FUNNEL = 63,
104 SPELL_AURA_PERIODIC_MANA_LEECH = 64,
105 SPELL_AURA_MOD_CASTING_SPEED = 65,
106 SPELL_AURA_FEIGN_DEATH = 66,
107 SPELL_AURA_MOD_DISARM = 67,
108 SPELL_AURA_MOD_STALKED = 68,
109 SPELL_AURA_SCHOOL_ABSORB = 69,
110 SPELL_AURA_EXTRA_ATTACKS = 70,
111 SPELL_AURA_MOD_SPELL_CRIT_CHANCE_SCHOOL = 71,
112 SPELL_AURA_MOD_POWER_COST_SCHOOL_PCT = 72,
113 SPELL_AURA_MOD_POWER_COST_SCHOOL = 73,
114 SPELL_AURA_REFLECT_SPELLS_SCHOOL = 74,
115 SPELL_AURA_MOD_LANGUAGE = 75,
116 SPELL_AURA_FAR_SIGHT = 76,
117 SPELL_AURA_MECHANIC_IMMUNITY = 77,
118 SPELL_AURA_MOUNTED = 78,
119 SPELL_AURA_MOD_DAMAGE_PERCENT_DONE = 79,
120 SPELL_AURA_MOD_PERCENT_STAT = 80,
121 SPELL_AURA_SPLIT_DAMAGE_PCT = 81,
122 SPELL_AURA_WATER_BREATHING = 82,
123 SPELL_AURA_MOD_BASE_RESISTANCE = 83,
124 SPELL_AURA_MOD_REGEN = 84,
125 SPELL_AURA_MOD_POWER_REGEN = 85,
126 SPELL_AURA_CHANNEL_DEATH_ITEM = 86,
127 SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN = 87,
128 SPELL_AURA_MOD_HEALTH_REGEN_PERCENT = 88,
129 SPELL_AURA_PERIODIC_DAMAGE_PERCENT = 89,
130 SPELL_AURA_MOD_RESIST_CHANCE = 90,
131 SPELL_AURA_MOD_DETECT_RANGE = 91,
132 SPELL_AURA_PREVENTS_FLEEING = 92,
133 SPELL_AURA_MOD_UNATTACKABLE = 93,
134 SPELL_AURA_INTERRUPT_REGEN = 94,
135 SPELL_AURA_GHOST = 95,
136 SPELL_AURA_SPELL_MAGNET = 96,
137 SPELL_AURA_MANA_SHIELD = 97,
138 SPELL_AURA_MOD_SKILL_TALENT = 98,
139 SPELL_AURA_MOD_ATTACK_POWER = 99,
140 SPELL_AURA_AURAS_VISIBLE = 100,
141 SPELL_AURA_MOD_RESISTANCE_PCT = 101,
142 SPELL_AURA_MOD_MELEE_ATTACK_POWER_VERSUS = 102,
143 SPELL_AURA_MOD_TOTAL_THREAT = 103,
144 SPELL_AURA_WATER_WALK = 104,
145 SPELL_AURA_FEATHER_FALL = 105,
146 SPELL_AURA_HOVER = 106,
147 SPELL_AURA_ADD_FLAT_MODIFIER = 107,
148 SPELL_AURA_ADD_PCT_MODIFIER = 108,
149 SPELL_AURA_ADD_TARGET_TRIGGER = 109,
150 SPELL_AURA_MOD_POWER_REGEN_PERCENT = 110,
151 SPELL_AURA_ADD_CASTER_HIT_TRIGGER = 111,
152 SPELL_AURA_OVERRIDE_CLASS_SCRIPTS = 112,
153 SPELL_AURA_MOD_RANGED_DAMAGE_TAKEN = 113,
154 SPELL_AURA_MOD_RANGED_DAMAGE_TAKEN_PCT = 114,
155 SPELL_AURA_MOD_HEALING = 115,
156 SPELL_AURA_MOD_REGEN_DURING_COMBAT = 116,
157 SPELL_AURA_MOD_MECHANIC_RESISTANCE = 117,
158 SPELL_AURA_MOD_HEALING_PCT = 118,
159 SPELL_AURA_SHARE_PET_TRACKING = 119,
160 SPELL_AURA_UNTRACKABLE = 120,
161 SPELL_AURA_EMPATHY = 121,
162 SPELL_AURA_MOD_OFFHAND_DAMAGE_PCT = 122,
163 SPELL_AURA_MOD_TARGET_RESISTANCE = 123,
164 SPELL_AURA_MOD_RANGED_ATTACK_POWER = 124,
165 SPELL_AURA_MOD_MELEE_DAMAGE_TAKEN = 125,
166 SPELL_AURA_MOD_MELEE_DAMAGE_TAKEN_PCT = 126,
167 SPELL_AURA_RANGED_ATTACK_POWER_ATTACKER_BONUS = 127,
168 SPELL_AURA_MOD_POSSESS_PET = 128,
169 SPELL_AURA_MOD_SPEED_ALWAYS = 129,
170 SPELL_AURA_MOD_MOUNTED_SPEED_ALWAYS = 130,
171 SPELL_AURA_MOD_RANGED_ATTACK_POWER_VERSUS = 131,
172 SPELL_AURA_MOD_INCREASE_ENERGY_PERCENT = 132,
173 SPELL_AURA_MOD_INCREASE_HEALTH_PERCENT = 133,
174 SPELL_AURA_MOD_MANA_REGEN_INTERRUPT = 134,
175 SPELL_AURA_MOD_HEALING_DONE = 135,
176 SPELL_AURA_MOD_HEALING_DONE_PERCENT = 136,
177 SPELL_AURA_MOD_TOTAL_STAT_PERCENTAGE = 137,
178 SPELL_AURA_MOD_HASTE = 138,
179 SPELL_AURA_FORCE_REACTION = 139,
180 SPELL_AURA_MOD_RANGED_HASTE = 140,
181 SPELL_AURA_MOD_RANGED_AMMO_HASTE = 141,
182 SPELL_AURA_MOD_BASE_RESISTANCE_PCT = 142,
183 SPELL_AURA_MOD_RESISTANCE_EXCLUSIVE = 143,
184 SPELL_AURA_SAFE_FALL = 144,
185 SPELL_AURA_CHARISMA = 145,
186 SPELL_AURA_PERSUADED = 146,
187 SPELL_AURA_ADD_CREATURE_IMMUNITY = 147,
188 SPELL_AURA_RETAIN_COMBO_POINTS = 148,
189 SPELL_AURA_RESIST_PUSHBACK = 149, // Resist Pushback
190 SPELL_AURA_MOD_SHIELD_BLOCKVALUE_PCT = 150,
191 SPELL_AURA_TRACK_STEALTHED = 151, // Track Stealthed
192 SPELL_AURA_MOD_DETECTED_RANGE = 152, // Mod Detected Range
193 SPELL_AURA_SPLIT_DAMAGE_FLAT = 153, // Split Damage Flat
194 SPELL_AURA_MOD_STEALTH_LEVEL = 154, // Stealth Level Modifier
195 SPELL_AURA_MOD_WATER_BREATHING = 155, // Mod Water Breathing
196 SPELL_AURA_MOD_REPUTATION_GAIN = 156, // Mod Reputation Gain
197 SPELL_AURA_PET_DAMAGE_MULTI = 157, // Mod Pet Damage
198 SPELL_AURA_MOD_SHIELD_BLOCKVALUE = 158,
199 SPELL_AURA_NO_PVP_CREDIT = 159,
200 SPELL_AURA_MOD_AOE_AVOIDANCE = 160,
201 SPELL_AURA_MOD_HEALTH_REGEN_IN_COMBAT = 161,
202 SPELL_AURA_POWER_BURN_MANA = 162,
203 SPELL_AURA_MOD_CRIT_DAMAGE_BONUS_MELEE = 163,
204 SPELL_AURA_164 = 164,
205 SPELL_AURA_MELEE_ATTACK_POWER_ATTACKER_BONUS = 165,
206 SPELL_AURA_MOD_ATTACK_POWER_PCT = 166,
207 SPELL_AURA_MOD_RANGED_ATTACK_POWER_PCT = 167,
208 SPELL_AURA_MOD_DAMAGE_DONE_VERSUS = 168,
209 SPELL_AURA_MOD_CRIT_PERCENT_VERSUS = 169,
210 SPELL_AURA_DETECT_AMORE = 170,
211 SPELL_AURA_MOD_SPEED_NOT_STACK = 171,
212 SPELL_AURA_MOD_MOUNTED_SPEED_NOT_STACK = 172,
213 SPELL_AURA_ALLOW_CHAMPION_SPELLS = 173,
214 SPELL_AURA_MOD_SPELL_DAMAGE_OF_STAT_PERCENT = 174, // by defeult intelect, dependent from SPELL_AURA_MOD_SPELL_HEALING_OF_STAT_PERCENT
215 SPELL_AURA_MOD_SPELL_HEALING_OF_STAT_PERCENT = 175,
216 SPELL_AURA_SPIRIT_OF_REDEMPTION = 176,
217 SPELL_AURA_AOE_CHARM = 177,
218 SPELL_AURA_MOD_DEBUFF_RESISTANCE = 178,
219 SPELL_AURA_MOD_ATTACKER_SPELL_CRIT_CHANCE = 179,
220 SPELL_AURA_MOD_FLAT_SPELL_DAMAGE_VERSUS = 180,
221 SPELL_AURA_MOD_FLAT_SPELL_CRIT_DAMAGE_VERSUS = 181, // unused - possible flat spell crit damage versus
222 SPELL_AURA_MOD_RESISTANCE_OF_STAT_PERCENT = 182,
223 SPELL_AURA_MOD_CRITICAL_THREAT = 183,
224 SPELL_AURA_MOD_ATTACKER_MELEE_HIT_CHANCE = 184,
225 SPELL_AURA_MOD_ATTACKER_RANGED_HIT_CHANCE= 185,
226 SPELL_AURA_MOD_ATTACKER_SPELL_HIT_CHANCE = 186,
227 SPELL_AURA_MOD_ATTACKER_MELEE_CRIT_CHANCE = 187,
228 SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_CHANCE = 188,
229 SPELL_AURA_MOD_RATING = 189,
230 SPELL_AURA_MOD_FACTION_REPUTATION_GAIN = 190,
231 SPELL_AURA_USE_NORMAL_MOVEMENT_SPEED = 191,
232 SPELL_AURA_HASTE_MELEE = 192,
233 SPELL_AURA_MELEE_SLOW = 193,
234 SPELL_AURA_MOD_DEPRICATED_1 = 194, // not used now, old SPELL_AURA_MOD_SPELL_DAMAGE_OF_INTELLECT
235 SPELL_AURA_MOD_DEPRICATED_2 = 195, // not used now, old SPELL_AURA_MOD_SPELL_HEALING_OF_INTELLECT
236 SPELL_AURA_MOD_COOLDOWN = 196, // only 24818 Noxious Breath
237 SPELL_AURA_MOD_ATTACKER_SPELL_AND_WEAPON_CRIT_CHANCE = 197,
238 SPELL_AURA_MOD_ALL_WEAPON_SKILLS = 198,
239 SPELL_AURA_MOD_INCREASES_SPELL_PCT_TO_HIT = 199,
240 SPELL_AURA_MOD_XP_PCT = 200,
241 SPELL_AURA_FLY = 201,
242 SPELL_AURA_IGNORE_COMBAT_RESULT = 202,
243 SPELL_AURA_MOD_ATTACKER_MELEE_CRIT_DAMAGE = 203,
244 SPELL_AURA_MOD_ATTACKER_RANGED_CRIT_DAMAGE = 204,
245 SPELL_AURA_205 = 205, // unused
246 SPELL_AURA_MOD_SPEED_MOUNTED = 206, // ? used in strange spells
247 SPELL_AURA_MOD_INCREASE_FLIGHT_SPEED = 207,
248 SPELL_AURA_MOD_SPEED_FLIGHT = 208,
249 SPELL_AURA_MOD_FLIGHT_SPEED_ALWAYS = 209,
250 SPELL_AURA_210 = 210, // unused
251 SPELL_AURA_MOD_FLIGHT_SPEED_NOT_STACK = 211,
252 SPELL_AURA_MOD_RANGED_ATTACK_POWER_OF_STAT_PERCENT = 212,
253 SPELL_AURA_MOD_RAGE_FROM_DAMAGE_DEALT = 213,
254 SPELL_AURA_214 = 214,
255 SPELL_AURA_ARENA_PREPARATION = 215,
256 SPELL_AURA_HASTE_SPELLS = 216,
257 SPELL_AURA_217 = 217,
258 SPELL_AURA_HASTE_RANGED = 218,
259 SPELL_AURA_MOD_MANA_REGEN_FROM_STAT = 219,
260 SPELL_AURA_MOD_RATING_FROM_STAT = 220,
261 SPELL_AURA_221 = 221,
262 SPELL_AURA_222 = 222,
263 SPELL_AURA_223 = 223,
264 SPELL_AURA_224 = 224,
265 SPELL_AURA_PRAYER_OF_MENDING = 225,
266 SPELL_AURA_PERIODIC_DUMMY = 226,
267 SPELL_AURA_227 = 227,
268 SPELL_AURA_DETECT_STEALTH = 228,
269 SPELL_AURA_MOD_AOE_DAMAGE_AVOIDANCE = 229,
270 SPELL_AURA_230 = 230,
271 SPELL_AURA_231 = 231,
272 SPELL_AURA_MECHANIC_DURATION_MOD = 232,
273 SPELL_AURA_233 = 233,
274 SPELL_AURA_MECHANIC_DURATION_MOD_NOT_STACK = 234,
275 SPELL_AURA_MOD_DISPEL_RESIST = 235,
276 SPELL_AURA_236 = 236,
277 SPELL_AURA_MOD_SPELL_DAMAGE_OF_ATTACK_POWER = 237,
278 SPELL_AURA_MOD_SPELL_HEALING_OF_ATTACK_POWER = 238,
279 SPELL_AURA_MOD_SCALE_2 = 239,
280 SPELL_AURA_MOD_EXPERTISE = 240,
281 SPELL_AURA_FORCE_MOVE_FORWARD = 241,
282 SPELL_AURA_MOD_SPELL_DAMAGE_FROM_HEALING = 242,
283 SPELL_AURA_243 = 243,
284 SPELL_AURA_COMPREHEND_LANGUAGE = 244,
285 SPELL_AURA_MOD_DURATION_OF_MAGIC_EFFECTS = 245,
286 SPELL_AURA_246 = 246,
287 SPELL_AURA_247 = 247,
288 SPELL_AURA_MOD_COMBAT_RESULT_CHANCE = 248,
289 SPELL_AURA_249 = 249,
290 SPELL_AURA_MOD_INCREASE_HEALTH_2 = 250,
291 SPELL_AURA_MOD_ENEMY_DODGE = 251,
292 SPELL_AURA_252 = 252,
293 SPELL_AURA_253 = 253,
294 SPELL_AURA_254 = 254,
295 SPELL_AURA_255 = 255,
296 SPELL_AURA_256 = 256,
297 SPELL_AURA_257 = 257,
298 SPELL_AURA_258 = 258,
299 SPELL_AURA_259 = 259,
300 SPELL_AURA_260 = 260,
301 SPELL_AURA_261 = 261,
302 TOTAL_AURAS=262
305 enum AreaAuraType
307 AREA_AURA_PARTY,
308 AREA_AURA_FRIEND,
309 AREA_AURA_ENEMY,
310 AREA_AURA_PET,
311 AREA_AURA_OWNER
313 #endif