|
| instance_ruby_sanctum_InstanceMapScript (InstanceMap *map) |
|
void | OnPlayerEnter (Player *) override |
|
void | OnCreatureCreate (Creature *creature) override |
|
void | OnGameObjectCreate (GameObject *go) override |
|
void | OnGameObjectRemove (GameObject *go) override |
|
ObjectGuid | GetGuidData (uint32 type) const override |
|
bool | SetBossState (uint32 type, EncounterState state) override |
|
void | FillInitialWorldStates (WorldPacket &data) override |
|
| InstanceScript (Map *map) |
|
| ~InstanceScript () override |
|
virtual void | Initialize () |
|
virtual void | Load (char const *data) |
|
virtual void | CreatureLooted (Creature *, LootType) |
|
virtual std::string | GetSaveData () |
|
void | SaveToDB () |
|
virtual void | Update (uint32) |
|
virtual bool | IsEncounterInProgress () const |
|
void | OnCreatureCreate (Creature *creature) override |
|
void | OnCreatureRemove (Creature *creature) override |
|
void | OnGameObjectCreate (GameObject *go) override |
|
void | OnGameObjectRemove (GameObject *go) override |
|
ObjectGuid | GetObjectGuid (uint32 type) const |
|
ObjectGuid | GetGuidData (uint32 type) const override |
|
Creature * | GetCreature (uint32 type) |
|
GameObject * | GetGameObject (uint32 type) |
|
virtual void | OnPlayerEnter (Player *) |
|
virtual void | OnPlayerAreaUpdate (Player *, uint32, uint32) |
|
virtual void | OnPlayerInWaterStateUpdate (Player *, bool) |
|
void | HandleGameObject (ObjectGuid guid, bool open, GameObject *go=nullptr) |
|
void | DoUseDoorOrButton (ObjectGuid guid, uint32 withRestoreTime=0, bool useAlternativeState=false) |
|
void | DoRespawnGameObject (ObjectGuid guid, uint32 timeToDespawn=MINUTE) |
|
void | DoRespawnCreature (ObjectGuid guid, bool force=false) |
|
void | DoRespawnCreature (uint32 type, bool force=false) |
|
void | DoUpdateWorldState (uint32 worldstateId, uint32 worldstateValue) |
|
void | DoSendNotifyToInstance (char const *format,...) |
|
void | DoUpdateAchievementCriteria (AchievementCriteriaTypes type, uint32 miscValue1=0, uint32 miscValue2=0, Unit *unit=nullptr) |
|
void | DoStartTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry) |
|
void | DoStopTimedAchievement (AchievementCriteriaTimedTypes type, uint32 entry) |
|
void | DoRemoveAurasDueToSpellOnPlayers (uint32 spell) |
|
void | DoCastSpellOnPlayers (uint32 spell) |
|
void | DoCastSpellOnPlayer (Player *player, uint32 spell, bool includePets, bool includeControlled) |
|
bool | ServerAllowsTwoSideGroups () |
|
virtual bool | SetBossState (uint32 id, EncounterState state) |
|
EncounterState | GetBossState (uint32 id) const |
|
CreatureBoundary const * | GetBossBoundary (uint32 id) const |
|
BossInfo const * | GetBossInfo (uint32 id) const |
|
uint32 | GetPersistentData (uint32 index) const |
|
void | StorePersistentData (uint32 index, uint32 data) |
|
virtual bool | CheckAchievementCriteriaMeet (uint32, Player const *, Unit const *=nullptr, uint32=0) |
|
virtual bool | CheckRequiredBosses (uint32, Player const *=nullptr) const |
|
void | SetCompletedEncountersMask (uint32 newMask, bool save) |
|
uint32 | GetCompletedEncounterMask () const |
|
void | SendEncounterUnit (uint32 type, Unit *unit=nullptr, uint8 param1=0, uint8 param2=0) |
|
virtual void | FillInitialWorldStates (WorldPacket &) |
|
uint32 | GetEncounterCount () const |
|
void | MarkAreaTriggerDone (uint32 id) |
|
void | ResetAreaTriggerDone (uint32 id) |
|
bool | IsAreaTriggerDone (uint32 id) const |
|
virtual void | DoAction (int32) |
|
void | DoForAllMinions (uint32 id, std::function< void(Creature *)> exec) |
|
void | StoreGameObjectState (ObjectGuid::LowType spawnId, uint8 state) |
|
uint8 | GetStoredGameObjectState (ObjectGuid::LowType spawnId) const |
|
void | LoadInstanceSavedGameobjectStateData () |
|
| ZoneScript () |
|
virtual | ~ZoneScript () |
|
virtual uint32 | GetCreatureEntry (ObjectGuid::LowType, CreatureData const *data) |
|
virtual uint32 | GetGameObjectEntry (ObjectGuid::LowType, uint32 entry) |
|
virtual void | OnCreatureCreate (Creature *) |
|
virtual void | OnCreatureRemove (Creature *) |
|
virtual void | OnGameObjectCreate (GameObject *) |
|
virtual void | OnGameObjectRemove (GameObject *) |
|
virtual void | OnUnitDeath (Unit *) |
|
virtual void | OnCreatureEvade (Creature *) |
|
virtual ObjectGuid | GetGuidData (uint32) const |
|
virtual void | SetGuidData (uint32, ObjectGuid) |
|
virtual uint64 | GetData64 (uint32) const |
|
virtual void | SetData64 (uint32, uint64) |
|
virtual uint32 | GetData (uint32) const |
|
virtual void | SetData (uint32, uint32) |
|
virtual void | ProcessEvent (WorldObject *, uint32) |
|
void instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::OnCreatureCreate |
( |
Creature * |
creature | ) |
|
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
74 {
76 {
79 break;
82 break;
85 break;
89 else
91 break;
94 break;
97 break;
100 break;
103 break;
104
115 halion->AI()->JustSummoned(creature);
116 break;
117 }
118 }
@ NPC_METEOR_STRIKE_EAST
Definition: ruby_sanctum.h:74
@ NPC_METEOR_STRIKE_NORTH
Definition: ruby_sanctum.h:73
@ NPC_METEOR_STRIKE_SOUTH
Definition: ruby_sanctum.h:76
@ NPC_METEOR_STRIKE_WEST
Definition: ruby_sanctum.h:75
@ NPC_LIVING_INFERNO
Definition: ruby_sanctum.h:69
@ NPC_CONSUMPTION
Definition: ruby_sanctum.h:79
@ NPC_METEOR_STRIKE_FLAME
Definition: ruby_sanctum.h:77
@ NPC_LIVING_EMBER
Definition: ruby_sanctum.h:70
@ NPC_COMBUSTION
Definition: ruby_sanctum.h:78
@ NPC_ZARITHRIAN_SPAWN_STALKER
Definition: ruby_sanctum.h:60
Definition: Creature.h:46
uint32 GetEntry() const
Definition: Object.h:112
static ObjectGuid GetGUID(Object const *o)
Definition: Object.h:109
Map * instance
Definition: InstanceScript.h:148
Creature * GetCreature(ObjectGuid const guid)
Definition: Map.cpp:3314
References BaltharusTheWarbornGUID, GeneralZarithrianGUID, Map::GetCreature(), Object::GetEntry(), Object::GetGUID(), HalionControllerGUID, HalionGUID, InstanceScript::instance, NPC_BALTHARUS_THE_WARBORN, NPC_COMBUSTION, NPC_CONSUMPTION, NPC_GENERAL_ZARITHRIAN, NPC_HALION, NPC_HALION_CONTROLLER, NPC_LIVING_EMBER, NPC_LIVING_INFERNO, NPC_METEOR_STRIKE_EAST, NPC_METEOR_STRIKE_FLAME, NPC_METEOR_STRIKE_NORTH, NPC_METEOR_STRIKE_SOUTH, NPC_METEOR_STRIKE_WEST, NPC_ORB_CARRIER, NPC_TWILIGHT_HALION, NPC_XERESTRASZA, NPC_ZARITHRIAN_SPAWN_STALKER, OrbCarrierGUID, TwilightHalionGUID, XerestraszaGUID, and ZarithrianSpawnStalkerGUID.
bool instance_ruby_sanctum::instance_ruby_sanctum_InstanceMapScript::SetBossState |
( |
uint32 |
type, |
|
|
EncounterState |
state |
|
) |
| |
|
inlineoverridevirtual |
Reimplemented from InstanceScript.
184 {
186 return false;
187
188 switch (type)
189 {
192 {
195 }
196 break;
201 {
203 zarithrian->SetImmuneToPC(false);
204 }
205 break;
210 break;
216 break;
217 }
218
219 return true;
220 }
@ UNIT_FLAG_NOT_SELECTABLE
Definition: UnitDefines.h:254
@ NOT_STARTED
Definition: InstanceScript.h:57
@ DATA_HALION_INTRO1
Definition: ruby_sanctum.h:33
@ DATA_SAVIANA_RAGEFIRE
Definition: ruby_sanctum.h:32
@ DATA_HALION_INTRO2
Definition: ruby_sanctum.h:34
@ DATA_HALION
Definition: ruby_sanctum.h:36
@ DATA_BALTHARUS_THE_WARBORN
Definition: ruby_sanctum.h:30
virtual bool SetBossState(uint32 id, EncounterState state)
Definition: InstanceScript.cpp:351
void HandleGameObject(ObjectGuid guid, bool open, GameObject *go=nullptr)
Definition: InstanceScript.cpp:110
void DoUpdateWorldState(uint32 worldstateId, uint32 worldstateValue)
Definition: InstanceScript.cpp:577
bool SetBossState(uint32 type, EncounterState state) override
Definition: instance_ruby_sanctum.cpp:183
References ACTION_INTRO_HALION, DATA_BALTHARUS_THE_WARBORN, DATA_GENERAL_ZARITHRIAN, DATA_HALION, DATA_HALION_INTRO1, DATA_HALION_INTRO2, DATA_HALION_INTRO_DONE, DATA_SAVIANA_RAGEFIRE, DONE, InstanceScript::DoUpdateWorldState(), FlameRingGUID, GeneralZarithrianGUID, InstanceScript::GetBossState(), Map::GetCreature(), HalionControllerGUID, InstanceScript::HandleGameObject(), InstanceScript::instance, NOT_STARTED, InstanceScript::SetBossState(), SetBossState(), UNIT_FLAG_NOT_SELECTABLE, WORLDSTATE_CORPOREALITY_MATERIAL, WORLDSTATE_CORPOREALITY_TOGGLE, and WORLDSTATE_CORPOREALITY_TWILIGHT.
Referenced by SetBossState().