AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
SpellDefines.h File Reference
#include "Define.h"
#include <vector>

Go to the source code of this file.

Classes

class  CustomSpellValues
 
struct  SpellImmune
 

Macros

#define MAX_SPELLMOD   32
 

Typedefs

typedef std::pair< SpellValueMod, int32CustomSpellValueMod
 
typedef std::vector< SpellImmuneSpellImmuneList
 

Enumerations

enum  SpellInterruptFlags {
  SPELL_INTERRUPT_FLAG_MOVEMENT = 0x01 ,
  SPELL_INTERRUPT_FLAG_PUSH_BACK = 0x02 ,
  SPELL_INTERRUPT_FLAG_UNK3 = 0x04 ,
  SPELL_INTERRUPT_FLAG_INTERRUPT = 0x08 ,
  SPELL_INTERRUPT_FLAG_ABORT_ON_DMG = 0x10
}
 
enum  SpellChannelInterruptFlags {
  CHANNEL_INTERRUPT_FLAG_INTERRUPT = 0x08 ,
  CHANNEL_FLAG_DELAY = 0x4000
}
 
enum  SpellAuraInterruptFlags {
  AURA_INTERRUPT_FLAG_HITBYSPELL = 0x00000001 ,
  AURA_INTERRUPT_FLAG_TAKE_DAMAGE = 0x00000002 ,
  AURA_INTERRUPT_FLAG_CAST = 0x00000004 ,
  AURA_INTERRUPT_FLAG_MOVE = 0x00000008 ,
  AURA_INTERRUPT_FLAG_TURNING = 0x00000010 ,
  AURA_INTERRUPT_FLAG_JUMP = 0x00000020 ,
  AURA_INTERRUPT_FLAG_NOT_MOUNTED = 0x00000040 ,
  AURA_INTERRUPT_FLAG_NOT_ABOVEWATER = 0x00000080 ,
  AURA_INTERRUPT_FLAG_NOT_UNDERWATER = 0x00000100 ,
  AURA_INTERRUPT_FLAG_NOT_SHEATHED = 0x00000200 ,
  AURA_INTERRUPT_FLAG_TALK = 0x00000400 ,
  AURA_INTERRUPT_FLAG_USE = 0x00000800 ,
  AURA_INTERRUPT_FLAG_MELEE_ATTACK = 0x00001000 ,
  AURA_INTERRUPT_FLAG_SPELL_ATTACK = 0x00002000 ,
  AURA_INTERRUPT_FLAG_UNK14 = 0x00004000 ,
  AURA_INTERRUPT_FLAG_TRANSFORM = 0x00008000 ,
  AURA_INTERRUPT_FLAG_UNK16 = 0x00010000 ,
  AURA_INTERRUPT_FLAG_MOUNT = 0x00020000 ,
  AURA_INTERRUPT_FLAG_NOT_SEATED = 0x00040000 ,
  AURA_INTERRUPT_FLAG_CHANGE_MAP = 0x00080000 ,
  AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION = 0x00100000 ,
  AURA_INTERRUPT_FLAG_UNK21 = 0x00200000 ,
  AURA_INTERRUPT_FLAG_TELEPORTED = 0x00400000 ,
  AURA_INTERRUPT_FLAG_ENTER_PVP_COMBAT = 0x00800000 ,
  AURA_INTERRUPT_FLAG_DIRECT_DAMAGE = 0x01000000 ,
  AURA_INTERRUPT_FLAG_LANDING = 0x02000000 ,
  AURA_INTERRUPT_FLAG_LEAVE_COMBAT = 0x80000000 ,
  AURA_INTERRUPT_FLAG_NOT_VICTIM = (AURA_INTERRUPT_FLAG_HITBYSPELL | AURA_INTERRUPT_FLAG_TAKE_DAMAGE | AURA_INTERRUPT_FLAG_DIRECT_DAMAGE)
}
 
enum  SpellModOp {
  SPELLMOD_DAMAGE = 0 ,
  SPELLMOD_DURATION = 1 ,
  SPELLMOD_THREAT = 2 ,
  SPELLMOD_EFFECT1 = 3 ,
  SPELLMOD_CHARGES = 4 ,
  SPELLMOD_RANGE = 5 ,
  SPELLMOD_RADIUS = 6 ,
  SPELLMOD_CRITICAL_CHANCE = 7 ,
  SPELLMOD_ALL_EFFECTS = 8 ,
  SPELLMOD_NOT_LOSE_CASTING_TIME = 9 ,
  SPELLMOD_CASTING_TIME = 10 ,
  SPELLMOD_COOLDOWN = 11 ,
  SPELLMOD_EFFECT2 = 12 ,
  SPELLMOD_IGNORE_ARMOR = 13 ,
  SPELLMOD_COST = 14 ,
  SPELLMOD_CRIT_DAMAGE_BONUS = 15 ,
  SPELLMOD_RESIST_MISS_CHANCE = 16 ,
  SPELLMOD_JUMP_TARGETS = 17 ,
  SPELLMOD_CHANCE_OF_SUCCESS = 18 ,
  SPELLMOD_ACTIVATION_TIME = 19 ,
  SPELLMOD_DAMAGE_MULTIPLIER = 20 ,
  SPELLMOD_GLOBAL_COOLDOWN = 21 ,
  SPELLMOD_DOT = 22 ,
  SPELLMOD_EFFECT3 = 23 ,
  SPELLMOD_BONUS_MULTIPLIER = 24 ,
  SPELLMOD_PROC_PER_MINUTE = 26 ,
  SPELLMOD_VALUE_MULTIPLIER = 27 ,
  SPELLMOD_RESIST_DISPEL_CHANCE = 28 ,
  SPELLMOD_CRIT_DAMAGE_BONUS_2 = 29 ,
  SPELLMOD_SPELL_COST_REFUND_ON_FAIL = 30
}
 
enum  SpellValueMod {
  SPELLVALUE_BASE_POINT0 ,
  SPELLVALUE_BASE_POINT1 ,
  SPELLVALUE_BASE_POINT2 ,
  SPELLVALUE_RADIUS_MOD ,
  SPELLVALUE_MAX_TARGETS ,
  SPELLVALUE_AURA_STACK ,
  SPELLVALUE_AURA_DURATION ,
  SPELLVALUE_FORCED_CRIT_RESULT ,
  SPELLVALUE_MISCVALUE0 ,
  SPELLVALUE_MISCVALUE1 ,
  SPELLVALUE_MISCVALUE2
}
 
enum  SpellFacingFlags { SPELL_FACING_FLAG_INFRONT = 0x0001 }
 
enum  TriggerCastFlags {
  TRIGGERED_NONE = 0x00000000 ,
  TRIGGERED_IGNORE_GCD = 0x00000001 ,
  TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD = 0x00000002 ,
  TRIGGERED_IGNORE_POWER_AND_REAGENT_COST = 0x00000004 ,
  TRIGGERED_IGNORE_CAST_ITEM = 0x00000008 ,
  TRIGGERED_IGNORE_AURA_SCALING = 0x00000010 ,
  TRIGGERED_IGNORE_CAST_IN_PROGRESS = 0x00000020 ,
  TRIGGERED_IGNORE_COMBO_POINTS = 0x00000040 ,
  TRIGGERED_CAST_DIRECTLY = 0x00000080 ,
  TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS = 0x00000100 ,
  TRIGGERED_IGNORE_SET_FACING = 0x00000200 ,
  TRIGGERED_IGNORE_SHAPESHIFT = 0x00000400 ,
  TRIGGERED_IGNORE_CASTER_AURASTATE = 0x00000800 ,
  TRIGGERED_IGNORE_CASTER_MOUNTED_OR_ON_VEHICLE = 0x00002000 ,
  TRIGGERED_IGNORE_CASTER_AURAS = 0x00010000 ,
  TRIGGERED_DISALLOW_PROC_EVENTS = 0x00020000 ,
  TRIGGERED_DONT_REPORT_CAST_ERROR = 0x00040000 ,
  TRIGGERED_FULL_MASK = 0x0007FFFF ,
  TRIGGERED_IGNORE_EQUIPPED_ITEM_REQUIREMENT = 0x00080000 ,
  TRIGGERED_NO_PERIODIC_RESET = 0x00100000 ,
  TRIGGERED_IGNORE_EFFECTS = 0x00200000 ,
  TRIGGERED_FULL_DEBUG_MASK = 0xFFFFFFFF
}
 
enum  SpellImmuneBlockType {
  SPELL_BLOCK_TYPE_ALL = 0 ,
  SPELL_BLOCK_TYPE_POSITIVE = 1
}
 

Macro Definition Documentation

◆ MAX_SPELLMOD

#define MAX_SPELLMOD   32

Typedef Documentation

◆ CustomSpellValueMod

◆ SpellImmuneList

typedef std::vector<SpellImmune> SpellImmuneList

Enumeration Type Documentation

◆ SpellAuraInterruptFlags

Enumerator
AURA_INTERRUPT_FLAG_HITBYSPELL 
AURA_INTERRUPT_FLAG_TAKE_DAMAGE 
AURA_INTERRUPT_FLAG_CAST 
AURA_INTERRUPT_FLAG_MOVE 
AURA_INTERRUPT_FLAG_TURNING 
AURA_INTERRUPT_FLAG_JUMP 
AURA_INTERRUPT_FLAG_NOT_MOUNTED 
AURA_INTERRUPT_FLAG_NOT_ABOVEWATER 
AURA_INTERRUPT_FLAG_NOT_UNDERWATER 
AURA_INTERRUPT_FLAG_NOT_SHEATHED 
AURA_INTERRUPT_FLAG_TALK 
AURA_INTERRUPT_FLAG_USE 
AURA_INTERRUPT_FLAG_MELEE_ATTACK 
AURA_INTERRUPT_FLAG_SPELL_ATTACK 
AURA_INTERRUPT_FLAG_UNK14 
AURA_INTERRUPT_FLAG_TRANSFORM 
AURA_INTERRUPT_FLAG_UNK16 
AURA_INTERRUPT_FLAG_MOUNT 
AURA_INTERRUPT_FLAG_NOT_SEATED 
AURA_INTERRUPT_FLAG_CHANGE_MAP 
AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION 
AURA_INTERRUPT_FLAG_UNK21 
AURA_INTERRUPT_FLAG_TELEPORTED 
AURA_INTERRUPT_FLAG_ENTER_PVP_COMBAT 
AURA_INTERRUPT_FLAG_DIRECT_DAMAGE 
AURA_INTERRUPT_FLAG_LANDING 
AURA_INTERRUPT_FLAG_LEAVE_COMBAT 
AURA_INTERRUPT_FLAG_NOT_VICTIM 
42{
43 AURA_INTERRUPT_FLAG_HITBYSPELL = 0x00000001, // 0 removed when getting hit by a negative spell?
44 AURA_INTERRUPT_FLAG_TAKE_DAMAGE = 0x00000002, // 1 removed by any damage
45 AURA_INTERRUPT_FLAG_CAST = 0x00000004, // 2 cast any spells
46 AURA_INTERRUPT_FLAG_MOVE = 0x00000008, // 3 removed by any movement
47 AURA_INTERRUPT_FLAG_TURNING = 0x00000010, // 4 removed by any turning
48 AURA_INTERRUPT_FLAG_JUMP = 0x00000020, // 5 removed by entering combat
49 AURA_INTERRUPT_FLAG_NOT_MOUNTED = 0x00000040, // 6 removed by dismounting
50 AURA_INTERRUPT_FLAG_NOT_ABOVEWATER = 0x00000080, // 7 removed by entering water
51 AURA_INTERRUPT_FLAG_NOT_UNDERWATER = 0x00000100, // 8 removed by leaving water
52 AURA_INTERRUPT_FLAG_NOT_SHEATHED = 0x00000200, // 9 removed by unsheathing
53 AURA_INTERRUPT_FLAG_TALK = 0x00000400, // 10 talk to npc / loot? action on creature
54 AURA_INTERRUPT_FLAG_USE = 0x00000800, // 11 mine/use/open action on gameobject
55 AURA_INTERRUPT_FLAG_MELEE_ATTACK = 0x00001000, // 12 removed by attacking
56 AURA_INTERRUPT_FLAG_SPELL_ATTACK = 0x00002000, // 13 ???
57 AURA_INTERRUPT_FLAG_UNK14 = 0x00004000, // 14
58 AURA_INTERRUPT_FLAG_TRANSFORM = 0x00008000, // 15 removed by transform?
59 AURA_INTERRUPT_FLAG_UNK16 = 0x00010000, // 16
60 AURA_INTERRUPT_FLAG_MOUNT = 0x00020000, // 17 misdirect, aspect, swim speed
61 AURA_INTERRUPT_FLAG_NOT_SEATED = 0x00040000, // 18 removed by standing up (used by food and drink mostly and sleep/Fake Death like)
62 AURA_INTERRUPT_FLAG_CHANGE_MAP = 0x00080000, // 19 leaving map/getting teleported
63 AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION = 0x00100000, // 20 removed by auras that make you invulnerable, or make other to lose selection on you
64 AURA_INTERRUPT_FLAG_UNK21 = 0x00200000, // 21
65 AURA_INTERRUPT_FLAG_TELEPORTED = 0x00400000, // 22
66 AURA_INTERRUPT_FLAG_ENTER_PVP_COMBAT = 0x00800000, // 23 removed by entering pvp combat
67 AURA_INTERRUPT_FLAG_DIRECT_DAMAGE = 0x01000000, // 24 removed by any direct damage
68 AURA_INTERRUPT_FLAG_LANDING = 0x02000000, // 25 removed by hitting the ground
69 AURA_INTERRUPT_FLAG_LEAVE_COMBAT = 0x80000000, // 31 removed by leaving combat
70
72};
@ AURA_INTERRUPT_FLAG_TAKE_DAMAGE
Definition: SpellDefines.h:44
@ AURA_INTERRUPT_FLAG_SPELL_ATTACK
Definition: SpellDefines.h:56
@ AURA_INTERRUPT_FLAG_TELEPORTED
Definition: SpellDefines.h:65
@ AURA_INTERRUPT_FLAG_CAST
Definition: SpellDefines.h:45
@ AURA_INTERRUPT_FLAG_NOT_SHEATHED
Definition: SpellDefines.h:52
@ AURA_INTERRUPT_FLAG_UNK21
Definition: SpellDefines.h:64
@ AURA_INTERRUPT_FLAG_NOT_VICTIM
Definition: SpellDefines.h:71
@ AURA_INTERRUPT_FLAG_DIRECT_DAMAGE
Definition: SpellDefines.h:67
@ AURA_INTERRUPT_FLAG_UNK14
Definition: SpellDefines.h:57
@ AURA_INTERRUPT_FLAG_IMMUNE_OR_LOST_SELECTION
Definition: SpellDefines.h:63
@ AURA_INTERRUPT_FLAG_USE
Definition: SpellDefines.h:54
@ AURA_INTERRUPT_FLAG_TALK
Definition: SpellDefines.h:53
@ AURA_INTERRUPT_FLAG_HITBYSPELL
Definition: SpellDefines.h:43
@ AURA_INTERRUPT_FLAG_MOVE
Definition: SpellDefines.h:46
@ AURA_INTERRUPT_FLAG_TURNING
Definition: SpellDefines.h:47
@ AURA_INTERRUPT_FLAG_JUMP
Definition: SpellDefines.h:48
@ AURA_INTERRUPT_FLAG_NOT_ABOVEWATER
Definition: SpellDefines.h:50
@ AURA_INTERRUPT_FLAG_NOT_SEATED
Definition: SpellDefines.h:61
@ AURA_INTERRUPT_FLAG_NOT_UNDERWATER
Definition: SpellDefines.h:51
@ AURA_INTERRUPT_FLAG_MELEE_ATTACK
Definition: SpellDefines.h:55
@ AURA_INTERRUPT_FLAG_LEAVE_COMBAT
Definition: SpellDefines.h:69
@ AURA_INTERRUPT_FLAG_TRANSFORM
Definition: SpellDefines.h:58
@ AURA_INTERRUPT_FLAG_UNK16
Definition: SpellDefines.h:59
@ AURA_INTERRUPT_FLAG_ENTER_PVP_COMBAT
Definition: SpellDefines.h:66
@ AURA_INTERRUPT_FLAG_CHANGE_MAP
Definition: SpellDefines.h:62
@ AURA_INTERRUPT_FLAG_MOUNT
Definition: SpellDefines.h:60
@ AURA_INTERRUPT_FLAG_LANDING
Definition: SpellDefines.h:68
@ AURA_INTERRUPT_FLAG_NOT_MOUNTED
Definition: SpellDefines.h:49

◆ SpellChannelInterruptFlags

Enumerator
CHANNEL_INTERRUPT_FLAG_INTERRUPT 
CHANNEL_FLAG_DELAY 
36{
37 CHANNEL_INTERRUPT_FLAG_INTERRUPT = 0x08, // interrupt
38 CHANNEL_FLAG_DELAY = 0x4000
39};
@ CHANNEL_FLAG_DELAY
Definition: SpellDefines.h:38
@ CHANNEL_INTERRUPT_FLAG_INTERRUPT
Definition: SpellDefines.h:37

◆ SpellFacingFlags

Enumerator
SPELL_FACING_FLAG_INFRONT 
127{
129};
@ SPELL_FACING_FLAG_INFRONT
Definition: SpellDefines.h:128

◆ SpellImmuneBlockType

Enumerator
SPELL_BLOCK_TYPE_ALL 
SPELL_BLOCK_TYPE_POSITIVE 
158{
161};
@ SPELL_BLOCK_TYPE_ALL
Definition: SpellDefines.h:159
@ SPELL_BLOCK_TYPE_POSITIVE
Definition: SpellDefines.h:160

◆ SpellInterruptFlags

Enumerator
SPELL_INTERRUPT_FLAG_MOVEMENT 
SPELL_INTERRUPT_FLAG_PUSH_BACK 
SPELL_INTERRUPT_FLAG_UNK3 
SPELL_INTERRUPT_FLAG_INTERRUPT 
SPELL_INTERRUPT_FLAG_ABORT_ON_DMG 
25{
26 SPELL_INTERRUPT_FLAG_MOVEMENT = 0x01, // why need this for instant?
27 SPELL_INTERRUPT_FLAG_PUSH_BACK = 0x02, // push back
28 SPELL_INTERRUPT_FLAG_UNK3 = 0x04, // any info?
29 SPELL_INTERRUPT_FLAG_INTERRUPT = 0x08, // interrupt
30 SPELL_INTERRUPT_FLAG_ABORT_ON_DMG = 0x10, // _complete_ interrupt on direct damage
31 //SPELL_INTERRUPT_UNK = 0x20 // unk, 564 of 727 spells having this spell start with "Glyph"
32};
@ SPELL_INTERRUPT_FLAG_UNK3
Definition: SpellDefines.h:28
@ SPELL_INTERRUPT_FLAG_ABORT_ON_DMG
Definition: SpellDefines.h:30
@ SPELL_INTERRUPT_FLAG_PUSH_BACK
Definition: SpellDefines.h:27
@ SPELL_INTERRUPT_FLAG_INTERRUPT
Definition: SpellDefines.h:29
@ SPELL_INTERRUPT_FLAG_MOVEMENT
Definition: SpellDefines.h:26

◆ SpellModOp

enum SpellModOp
Enumerator
SPELLMOD_DAMAGE 
SPELLMOD_DURATION 
SPELLMOD_THREAT 
SPELLMOD_EFFECT1 
SPELLMOD_CHARGES 
SPELLMOD_RANGE 
SPELLMOD_RADIUS 
SPELLMOD_CRITICAL_CHANCE 
SPELLMOD_ALL_EFFECTS 
SPELLMOD_NOT_LOSE_CASTING_TIME 
SPELLMOD_CASTING_TIME 
SPELLMOD_COOLDOWN 
SPELLMOD_EFFECT2 
SPELLMOD_IGNORE_ARMOR 
SPELLMOD_COST 
SPELLMOD_CRIT_DAMAGE_BONUS 
SPELLMOD_RESIST_MISS_CHANCE 
SPELLMOD_JUMP_TARGETS 
SPELLMOD_CHANCE_OF_SUCCESS 
SPELLMOD_ACTIVATION_TIME 
SPELLMOD_DAMAGE_MULTIPLIER 
SPELLMOD_GLOBAL_COOLDOWN 
SPELLMOD_DOT 
SPELLMOD_EFFECT3 
SPELLMOD_BONUS_MULTIPLIER 
SPELLMOD_PROC_PER_MINUTE 
SPELLMOD_VALUE_MULTIPLIER 
SPELLMOD_RESIST_DISPEL_CHANCE 
SPELLMOD_CRIT_DAMAGE_BONUS_2 
SPELLMOD_SPELL_COST_REFUND_ON_FAIL 
75{
90 SPELLMOD_COST = 14,
98 SPELLMOD_DOT = 22,
101 // spellmod 25
105 SPELLMOD_CRIT_DAMAGE_BONUS_2 = 29, //one not used spell
107};
@ SPELLMOD_RANGE
Definition: SpellDefines.h:81
@ SPELLMOD_EFFECT2
Definition: SpellDefines.h:88
@ SPELLMOD_DAMAGE
Definition: SpellDefines.h:76
@ SPELLMOD_CHANCE_OF_SUCCESS
Definition: SpellDefines.h:94
@ SPELLMOD_CRIT_DAMAGE_BONUS
Definition: SpellDefines.h:91
@ SPELLMOD_DOT
Definition: SpellDefines.h:98
@ SPELLMOD_NOT_LOSE_CASTING_TIME
Definition: SpellDefines.h:85
@ SPELLMOD_ALL_EFFECTS
Definition: SpellDefines.h:84
@ SPELLMOD_CRITICAL_CHANCE
Definition: SpellDefines.h:83
@ SPELLMOD_CRIT_DAMAGE_BONUS_2
Definition: SpellDefines.h:105
@ SPELLMOD_BONUS_MULTIPLIER
Definition: SpellDefines.h:100
@ SPELLMOD_EFFECT3
Definition: SpellDefines.h:99
@ SPELLMOD_SPELL_COST_REFUND_ON_FAIL
Definition: SpellDefines.h:106
@ SPELLMOD_VALUE_MULTIPLIER
Definition: SpellDefines.h:103
@ SPELLMOD_DAMAGE_MULTIPLIER
Definition: SpellDefines.h:96
@ SPELLMOD_GLOBAL_COOLDOWN
Definition: SpellDefines.h:97
@ SPELLMOD_PROC_PER_MINUTE
Definition: SpellDefines.h:102
@ SPELLMOD_THREAT
Definition: SpellDefines.h:78
@ SPELLMOD_IGNORE_ARMOR
Definition: SpellDefines.h:89
@ SPELLMOD_ACTIVATION_TIME
Definition: SpellDefines.h:95
@ SPELLMOD_COOLDOWN
Definition: SpellDefines.h:87
@ SPELLMOD_EFFECT1
Definition: SpellDefines.h:79
@ SPELLMOD_DURATION
Definition: SpellDefines.h:77
@ SPELLMOD_JUMP_TARGETS
Definition: SpellDefines.h:93
@ SPELLMOD_CASTING_TIME
Definition: SpellDefines.h:86
@ SPELLMOD_CHARGES
Definition: SpellDefines.h:80
@ SPELLMOD_RADIUS
Definition: SpellDefines.h:82
@ SPELLMOD_COST
Definition: SpellDefines.h:90
@ SPELLMOD_RESIST_MISS_CHANCE
Definition: SpellDefines.h:92
@ SPELLMOD_RESIST_DISPEL_CHANCE
Definition: SpellDefines.h:104

◆ SpellValueMod

Enumerator
SPELLVALUE_BASE_POINT0 
SPELLVALUE_BASE_POINT1 
SPELLVALUE_BASE_POINT2 
SPELLVALUE_RADIUS_MOD 
SPELLVALUE_MAX_TARGETS 
SPELLVALUE_AURA_STACK 
SPELLVALUE_AURA_DURATION 
SPELLVALUE_FORCED_CRIT_RESULT 
SPELLVALUE_MISCVALUE0 
SPELLVALUE_MISCVALUE1 
SPELLVALUE_MISCVALUE2 
112{
124};
@ SPELLVALUE_AURA_STACK
Definition: SpellDefines.h:118
@ SPELLVALUE_MISCVALUE1
Definition: SpellDefines.h:122
@ SPELLVALUE_AURA_DURATION
Definition: SpellDefines.h:119
@ SPELLVALUE_BASE_POINT1
Definition: SpellDefines.h:114
@ SPELLVALUE_MISCVALUE2
Definition: SpellDefines.h:123
@ SPELLVALUE_RADIUS_MOD
Definition: SpellDefines.h:116
@ SPELLVALUE_MAX_TARGETS
Definition: SpellDefines.h:117
@ SPELLVALUE_BASE_POINT2
Definition: SpellDefines.h:115
@ SPELLVALUE_FORCED_CRIT_RESULT
Definition: SpellDefines.h:120
@ SPELLVALUE_BASE_POINT0
Definition: SpellDefines.h:113
@ SPELLVALUE_MISCVALUE0
Definition: SpellDefines.h:121

◆ TriggerCastFlags

Enumerator
TRIGGERED_NONE 
TRIGGERED_IGNORE_GCD 

Not triggered.

TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD 

Will ignore GCD.

TRIGGERED_IGNORE_POWER_AND_REAGENT_COST 

Will ignore Spell and Category cooldowns.

TRIGGERED_IGNORE_CAST_ITEM 

Will ignore power and reagent cost.

TRIGGERED_IGNORE_AURA_SCALING 

Will not take away cast item or update related achievement criteria.

TRIGGERED_IGNORE_CAST_IN_PROGRESS 

Will ignore aura scaling.

TRIGGERED_IGNORE_COMBO_POINTS 

Will not check if a current cast is in progress.

TRIGGERED_CAST_DIRECTLY 

Will ignore combo point requirement.

TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS 

In Spell::prepare, will be cast directly without setting containers for executed spell.

TRIGGERED_IGNORE_SET_FACING 

Will ignore interruptible aura's at cast.

TRIGGERED_IGNORE_SHAPESHIFT 

Will not adjust facing to target (if any)

TRIGGERED_IGNORE_CASTER_AURASTATE 

Will ignore shapeshift checks.

TRIGGERED_IGNORE_CASTER_MOUNTED_OR_ON_VEHICLE 

Will ignore caster aura states including combat requirements and death state.

TRIGGERED_IGNORE_CASTER_AURAS 

Will ignore mounted/on vehicle restrictions.

TRIGGERED_DISALLOW_PROC_EVENTS 

Will ignore caster aura restrictions or requirements.

TRIGGERED_DONT_REPORT_CAST_ERROR 

Disallows proc events from triggered spell (default)

TRIGGERED_FULL_MASK 

Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.

TRIGGERED_IGNORE_EQUIPPED_ITEM_REQUIREMENT 

Used when doing CastSpell with triggered == true.

TRIGGERED_NO_PERIODIC_RESET 

Will ignore equipped item requirements.

TRIGGERED_IGNORE_EFFECTS 

Periodic aura tick wont be reset on override.

TRIGGERED_FULL_DEBUG_MASK 

Ignore spell effects - used for ritual portals.

132{
133 TRIGGERED_NONE = 0x00000000,
134 TRIGGERED_IGNORE_GCD = 0x00000001,
137 TRIGGERED_IGNORE_CAST_ITEM = 0x00000008,
138 TRIGGERED_IGNORE_AURA_SCALING = 0x00000010,
140 TRIGGERED_IGNORE_COMBO_POINTS = 0x00000040,
141 TRIGGERED_CAST_DIRECTLY = 0x00000080,
143 TRIGGERED_IGNORE_SET_FACING = 0x00000200,
144 TRIGGERED_IGNORE_SHAPESHIFT = 0x00000400,
147 TRIGGERED_IGNORE_CASTER_AURAS = 0x00010000,
148 TRIGGERED_DISALLOW_PROC_EVENTS = 0x00020000,
150 TRIGGERED_FULL_MASK = 0x0007FFFF,
152 TRIGGERED_NO_PERIODIC_RESET = 0x00100000,
153 TRIGGERED_IGNORE_EFFECTS = 0x00200000,
154 TRIGGERED_FULL_DEBUG_MASK = 0xFFFFFFFF
155};
@ TRIGGERED_IGNORE_EQUIPPED_ITEM_REQUIREMENT
Used when doing CastSpell with triggered == true.
Definition: SpellDefines.h:151
@ TRIGGERED_FULL_MASK
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
Definition: SpellDefines.h:150
@ TRIGGERED_IGNORE_POWER_AND_REAGENT_COST
Will ignore Spell and Category cooldowns.
Definition: SpellDefines.h:136
@ TRIGGERED_NO_PERIODIC_RESET
Will ignore equipped item requirements.
Definition: SpellDefines.h:152
@ TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD
Will ignore GCD.
Definition: SpellDefines.h:135
@ TRIGGERED_CAST_DIRECTLY
Will ignore combo point requirement.
Definition: SpellDefines.h:141
@ TRIGGERED_IGNORE_CASTER_AURASTATE
Will ignore shapeshift checks.
Definition: SpellDefines.h:145
@ TRIGGERED_IGNORE_AURA_SCALING
Will not take away cast item or update related achievement criteria.
Definition: SpellDefines.h:138
@ TRIGGERED_IGNORE_CAST_IN_PROGRESS
Will ignore aura scaling.
Definition: SpellDefines.h:139
@ TRIGGERED_IGNORE_CASTER_MOUNTED_OR_ON_VEHICLE
Will ignore caster aura states including combat requirements and death state.
Definition: SpellDefines.h:146
@ TRIGGERED_IGNORE_SHAPESHIFT
Will not adjust facing to target (if any)
Definition: SpellDefines.h:144
@ TRIGGERED_IGNORE_AURA_INTERRUPT_FLAGS
In Spell::prepare, will be cast directly without setting containers for executed spell.
Definition: SpellDefines.h:142
@ TRIGGERED_IGNORE_CAST_ITEM
Will ignore power and reagent cost.
Definition: SpellDefines.h:137
@ TRIGGERED_IGNORE_COMBO_POINTS
Will not check if a current cast is in progress.
Definition: SpellDefines.h:140
@ TRIGGERED_IGNORE_GCD
Not triggered.
Definition: SpellDefines.h:134
@ TRIGGERED_IGNORE_EFFECTS
Periodic aura tick wont be reset on override.
Definition: SpellDefines.h:153
@ TRIGGERED_DISALLOW_PROC_EVENTS
Will ignore caster aura restrictions or requirements.
Definition: SpellDefines.h:148
@ TRIGGERED_IGNORE_CASTER_AURAS
Will ignore mounted/on vehicle restrictions.
Definition: SpellDefines.h:147
@ TRIGGERED_DONT_REPORT_CAST_ERROR
Disallows proc events from triggered spell (default)
Definition: SpellDefines.h:149
@ TRIGGERED_NONE
Definition: SpellDefines.h:133
@ TRIGGERED_FULL_DEBUG_MASK
Ignore spell effects - used for ritual portals.
Definition: SpellDefines.h:154
@ TRIGGERED_IGNORE_SET_FACING
Will ignore interruptible aura's at cast.
Definition: SpellDefines.h:143