TrinityCore
Loading...
Searching...
No Matches
eastern_kingdoms.cpp
Go to the documentation of this file.
1/*
2 * This file is part of the TrinityCore Project. See AUTHORS file for Copyright information
3 *
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License as published by the
6 * Free Software Foundation; either version 2 of the License, or (at your
7 * option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
12 * more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program. If not, see <http://www.gnu.org/licenses/>.
16 */
17
18#include "DBCStores.h"
19#include "ScriptMgr.h"
20#include "SpellScript.h"
21#include "Unit.h"
22
30
31// 34448 - Translocate
51
52// 34452 - Translocate
72
73// 35376 - Translocate
93
94// 35727 - Translocate
114
115/*######
116## Quest 11532: Distraction at the Dead Scar / 11533: The Air Strikes Must Continue
117######*/
118
123
124// 45071 - Quest - Sunwell Daily - Dead Scar Bombing Run
144
149
150// 45188 - Dawnblade Attack
170
171/*######
172## Quest 2203: Badlands Reagent Run II
173######*/
174
179
180// 9712 - Thaumaturgy Channel
202
DBCStorage< SoundEntriesEntry > sSoundEntriesStore(SoundEntriesfmt)
#define RegisterSpellScript(spell_script)
Definition ScriptMgr.h:1128
SpellEffIndex
@ EFFECT_0
@ EFFECT_2
@ SPELL_EFFECT_SCRIPT_EFFECT
@ SPELL_AURA_PERIODIC_TRIGGER_SPELL
#define SpellEffectFn(F, I, N)
#define AuraEffectPeriodicFn(F, I, N)
void PreventDefaultAction()
HookList< EffectPeriodicHandler > OnEffectPeriodic
Unit * GetCaster() const
Unit * GetCaster() const
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
Definition Unit.h:769
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
Definition Object.cpp:2832
void PlayDirectSound(uint32 soundId, Player *target=nullptr)
Definition Object.cpp:3433
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
PrepareSpellScript(spell_eastern_kingdoms_dawnblade_attack)
bool Validate(SpellInfo const *) override
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_eastern_kingdoms_dead_scar_bombing_run)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_eastern_kingdoms_duskwither_spire_down)
PrepareSpellScript(spell_eastern_kingdoms_duskwither_spire_up)
bool Validate(SpellInfo const *) override
PrepareSpellScript(spell_eastern_kingdoms_silvermoon_to_undercity)
bool Validate(SpellInfo const *) override
PrepareAuraScript(spell_eastern_kingdoms_thaumaturgy_channel)
PrepareSpellScript(spell_eastern_kingdoms_undercity_to_silvermoon)
DeadScarBombingRun
@ SOUND_ID_BOMBING_RUN
BadlandsReagentRun
@ SPELL_THAUMATURGY_CHANNEL
DawnbladeAttack
@ SPELL_DAWNBLADE_ATTACK
EasternKingdomsTranslocation
@ SPELL_TRANSLOCATION_DUSKWITHER_SPIRE_UP
@ SPELL_TRANSLOCATION_DUSKWITHER_SPIRE_DOWN
@ SPELL_TRANSLOCATION_SILVERMOON_TO_UNDERCITY
@ SPELL_TRANSLOCATION_UNDERCITY_TO_SILVERMOON
void AddSC_eastern_kingdoms()