41 namespace BouncerPaths
49 namespace Conversations
83 static constexpr std::string_view
Bouncer1 =
"hook_point_bouncer_1"sv;
84 static constexpr std::string_view
Bouncer2 =
"hook_point_bouncer_2"sv;
85 static constexpr std::string_view
Bouncer3 =
"hook_point_bouncer_3"sv;
86 static constexpr std::string_view
Bouncer4 =
"hook_point_bouncer_4"sv;
110 door->UseDoorOrButton();
111 door->DespawnOrUnsummon(5s);
122 bouncer->SetAIAnimKitId(0);
127 bouncer->m_Events.AddEventAtOffset([bouncer]()
136 bouncer->m_Events.AddEventAtOffset([bouncer]()
146 creature->SetAIAnimKitId(0);
161 slideDoor->UseDoorOrButton();
255 player->CastSpell(nullptr, HookPoint::Spells::KulTirasArenaCrowdCheers, CastSpellExtraArgsInit{
256 .TriggerFlags = TRIGGERED_IGNORE_CAST_IN_PROGRESS | TRIGGERED_DONT_REPORT_CAST_ERROR
268 battlegroundMap->DoOnPlayers([&](
Player* player)
272 player->CastSpell(nullptr, HookPoint::Spells::KulTirasArenaCrowdBoos, CastSpellExtraArgsInit{
273 .TriggerFlags = TRIGGERED_IGNORE_CAST_IN_PROGRESS | TRIGGERED_DONT_REPORT_CAST_ERROR
278 if (
Creature* creature = battlegroundMap->GetCreature(_danielPooleGUID))
std::vector< ObjectGuid > GuidVector
#define RegisterBattlegroundMapScript(script_name, mapId)
#define RegisterSpellScript(spell_script)
constexpr TeamId GetOtherTeam(TeamId team)
@ SPELL_EFFECT_SCRIPT_EFFECT
@ AURA_EFFECT_HANDLE_REAL
@ SPELL_AURA_PERIODIC_DUMMY
@ TRIGGERED_IGNORE_CAST_IN_PROGRESS
Will not check if a current cast is in progress.
@ TRIGGERED_DONT_REPORT_CAST_ERROR
Will return SPELL_FAILED_DONT_REPORT in CheckCast functions.
#define SpellEffectFn(F, I, N)
#define AuraEffectRemoveFn(F, I, N, M)
void AddSC_arena_hook_point()
HookList< EffectApplyHandler > AfterEffectRemove
WorldObject * GetOwner() const
HookList< AuraProcHandler > OnProc
ObjectGuid const & GetGUID() const
BattlegroundMap * battlegroundMap
static Conversation * CreateConversation(uint32 conversationEntry, Unit *creator, Position const &pos, ObjectGuid privateObjectOwner, SpellInfo const *spellInfo=nullptr, bool autoStart=true)
GameObject * GetGameObject(ObjectGuid const &guid)
Creature * GetCreature(ObjectGuid const &guid)
static ObjectGuid const Empty
Unit * GetProcTarget() const
static bool ValidateSpellInfo(std::initializer_list< uint32 > spellIds)
Unit * GetHitUnit() const
HookList< EffectHandler > OnEffectHitTarget
TaskScheduler & Schedule(duration_t time, task_handler_t task)
TaskScheduler & Update()
Update the scheduler to the current time.
constexpr uint32 GetMapId() const
ZoneScript * FindZoneScript() const
SpellCastResult CastSpell(CastSpellTargetArg const &targets, uint32 spellId, CastSpellExtraArgs const &args={ })
void HandleRemove(AuraEffect const *, AuraEffectHandleModes) const
bool Validate(SpellInfo const *) override
bool Validate(SpellInfo const *) override
void HandleHit(SpellEffIndex) const
void HandleProc(ProcEventInfo const &eventInfo) const
static constexpr uint32 ReactionTrigger
static constexpr uint32 ReactionDead
static constexpr uint32 ReactionCheer
static constexpr uint32 PennyMove
static constexpr uint64 Path4
static constexpr uint64 Path2
static constexpr uint64 Path3
static constexpr uint64 Path1
static constexpr uint32 Prepare
static constexpr uint32 Bouncer
static constexpr uint32 DanielPoole
static constexpr uint32 Penny
static constexpr uint32 SlideDoor
static constexpr uint32 InvisWall
static constexpr uint32 HookPoint
static constexpr uint32 ArenaLowHealthDyingTrigger
static constexpr uint32 KulTirasArenaVOCooldownAura
static constexpr uint32 KulTirasArenaCrowdCheers
static constexpr uint32 KulTirasArenaCrowdBoos
static constexpr uint32 ArenaReactionTrigger
static constexpr std::string_view Bouncer4
static constexpr std::string_view Bouncer2
static constexpr std::string_view Bouncer1
static constexpr std::string_view Bouncer3
static constexpr uint8 ReactionKill
static constexpr uint8 ReactionLowHealth
static constexpr uint8 Start
void HandleReactionCheer(Player const *victim) const
void OnPrepareStage1() override
void HandleKill(Player const *victim) const
void OnCreatureCreate(Creature *creature) override
void OnUpdate(uint32 diff) override
void OnGameObjectCreate(GameObject *gameobject) override
arena_hook_point(BattlegroundMap *map)
void OnPlayerJoined(Player *player, bool) override
ObjectGuid _slideDoorGUID
void DoAction(uint32 actionId, WorldObject *source, WorldObject *target) override
void HandleReactionLowHealth(Player const *victim) const
ObjectGuid _danielPooleGUID