![]() |
TrinityCore
|
#include "Define.h"#include "ObjectGuid.h"#include "Optional.h"#include "Position.h"#include <vector>
Include dependency graph for SpellDefines.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| struct | SpellDestination |
| class | SpellCastTargets |
| struct | CastSpellTargetArg |
| struct | CastSpellExtraArgs |
Namespaces | |
| namespace | WorldPackets |
| namespace | WorldPackets::Spells |
Functions | |
| DEFINE_ENUM_FLAG (TriggerCastFlags) | |
| enum SpellAuraInterruptFlags : uint32 |
Definition at line 60 of file SpellDefines.h.
| enum SpellCastTargetFlags : uint32 |
Definition at line 178 of file SpellDefines.h.
| enum SpellChannelInterruptFlags : uint32 |
| Enumerator | |
|---|---|
| CHANNEL_INTERRUPT_FLAG_INTERRUPT | |
| CHANNEL_FLAG_DELAY | |
Definition at line 54 of file SpellDefines.h.
| enum SpellFacingFlags |
| Enumerator | |
|---|---|
| SPELL_FACING_FLAG_INFRONT | |
Definition at line 141 of file SpellDefines.h.
| enum SpellInterruptFlags : uint32 |
| Enumerator | |
|---|---|
| SPELL_INTERRUPT_FLAG_MOVEMENT | |
| SPELL_INTERRUPT_FLAG_PUSH_BACK | |
| SPELL_INTERRUPT_FLAG_UNK3 | |
| SPELL_INTERRUPT_FLAG_INTERRUPT | |
| SPELL_INTERRUPT_FLAG_ABORT_ON_DMG | |
Definition at line 43 of file SpellDefines.h.
| enum SpellModOp : uint8 |
Definition at line 93 of file SpellDefines.h.
| enum SpellValueMod : uint8 |
| Enumerator | |
|---|---|
| SPELLVALUE_BASE_POINT0 | |
| SPELLVALUE_BASE_POINT1 | |
| SPELLVALUE_BASE_POINT2 | |
| SPELLVALUE_RADIUS_MOD | |
| SPELLVALUE_MAX_TARGETS | |
| SPELLVALUE_AURA_STACK | |
| SPELLVALUE_CRIT_CHANCE | |
Definition at line 130 of file SpellDefines.h.
| enum TriggerCastFlags : uint32 |
| 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_DISALLOW_PROC_EVENTS | Will ignore caster aura states including combat requirements and death state. |
| TRIGGERED_IGNORE_CASTER_MOUNTED_OR_ON_VEHICLE | Disallows proc events from triggered spell (default) |
| TRIGGERED_IGNORE_CASTER_AURAS | Will ignore mounted/on vehicle restrictions. |
| TRIGGERED_DONT_RESET_PERIODIC_TIMER | Will ignore caster aura restrictions or requirements. |
| TRIGGERED_DONT_REPORT_CAST_ERROR | Will allow periodic aura timers to keep ticking (instead of resetting) |
| 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_IGNORE_TARGET_CHECK | Will ignore equipped item requirements. |
| TRIGGERED_FULL_DEBUG_MASK | Will ignore most target checks (mostly DBC target checks) |
Definition at line 146 of file SpellDefines.h.
| DEFINE_ENUM_FLAG | ( | TriggerCastFlags | ) |