148 aur->SetMaxDuration(std::min(3600000, aur->GetMaxDuration() + 180000));
149 aur->RefreshDuration();
231 uint32 torchShadowSpellID = 0;
233 if (distance <= 1.5f)
239 else if (distance <= 10.0f)
244 else if (distance <= 20.0f)
333 if (
GetCaster()->GetExactDist2d(pos) > 3.0f)
375 uint8 requiredCatches = 0;
383 if (requiredCatches == 0)
@ QUEST_STATUS_INCOMPLETE
#define RegisterSpellScript(spell_script)
@ TARGET_UNIT_DEST_AREA_ENTRY
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_EFFECT_TRIGGER_MISSILE
@ AURA_EFFECT_HANDLE_REAPPLY
@ AURA_EFFECT_HANDLE_REAL
@ 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
void Remove(AuraRemoveMode removeMode=AURA_REMOVE_BY_DEFAULT)
uint8 GetStackAmount() const
static ObjectGuid GetGUID(Object const *o)
static Player * ToPlayer(Object *o)
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)
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)
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
bool Validate(SpellInfo const *) override
void PeriodicTick(AuraEffect const *)
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)
@ SPELL_TARGET_INDICATOR_COSMETIC
@ SPELL_TORCH_TOSSING_TRAINING_SUCCESS_ALLIANCE
@ SPELL_TORCH_TOSSING_TRAINING
@ SPELL_TORCH_TOSSING_TRAINING_SUCCESS_HORDE
@ 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
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
constexpr float GetPositionX() const
constexpr float GetPositionY() const
float GetExactDist2d(const float x, const float y) const
constexpr void GetPosition(float &x, float &y) const