![]() |
AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "CreatureScript.h"
#include "Player.h"
#include "ScriptedCreature.h"
#include "ScriptedGossip.h"
#include "SpellInfo.h"
#include "TaskScheduler.h"
#include "karazhan.h"
Go to the source code of this file.
Classes | |
struct | boss_dorothee |
struct | npc_tito |
struct | boss_roar |
struct | boss_strawman |
struct | boss_tinhead |
struct | boss_crone |
struct | npc_cyclone |
struct | npc_grandmother |
struct | boss_bigbadwolf |
struct | boss_julianne |
struct | boss_romulo |
Functions | |
void | SummonCroneIfReady (InstanceScript *instance, Creature *creature) |
void | DespawnAll (InstanceScript *instance) |
void | DoActions (InstanceScript *instance) |
void | PretendToDie (Creature *creature) |
void | Resurrect (Creature *target) |
void | AddSC_bosses_opera () |
enum Creatures |
Enumerator | |
---|---|
CREATURE_TITO | |
CREATURE_CYCLONE | |
CREATURE_CRONE |
enum JulianneRomulo |
enum OZActions |
enum RAJActions |
Enumerator | |
---|---|
ACTION_FAKING_DEATH | |
ACTION_COMBAT_SCHEDULE | |
ACTION_CANCEL_COMBAT |
enum RAJGroups |
Enumerator | |
---|---|
GROUP_COMBAT | |
GROUP_RP |
enum RAJPhase |
Enumerator | |
---|---|
PHASE_JULIANNE | |
PHASE_ROMULO | |
PHASE_BOTH |
enum RedRidingHood |
enum Says |
enum Spells |
void AddSC_bosses_opera | ( | ) |
References RegisterKarazhanCreatureAI.
Referenced by AddEasternKingdomsScripts().
void DespawnAll | ( | InstanceScript * | instance | ) |
References DATA_DOROTHEE, DATA_ROAR, DATA_STRAWMAN, DATA_TINHEAD, DATA_TITO, and InstanceScript::GetCreature().
Referenced by boss_dorothee::EnterEvadeMode(), boss_roar::EnterEvadeMode(), boss_strawman::EnterEvadeMode(), and boss_tinhead::EnterEvadeMode().
void DoActions | ( | InstanceScript * | instance | ) |
References ACTION_RELEASE, DATA_DOROTHEE, DATA_ROAR, DATA_STRAWMAN, DATA_TINHEAD, and InstanceScript::GetCreature().
Referenced by boss_dorothee::UpdateAI().
void PretendToDie | ( | Creature * | creature | ) |
References ACTION_CANCEL_COMBAT, Creature::AI(), UnitAI::DoAction(), Unit::GetMotionMaster(), Unit::InterruptNonMeleeSpells(), MotionMaster::MoveIdle(), MotionMaster::MovementExpired(), REACT_PASSIVE, Unit::RemoveAllAuras(), Creature::SetReactState(), Unit::SetStandState(), Unit::SetUnitFlag(), UNIT_FLAG_NOT_SELECTABLE, and UNIT_STAND_STATE_DEAD.
Referenced by boss_julianne::DamageTaken(), boss_romulo::DamageTaken(), and boss_julianne::SpellHit().
void Resurrect | ( | Creature * | target | ) |
References ACTION_COMBAT_SCHEDULE, Creature::AI(), UnitAI::AttackStart(), Unit::CastSpell(), UnitAI::DoAction(), Unit::GetMotionMaster(), Unit::GetVictim(), MotionMaster::Initialize(), MotionMaster::MoveChase(), REACT_AGGRESSIVE, Unit::RemoveUnitFlag(), Unit::SetFullHealth(), Creature::SetReactState(), Unit::SetStandState(), SPELL_RES_VISUAL, UNIT_FLAG_NOT_SELECTABLE, and UNIT_STAND_STATE_STAND.
Referenced by boss_romulo::DamageTaken(), boss_julianne::DoAction(), boss_julianne::Reset(), and Battlefield::Update().
void SummonCroneIfReady | ( | InstanceScript * | instance, |
Creature * | creature | ||
) |
References CREATURE_CRONE, DATA_OPERA_OZ_DEATHCOUNT, ZoneScript::GetData(), Position::GetPositionZ(), Unit::GetVictim(), HOUR, IN_MILLISECONDS, ZoneScript::SetData(), SPECIAL, WorldObject::SummonCreature(), TEMPSUMMON_TIMED_OR_DEAD_DESPAWN, and UNIT_FLAG_NON_ATTACKABLE.
Referenced by boss_dorothee::JustDied(), boss_roar::JustDied(), boss_strawman::JustDied(), and boss_tinhead::JustDied().