![]() |
TrinityCore
|
#include "Define.h"#include "FlagsArray.h"#include "EnumFlag.h"#include "ObjectGuid.h"#include "Optional.h"#include "Position.h"#include "ScriptActionResult.h"#include <any>#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 | SpellRange |
| struct | SpellDestination |
| class | SpellCastTargets |
| struct | CastSpellTargetArg |
| struct | CastSpellExtraArgsInit |
| struct | CastSpellExtraArgsInit::SpellValueOverride |
| struct | CastSpellExtraArgs |
| struct | SpellCastVisual |
| class | ProcFlagsInit |
Namespaces | |
| namespace | UF |
| namespace | WorldPackets |
| namespace | WorldPackets::Spells |
Macros | |
| #define | MAX_SPELLMOD 41 |
Typedefs | |
| using | SpellEffectValue = double |
| This is a double instead of float to be able to store full range of int32. | |
Functions | |
| DEFINE_ENUM_FLAG (SpellInterruptFlags) | |
| DEFINE_ENUM_FLAG (SpellAuraInterruptFlags) | |
| DEFINE_ENUM_FLAG (SpellAuraInterruptFlags2) | |
| DEFINE_ENUM_FLAG (TriggerCastFlags) | |
| #define MAX_SPELLMOD 41 |
Definition at line 197 of file SpellDefines.h.
| using SpellEffectValue = double |
This is a double instead of float to be able to store full range of int32.
Definition at line 490 of file SpellDefines.h.
|
strong |
Definition at line 77 of file SpellDefines.h.
|
strong |
Definition at line 119 of file SpellDefines.h.
| enum SpellCastTargetFlags : uint32 |
Definition at line 309 of file SpellDefines.h.
| enum SpellFacingFlags |
| Enumerator | |
|---|---|
| SPELL_FACING_FLAG_INFRONT | |
Definition at line 266 of file SpellDefines.h.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Movement | |
| DamagePushbackPlayerOnly | |
| Stun | |
| Combat | |
| DamageCancelsPlayerOnly | |
| MeleeCombat | |
| Immunity | |
| DamageAbsorb | |
| ZeroDamageCancels | |
| DamagePushback | |
| DamageCancels | |
Definition at line 59 of file SpellDefines.h.
|
strong |
Definition at line 152 of file SpellDefines.h.
|
strong |
| Enumerator | |
|---|---|
| HealingAndDamage | |
| PeriodicHealingAndDamage | |
| BonusCoefficient | |
| Points | |
| PointsIndex0 | |
| PointsIndex1 | |
| PointsIndex2 | |
| PointsIndex3 | |
| PointsIndex4 | |
Definition at line 199 of file SpellDefines.h.
| enum SpellValueMod : int32 |
| Enumerator | |
|---|---|
| SPELLVALUE_MAX_TARGETS | |
| SPELLVALUE_AURA_STACK | |
| SPELLVALUE_DURATION | |
| SPELLVALUE_PARENT_SPELL_TARGET_COUNT | |
| SPELLVALUE_PARENT_SPELL_TARGET_INDEX | |
| SPELLVALUE_INT_END | |
Definition at line 213 of file SpellDefines.h.
| enum SpellValueModFloat : int32 |
Definition at line 224 of file SpellDefines.h.
| enum TriggerCastFlags : uint32 |
| Enumerator | |
|---|---|
| TRIGGERED_NONE | Not triggered. |
| TRIGGERED_IGNORE_GCD | Will ignore GCD. |
| TRIGGERED_IGNORE_SPELL_AND_CATEGORY_CD | Will ignore Spell and Category cooldowns. |
| TRIGGERED_IGNORE_POWER_COST | Will ignore power and reagent cost. |
| TRIGGERED_IGNORE_CAST_ITEM | Will not take away cast item or update related achievement criteria. |
| TRIGGERED_IGNORE_AURA_SCALING | Will ignore aura scaling. |
| TRIGGERED_IGNORE_CAST_IN_PROGRESS | Will not check if a current cast is in progress. |
| TRIGGERED_IGNORE_CAST_TIME | Will always be instantly cast. |
| TRIGGERED_CAST_DIRECTLY | In Spell::prepare, will be cast directly without setting containers for executed spell. |
| TRIGGERED_IGNORE_REAGENT_COST | Will ignore reagent cost. |
| TRIGGERED_IGNORE_SET_FACING | Will not adjust facing to target (if any) |
| TRIGGERED_IGNORE_SHAPESHIFT | Will ignore shapeshift checks. |
| TRIGGERED_DISALLOW_PROC_EVENTS | Disallows proc events from triggered spell (default) |
| TRIGGERED_IGNORE_CASTER_MOUNTED_OR_ON_VEHICLE | Will ignore mounted/on vehicle restrictions. |
| TRIGGERED_IGNORE_CASTER_AURAS | Will ignore caster aura restrictions or requirements. |
| TRIGGERED_DONT_RESET_PERIODIC_TIMER | Will allow periodic aura timers to keep ticking (instead of resetting) |
| TRIGGERED_DONT_REPORT_CAST_ERROR | Will return SPELL_FAILED_DONT_REPORT in CheckCast functions. |
| TRIGGERED_FULL_MASK | Used when doing CastSpell with triggered == true. |
| TRIGGERED_IS_TRIGGERED_MASK | Will be recognized by Spell::IsTriggered as triggered. |
| TRIGGERED_IGNORE_EQUIPPED_ITEM_REQUIREMENT | Will ignore equipped item requirements. |
| TRIGGERED_IGNORE_TARGET_CHECK | Will ignore most target checks (mostly DBC target checks) |
| TRIGGERED_IGNORE_CASTER_AURASTATE | Will ignore caster aura states including combat requirements and death state. |
| TRIGGERED_SUPPRESS_CASTER_ANIM | Will not play cast animations on caster. |
| TRIGGERED_FULL_DEBUG_MASK | |
Definition at line 271 of file SpellDefines.h.
| DEFINE_ENUM_FLAG | ( | SpellAuraInterruptFlags | ) |
| DEFINE_ENUM_FLAG | ( | SpellAuraInterruptFlags2 | ) |
| DEFINE_ENUM_FLAG | ( | SpellInterruptFlags | ) |
| DEFINE_ENUM_FLAG | ( | TriggerCastFlags | ) |