200 aur->SetMaxDuration(std::min(3600000, aur->GetMaxDuration() + 180000));
201 aur->RefreshDuration();
283 uint32 torchShadowSpellID = 0;
285 if (distance <= 1.5f)
291 else if (distance <= 10.0f)
296 else if (distance <= 20.0f)
385 if (
GetCaster()->GetExactDist2d(pos) > 3.0f)
427 uint8 requiredCatches = 0;
435 if (requiredCatches == 0)
@ QUEST_STATUS_INCOMPLETE
#define RegisterSpellScript(spell_script)
#define RegisterSpellScriptWithArgs(spell_script, script_name,...)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_EFFECT_TRIGGER_MISSILE
@ TARGET_UNIT_DEST_AREA_ENTRY
@ AURA_EFFECT_HANDLE_REAPPLY
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_DETECT_AMORE
@ SPELL_AURA_PERIODIC_DUMMY
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define SpellEffectFn(F, I, N)
#define SpellObjectAreaTargetSelectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
#define AuraEffectApplyFn(F, I, N, M)
#define AuraEffectRemoveFn(F, I, N, M)
HookList< EffectApplyHandler > AfterEffectRemove
HookList< EffectPeriodicHandler > OnEffectPeriodic
HookList< EffectApplyHandler > AfterEffectApply
uint8 GetStackAmount() const
ObjectGuid const & GetGUID() const
QuestStatus GetQuestStatus(uint32 quest_id) const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
WorldLocation * GetHitDest() const
Player * GetHitPlayer() const
HookList< EffectHandler > OnEffectHit
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
void PreventHitEffect(SpellEffIndex effIndex)
WorldLocation const * GetExplTargetDest() const
HookList< ObjectAreaTargetSelectHandler > OnObjectAreaTargetSelect
void RemoveAura(AuraApplicationMap::iterator &i, AuraRemoveMode mode=AURA_REMOVE_BY_DEFAULT)
uint32 GetAuraCount(uint32 spellId) const
Aura * GetAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
bool HasAura(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, ObjectGuid itemCasterGUID=ObjectGuid::Empty, uint32 reqEffMask=0) const
void RemoveAurasDueToSpell(uint32 spellId, ObjectGuid casterGUID=ObjectGuid::Empty, uint32 reqEffMask=0, AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
constexpr WorldLocation GetWorldLocation() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Position GetFirstCollisionPosition(float dist, float angle)
bool Validate(SpellInfo const *) override
void HandleEffectApply(AuraEffect const *, AuraEffectHandleModes)
spell_midsummer_cleansing_flames(CleansingFlames triggeredSpell)
void HandleDummy(SpellEffIndex)
bool Validate(SpellInfo const *) override
void HandleScriptEffect(SpellEffIndex)
bool Validate(SpellInfo const *) override
void FilterTargets(std::list< WorldObject * > &targets)
void HandleTriggerMissile(SpellEffIndex effIndex)
bool Validate(SpellInfo const *) override
bool Validate(SpellInfo const *) override
void HandleDummy(SpellEffIndex)
void HandleDummy(SpellEffIndex)
bool Validate(SpellInfo const *) override
void HandleDummy(SpellEffIndex)
bool Validate(SpellInfo const *) override
bool Validate(SpellInfo const *) override
void PeriodicTick(AuraEffect const *)
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
void AfterApply(AuraEffect const *, AuraEffectHandleModes)
void PeriodicTick(AuraEffect const *)
bool Validate(SpellInfo const *) override
void HandleRemove(AuraEffect const *, AuraEffectHandleModes)
void HandleDummy(SpellEffIndex)
bool Validate(SpellInfo const *) override
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
bool Validate(SpellInfo const *) override
void HandleScript(SpellEffIndex)
void AfterRemove(AuraEffect const *, AuraEffectHandleModes)
bool Validate(SpellInfo const *) override
void AfterApply(AuraEffect const *, AuraEffectHandleModes)
@ SPELL_TORCH_TOSSING_TRAINING_SUCCESS_2
@ SPELL_TARGET_INDICATOR_COSMETIC
@ SPELL_TORCH_TOSSING_TRAINING
@ SPELL_TORCH_TOSSING_TRAINING_SUCCESS_1
@ SPELL_TARGET_DETECT_INVISIBILITY
@ SPELL_TORCH_TOSSING_PRACTICE
@ SPELL_JUGGLE_TORCH_MISSED
@ SPELL_TORCH_CATCHING_SUCCESS_ALLIANCE
@ SPELL_FLING_TORCH_SHADOW
@ SPELL_TORCH_CATCHING_REMOVE_TORCHES
@ SPELL_TORCH_CATCHING_SUCCESS_HORDE
@ SPELL_FLING_TORCH_TRIGGERED
@ SPELL_STAMP_OUT_BONFIRE_DUMMY
@ SPELL_STAMP_OUT_BONFIRE_ART_KIT
@ SPELL_STAMP_OUT_BONFIRE_EVENT
void AddSC_event_midsummer()
@ SPELL_TEST_RIBBON_POLE_2
@ SPELL_RIBBON_POLE_PERIODIC_VISUAL
@ SPELL_BURNING_HOT_POLE_DANCE
@ SPELL_HAS_FULL_MIDSUMMER_SET
@ SPELL_TEST_RIBBON_POLE_1
@ SPELL_TEST_RIBBON_POLE_3
@ SPELL_JUGGLE_TORCH_SHADOW_SLOW
@ QUEST_MORE_TORCH_CATCHING_A
@ SPELL_JUGGLE_TORCH_SELF
@ SPELL_JUGGLE_TORCH_SHADOW_FAST
@ SPELL_JUGGLE_TORCH_SLOW
@ SPELL_JUGGLE_TORCH_SHADOW_MEDIUM
@ SPELL_JUGGLE_TORCH_SHADOW_SELF
@ QUEST_MORE_TORCH_CATCHING_H
@ SPELL_JUGGLE_TORCH_FAST
@ SPELL_JUGGLE_TORCH_MEDIUM
@ SPELL_CREATE_FLAME_OF_DARNASSUS
@ SPELL_CREATE_FLAME_OF_THE_EXODAR
@ SPELL_CREATE_FLAME_OF_IRONFORGE
@ SPELL_CREATE_FLAME_OF_STORMWIND
@ SPELL_CREATE_FLAME_OF_THE_UNDERCITY
@ SPELL_CREATE_FLAME_OF_ORGRIMMAR
@ SPELL_CREATE_FLAME_OF_THUNDER_BLUFF
@ SPELL_CREATE_FLAME_OF_SILVERMOON
constexpr float GetPositionX() const
constexpr float GetPositionY() const
float GetExactDist2d(const float x, const float y) const