Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Toggle main menu visibility
Loading...
Searching...
No Matches
instance_serpent_shrine.cpp
Go to the documentation of this file.
1
/*
2
* This file is part of Project SkyFire https://www.projectskyfire.org.
3
* See LICENSE.md file for Copyright information
4
*/
5
6
/* ScriptData
7
SDName: Instance_Serpent_Shrine
8
SD%Complete: 100
9
SDComment: Instance Data Scripts and functions to acquire mobs and set encounter status for use in various Serpent Shrine Scripts
10
SDCategory: Coilfang Resevoir, Serpent Shrine Cavern
11
EndScriptData */
12
13
#include "
ScriptMgr.h
"
14
#include "
InstanceScript.h
"
15
#include "
serpent_shrine.h
"
16
#include "
Player.h
"
17
#include "
TemporarySummon.h
"
18
19
#define MAX_ENCOUNTER 6
20
21
enum
Misc
22
{
23
// Spells
24
SPELL_SCALDINGWATER
= 37284,
25
26
// Creatures
27
NPC_COILFANG_FRENZY
= 21508,
28
NPC_COILFANG_PRIESTESS
= 21220,
29
NPC_COILFANG_SHATTERER
= 21301,
30
31
// Misc
32
MIN_KILLS
= 30
33
};
34
35
36
//NOTE: there are 6 platforms
37
//there should be 3 shatterers and 2 priestess on all platforms, total of 30 elites, else it won't work!
38
//delete all other elites not on platforms! these mobs should only be on those platforms nowhere else.
39
40
/* Serpentshrine cavern encounters:
41
0 - Hydross The Unstable event
42
1 - Leotheras The Blind Event
43
2 - The Lurker Below Event
44
3 - Fathom-Lord Karathress Event
45
4 - Morogrim Tidewalker Event
46
5 - Lady Vashj Event
47
*/
48
49
class
go_bridge_console
:
public
GameObjectScript
50
{
51
public
:
52
go_bridge_console
() :
GameObjectScript
(
"go_bridge_console"
) { }
53
54
bool
OnGossipHello
(
Player
*
/*player*/
,
GameObject
* go)
OVERRIDE
55
{
56
InstanceScript
* instance = go->GetInstanceScript();
57
58
if
(!instance)
59
return
false
;
60
61
if
(instance)
62
instance->
SetData
(
DATA_CONTROL_CONSOLE
,
DONE
);
63
64
return
true
;
65
}
66
};
67
68
class
instance_serpent_shrine
:
public
InstanceMapScript
69
{
70
public
:
71
instance_serpent_shrine
() :
InstanceMapScript
(
"instance_serpent_shrine"
, 548) { }
72
73
struct
instance_serpentshrine_cavern_InstanceMapScript
:
public
InstanceScript
74
{
75
instance_serpentshrine_cavern_InstanceMapScript
(
Map
* map) :
InstanceScript
(map)
76
{
77
}
78
79
void
Initialize
()
OVERRIDE
80
{
81
memset(&
m_auiEncounter
, 0,
sizeof
(
m_auiEncounter
));
82
83
LurkerBelow
= 0;
84
Sharkkis
= 0;
85
Tidalvess
= 0;
86
Caribdis
= 0;
87
LadyVashj
= 0;
88
Karathress
= 0;
89
KarathressEvent_Starter
= 0;
90
LeotherasTheBlind
= 0;
91
LeotherasEventStarter
= 0;
92
93
ControlConsole
= 0;
94
BridgePart
[0] = 0;
95
BridgePart
[1] = 0;
96
BridgePart
[2] = 0;
97
StrangePool
= 0;
98
Water
=
WATERSTATE_FRENZY
;
99
100
ShieldGeneratorDeactivated
[0] =
false
;
101
ShieldGeneratorDeactivated
[1] =
false
;
102
ShieldGeneratorDeactivated
[2] =
false
;
103
ShieldGeneratorDeactivated
[3] =
false
;
104
FishingTimer
= 1000;
105
WaterCheckTimer
= 500;
106
FrenzySpawnTimer
= 2000;
107
DoSpawnFrenzy
=
false
;
108
TrashCount
= 0;
109
}
110
111
bool
IsEncounterInProgress
() const
OVERRIDE
112
{
113
for
(
uint8
i = 0; i <
MAX_ENCOUNTER
; ++i)
114
if
(
m_auiEncounter
[i] ==
IN_PROGRESS
)
115
return
true
;
116
117
return
false
;
118
}
119
120
void
Update
(
uint32
diff)
OVERRIDE
121
{
122
//Water checks
123
if
(
WaterCheckTimer
<= diff)
124
{
125
if
(
TrashCount
>=
MIN_KILLS
)
126
Water
=
WATERSTATE_SCALDING
;
127
else
128
Water
=
WATERSTATE_FRENZY
;
129
130
Map::PlayerList
const
&PlayerList =
instance
->GetPlayers();
131
if
(PlayerList.
isEmpty
())
132
return
;
133
for
(
Map::PlayerList::const_iterator
i = PlayerList.
begin
(); i != PlayerList.
end
(); ++i)
134
{
135
if
(
Player
* player = i->GetSource())
136
{
137
if
(player->IsAlive() &&
/*i->GetSource()->GetPositionZ() <= -21.434931f*/
player->IsInWater())
138
{
139
if
(
Water
==
WATERSTATE_SCALDING
)
140
{
141
if
(!player->HasAura(
SPELL_SCALDINGWATER
))
142
{
143
player->CastSpell(player,
SPELL_SCALDINGWATER
,
true
);
144
}
145
}
else
if
(
Water
==
WATERSTATE_FRENZY
)
146
{
147
//spawn frenzy
148
if
(
DoSpawnFrenzy
)
149
{
150
if
(
Creature
* frenzy = player->
SummonCreature
(
NPC_COILFANG_FRENZY
, player->GetPositionX(), player->GetPositionY(), player->GetPositionZ(), player->GetOrientation(),
TempSummonType::TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
, 2000))
151
{
152
frenzy->Attack(player,
false
);
153
frenzy->SetSwim(
true
);
154
frenzy->SetDisableGravity(
true
);
155
}
156
DoSpawnFrenzy
=
false
;
157
}
158
}
159
}
160
if
(!player->IsInWater())
161
player->RemoveAurasDueToSpell(
SPELL_SCALDINGWATER
);
162
}
163
}
164
WaterCheckTimer
= 500;
//remove stress from core
165
}
166
else
167
WaterCheckTimer
-= diff;
168
169
if
(
FrenzySpawnTimer
<= diff)
170
{
171
DoSpawnFrenzy
=
true
;
172
FrenzySpawnTimer
= 2000;
173
}
174
else
175
FrenzySpawnTimer
-= diff;
176
}
177
178
void
OnGameObjectCreate
(
GameObject
* go)
OVERRIDE
179
{
180
switch
(go->GetEntry())
181
{
182
case
184568:
183
ControlConsole
= go->GetGUID();
184
go->setActive(
true
);
185
break
;
186
case
184203:
187
BridgePart
[0] = go->GetGUID();
188
go->setActive(
true
);
189
break
;
190
case
184204:
191
BridgePart
[1] = go->GetGUID();
192
go->setActive(
true
);
193
break
;
194
case
184205:
195
BridgePart
[2] = go->GetGUID();
196
go->setActive(
true
);
197
break
;
198
default
:
199
break
;
200
}
201
}
202
203
void
OnCreatureCreate
(
Creature
* creature)
OVERRIDE
204
{
205
switch
(creature->GetEntry())
206
{
207
case
21212:
208
LadyVashj
= creature->GetGUID();
209
break
;
210
case
21214:
211
Karathress
= creature->GetGUID();
212
break
;
213
case
21966:
214
Sharkkis
= creature->GetGUID();
215
break
;
216
case
21217:
217
LurkerBelow
= creature->GetGUID();
218
break
;
219
case
21965:
220
Tidalvess
= creature->GetGUID();
221
break
;
222
case
21964:
223
Caribdis
= creature->GetGUID();
224
break
;
225
case
21215:
226
LeotherasTheBlind
= creature->GetGUID();
227
break
;
228
default
:
229
break
;
230
}
231
}
232
233
void
SetData64
(
uint32
type,
uint64
data)
OVERRIDE
234
{
235
if
(type ==
DATA_KARATHRESSEVENT_STARTER
)
236
KarathressEvent_Starter
= data;
237
if
(type ==
DATA_LEOTHERAS_EVENT_STARTER
)
238
LeotherasEventStarter
= data;
239
}
240
241
uint64
GetData64
(
uint32
identifier)
const
OVERRIDE
242
{
243
switch
(identifier)
244
{
245
case
DATA_THELURKERBELOW
:
246
return
LurkerBelow
;
247
case
DATA_SHARKKIS
:
248
return
Sharkkis
;
249
case
DATA_TIDALVESS
:
250
return
Tidalvess
;
251
case
DATA_CARIBDIS
:
252
return
Caribdis
;
253
case
DATA_LADYVASHJ
:
254
return
LadyVashj
;
255
case
DATA_KARATHRESS
:
256
return
Karathress
;
257
case
DATA_KARATHRESSEVENT_STARTER
:
258
return
KarathressEvent_Starter
;
259
case
DATA_LEOTHERAS
:
260
return
LeotherasTheBlind
;
261
case
DATA_LEOTHERAS_EVENT_STARTER
:
262
return
LeotherasEventStarter
;
263
default
:
264
break
;
265
}
266
return
0;
267
}
268
269
void
SetData
(
uint32
type,
uint32
data)
OVERRIDE
270
{
271
switch
(type)
272
{
273
case
DATA_STRANGE_POOL
:
274
StrangePool
= data;
275
break
;
276
case
DATA_CONTROL_CONSOLE
:
277
if
(data ==
DONE
)
278
{
279
HandleGameObject
(
BridgePart
[0],
true
);
280
HandleGameObject
(
BridgePart
[0],
true
);
281
HandleGameObject
(
BridgePart
[0],
true
);
282
}
283
ControlConsole
= data;
284
break
;
285
case
DATA_TRASH
:
286
if
(data == 1 &&
TrashCount
<
MIN_KILLS
)
287
++
TrashCount
;
//+1 died
288
SaveToDB
();
289
break
;
290
case
DATA_WATER
:
291
Water
= data;
292
break
;
293
case
DATA_HYDROSSTHEUNSTABLEEVENT
:
294
m_auiEncounter
[0] = data;
295
break
;
296
case
DATA_LEOTHERASTHEBLINDEVENT
:
297
m_auiEncounter
[1] = data;
298
break
;
299
case
DATA_THELURKERBELOWEVENT
:
300
m_auiEncounter
[2] = data;
301
break
;
302
case
DATA_KARATHRESSEVENT
:
303
m_auiEncounter
[3] = data;
304
break
;
305
case
DATA_MOROGRIMTIDEWALKEREVENT
:
306
m_auiEncounter
[4] = data;
307
break
;
308
//Lady Vashj
309
case
DATA_LADYVASHJEVENT
:
310
if
(data ==
NOT_STARTED
)
311
{
312
ShieldGeneratorDeactivated
[0] =
false
;
313
ShieldGeneratorDeactivated
[1] =
false
;
314
ShieldGeneratorDeactivated
[2] =
false
;
315
ShieldGeneratorDeactivated
[3] =
false
;
316
}
317
m_auiEncounter
[5] = data;
318
break
;
319
case
DATA_SHIELDGENERATOR1
:
320
ShieldGeneratorDeactivated
[0] = data != 0;
321
break
;
322
case
DATA_SHIELDGENERATOR2
:
323
ShieldGeneratorDeactivated
[1] = data != 0;
324
break
;
325
case
DATA_SHIELDGENERATOR3
:
326
ShieldGeneratorDeactivated
[2] = data != 0;
327
break
;
328
case
DATA_SHIELDGENERATOR4
:
329
ShieldGeneratorDeactivated
[3] = data != 0;
330
break
;
331
default
:
332
break
;
333
}
334
335
if
(data ==
DONE
)
336
SaveToDB
();
337
}
338
339
uint32
GetData
(
uint32
type)
const
OVERRIDE
340
{
341
switch
(type)
342
{
343
case
DATA_HYDROSSTHEUNSTABLEEVENT
:
344
return
m_auiEncounter
[0];
345
case
DATA_LEOTHERASTHEBLINDEVENT
:
346
return
m_auiEncounter
[1];
347
case
DATA_THELURKERBELOWEVENT
:
348
return
m_auiEncounter
[2];
349
case
DATA_KARATHRESSEVENT
:
350
return
m_auiEncounter
[3];
351
case
DATA_MOROGRIMTIDEWALKEREVENT
:
352
return
m_auiEncounter
[4];
353
//Lady Vashj
354
case
DATA_LADYVASHJEVENT
:
355
return
m_auiEncounter
[5];
356
case
DATA_SHIELDGENERATOR1
:
357
return
ShieldGeneratorDeactivated
[0];
358
case
DATA_SHIELDGENERATOR2
:
359
return
ShieldGeneratorDeactivated
[1];
360
case
DATA_SHIELDGENERATOR3
:
361
return
ShieldGeneratorDeactivated
[2];
362
case
DATA_SHIELDGENERATOR4
:
363
return
ShieldGeneratorDeactivated
[3];
364
case
DATA_CANSTARTPHASE3
:
365
if
(
ShieldGeneratorDeactivated
[0] &&
ShieldGeneratorDeactivated
[1] &&
ShieldGeneratorDeactivated
[2] &&
ShieldGeneratorDeactivated
[3])
366
return
1;
367
break
;
368
case
DATA_STRANGE_POOL
:
369
return
StrangePool
;
370
case
DATA_WATER
:
371
return
Water
;
372
default
:
373
break
;
374
}
375
376
return
0;
377
}
378
379
std::string
GetSaveData
()
OVERRIDE
380
{
381
OUT_SAVE_INST_DATA
;
382
std::ostringstream stream;
383
stream <<
m_auiEncounter
[0] <<
' '
<<
m_auiEncounter
[1] <<
' '
<<
m_auiEncounter
[2] <<
' '
384
<<
m_auiEncounter
[3] <<
' '
<<
m_auiEncounter
[4] <<
' '
<<
m_auiEncounter
[5] <<
' '
<<
TrashCount
;
385
OUT_SAVE_INST_DATA_COMPLETE
;
386
return
stream.str();
387
}
388
389
void
Load
(
const
char
* in)
OVERRIDE
390
{
391
if
(!in)
392
{
393
OUT_LOAD_INST_DATA_FAIL
;
394
return
;
395
}
396
397
OUT_LOAD_INST_DATA
(in);
398
std::istringstream stream(in);
399
stream >>
m_auiEncounter
[0] >>
m_auiEncounter
[1] >>
m_auiEncounter
[2] >>
m_auiEncounter
[3]
400
>>
m_auiEncounter
[4] >>
m_auiEncounter
[5] >>
TrashCount
;
401
402
for
(
uint8
i = 0; i <
MAX_ENCOUNTER
; ++i)
403
if
(
m_auiEncounter
[i] ==
IN_PROGRESS
)
// Do not load an encounter as "In Progress" - reset it instead.
404
m_auiEncounter
[i] =
NOT_STARTED
;
405
406
OUT_LOAD_INST_DATA_COMPLETE
;
407
}
408
409
private
:
410
uint64
LurkerBelow
;
411
uint64
Sharkkis
;
412
uint64
Tidalvess
;
413
uint64
Caribdis
;
414
uint64
LadyVashj
;
415
uint64
Karathress
;
416
uint64
KarathressEvent_Starter
;
417
uint64
LeotherasTheBlind
;
418
uint64
LeotherasEventStarter
;
419
420
uint64
ControlConsole
;
421
uint64
BridgePart
[3];
422
uint32
StrangePool
;
423
uint32
FishingTimer
;
424
uint32
WaterCheckTimer
;
425
uint32
FrenzySpawnTimer
;
426
uint32
Water
;
427
uint32
TrashCount
;
428
429
bool
ShieldGeneratorDeactivated
[4];
430
uint32
m_auiEncounter
[
MAX_ENCOUNTER
];
431
bool
DoSpawnFrenzy
;
432
};
433
434
InstanceScript
*
GetInstanceScript
(
InstanceMap
* map)
const
OVERRIDE
435
{
436
return
new
instance_serpentshrine_cavern_InstanceMapScript
(map);
437
}
438
};
439
440
void
AddSC_instance_serpentshrine_cavern
()
441
{
442
new
instance_serpent_shrine
();
443
new
go_bridge_console
();
444
}
uint8
std::uint8_t uint8
Definition
Define.h:79
uint32
std::uint32_t uint32
Definition
Define.h:77
OVERRIDE
#define OVERRIDE
Definition
Define.h:60
uint64
std::uint64_t uint64
Definition
Define.h:76
InstanceScript.h
OUT_LOAD_INST_DATA_FAIL
#define OUT_LOAD_INST_DATA_FAIL
Definition
InstanceScript.h:18
IN_PROGRESS
@ IN_PROGRESS
Definition
InstanceScript.h:47
DONE
@ DONE
Definition
InstanceScript.h:49
NOT_STARTED
@ NOT_STARTED
Definition
InstanceScript.h:46
OUT_SAVE_INST_DATA_COMPLETE
#define OUT_SAVE_INST_DATA_COMPLETE
Definition
InstanceScript.h:15
OUT_LOAD_INST_DATA_COMPLETE
#define OUT_LOAD_INST_DATA_COMPLETE
Definition
InstanceScript.h:17
OUT_SAVE_INST_DATA
#define OUT_SAVE_INST_DATA
Definition
InstanceScript.h:14
OUT_LOAD_INST_DATA
#define OUT_LOAD_INST_DATA(a)
Definition
InstanceScript.h:16
TempSummonType::TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
@ TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT
Definition
Object.h:71
Player.h
ScriptMgr.h
TemporarySummon.h
Misc
Misc
Definition
boss_occuthar.cpp:37
Creature
Definition
Creature.h:427
GameObject
Definition
GameObject.h:629
GameObjectScript::GameObjectScript
GameObjectScript(const char *name)
Definition
ScriptMgr.cpp:1442
InstanceMap
Definition
Map.h:637
InstanceMapScript::InstanceMapScript
InstanceMapScript(const char *name, uint32 mapId)
Definition
ScriptMgr.cpp:1412
InstanceScript
Definition
InstanceScript.h:123
InstanceScript::InstanceScript
InstanceScript(Map *map)
Definition
InstanceScript.h:125
InstanceScript::instance
Map * instance
Definition
InstanceScript.h:129
InstanceScript::SaveToDB
void SaveToDB()
Definition
InstanceScript.cpp:20
InstanceScript::HandleGameObject
void HandleGameObject(uint64 guid, bool open, GameObject *go=NULL)
Definition
InstanceScript.cpp:33
LinkedListHead::isEmpty
bool isEmpty() const
Definition
LinkedList.h:86
Map
Definition
Map.h:238
Map::PlayerList
MapRefManager PlayerList
Definition
Map.h:406
MapRefManager::end
iterator end()
Definition
MapRefManager.h:25
MapRefManager::begin
iterator begin()
Definition
MapRefManager.h:24
MapRefManager::const_iterator
LinkedListHead::Iterator< MapReference const > const_iterator
Definition
MapRefManager.h:17
Player
Definition
Player.h:1289
WorldObject::SummonCreature
TempSummon * SummonCreature(uint32 id, Position const &pos, TempSummonType spwtype=TempSummonType::TEMPSUMMON_MANUAL_DESPAWN, uint32 despwtime=0, uint32 vehId=0) const
Definition
Object.cpp:2703
ZoneScript::SetData
virtual void SetData(uint32, uint32)
Definition
ZoneScript.h:37
go_bridge_console
Definition
instance_serpent_shrine.cpp:50
go_bridge_console::OnGossipHello
bool OnGossipHello(Player *, GameObject *go) OVERRIDE
Definition
instance_serpent_shrine.cpp:54
go_bridge_console::go_bridge_console
go_bridge_console()
Definition
instance_serpent_shrine.cpp:52
instance_serpent_shrine
Definition
instance_serpent_shrine.cpp:69
instance_serpent_shrine::GetInstanceScript
InstanceScript * GetInstanceScript(InstanceMap *map) const OVERRIDE
Definition
instance_serpent_shrine.cpp:434
instance_serpent_shrine::instance_serpent_shrine
instance_serpent_shrine()
Definition
instance_serpent_shrine.cpp:71
DATA_TRASH
@ DATA_TRASH
Definition
hyjal.h:28
SPELL_SCALDINGWATER
@ SPELL_SCALDINGWATER
Definition
instance_serpent_shrine.cpp:24
NPC_COILFANG_PRIESTESS
@ NPC_COILFANG_PRIESTESS
Definition
instance_serpent_shrine.cpp:28
MIN_KILLS
@ MIN_KILLS
Definition
instance_serpent_shrine.cpp:32
NPC_COILFANG_SHATTERER
@ NPC_COILFANG_SHATTERER
Definition
instance_serpent_shrine.cpp:29
NPC_COILFANG_FRENZY
@ NPC_COILFANG_FRENZY
Definition
instance_serpent_shrine.cpp:27
MAX_ENCOUNTER
#define MAX_ENCOUNTER
Definition
instance_serpent_shrine.cpp:19
AddSC_instance_serpentshrine_cavern
void AddSC_instance_serpentshrine_cavern()
Definition
instance_serpent_shrine.cpp:440
serpent_shrine.h
WATERSTATE_SCALDING
@ WATERSTATE_SCALDING
Definition
serpent_shrine.h:13
WATERSTATE_FRENZY
@ WATERSTATE_FRENZY
Definition
serpent_shrine.h:12
DATA_LEOTHERAS
@ DATA_LEOTHERAS
Definition
serpent_shrine.h:37
DATA_CARIBDIS
@ DATA_CARIBDIS
Definition
serpent_shrine.h:19
DATA_LEOTHERAS_EVENT_STARTER
@ DATA_LEOTHERAS_EVENT_STARTER
Definition
serpent_shrine.h:38
DATA_KARATHRESSEVENT_STARTER
@ DATA_KARATHRESSEVENT_STARTER
Definition
serpent_shrine.h:23
DATA_HYDROSSTHEUNSTABLEEVENT
@ DATA_HYDROSSTHEUNSTABLEEVENT
Definition
serpent_shrine.h:20
DATA_SHIELDGENERATOR1
@ DATA_SHIELDGENERATOR1
Definition
serpent_shrine.h:29
DATA_SHIELDGENERATOR3
@ DATA_SHIELDGENERATOR3
Definition
serpent_shrine.h:31
DATA_SHIELDGENERATOR2
@ DATA_SHIELDGENERATOR2
Definition
serpent_shrine.h:30
DATA_KARATHRESS
@ DATA_KARATHRESS
Definition
serpent_shrine.h:21
DATA_STRANGE_POOL
@ DATA_STRANGE_POOL
Definition
serpent_shrine.h:40
DATA_CONTROL_CONSOLE
@ DATA_CONTROL_CONSOLE
Definition
serpent_shrine.h:39
DATA_LADYVASHJEVENT
@ DATA_LADYVASHJEVENT
Definition
serpent_shrine.h:25
DATA_TIDALVESS
@ DATA_TIDALVESS
Definition
serpent_shrine.h:35
DATA_KARATHRESSEVENT
@ DATA_KARATHRESSEVENT
Definition
serpent_shrine.h:22
DATA_THELURKERBELOWEVENT
@ DATA_THELURKERBELOWEVENT
Definition
serpent_shrine.h:34
DATA_LEOTHERASTHEBLINDEVENT
@ DATA_LEOTHERASTHEBLINDEVENT
Definition
serpent_shrine.h:26
DATA_WATER
@ DATA_WATER
Definition
serpent_shrine.h:41
DATA_CANSTARTPHASE3
@ DATA_CANSTARTPHASE3
Definition
serpent_shrine.h:18
DATA_SHIELDGENERATOR4
@ DATA_SHIELDGENERATOR4
Definition
serpent_shrine.h:32
DATA_LADYVASHJ
@ DATA_LADYVASHJ
Definition
serpent_shrine.h:24
DATA_THELURKERBELOW
@ DATA_THELURKERBELOW
Definition
serpent_shrine.h:33
DATA_MOROGRIMTIDEWALKEREVENT
@ DATA_MOROGRIMTIDEWALKEREVENT
Definition
serpent_shrine.h:27
DATA_SHARKKIS
@ DATA_SHARKKIS
Definition
serpent_shrine.h:28
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript
Definition
instance_serpent_shrine.cpp:74
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::ControlConsole
uint64 ControlConsole
Definition
instance_serpent_shrine.cpp:420
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::SetData64
void SetData64(uint32 type, uint64 data) OVERRIDE
Definition
instance_serpent_shrine.cpp:233
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Initialize
void Initialize() OVERRIDE
Definition
instance_serpent_shrine.cpp:79
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::KarathressEvent_Starter
uint64 KarathressEvent_Starter
Definition
instance_serpent_shrine.cpp:416
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Update
void Update(uint32 diff) OVERRIDE
Definition
instance_serpent_shrine.cpp:120
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Karathress
uint64 Karathress
Definition
instance_serpent_shrine.cpp:415
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::instance_serpentshrine_cavern_InstanceMapScript
instance_serpentshrine_cavern_InstanceMapScript(Map *map)
Definition
instance_serpent_shrine.cpp:75
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::GetData64
uint64 GetData64(uint32 identifier) const OVERRIDE
Definition
instance_serpent_shrine.cpp:241
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::LurkerBelow
uint64 LurkerBelow
Definition
instance_serpent_shrine.cpp:410
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Water
uint32 Water
Definition
instance_serpent_shrine.cpp:426
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::LeotherasTheBlind
uint64 LeotherasTheBlind
Definition
instance_serpent_shrine.cpp:417
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::FishingTimer
uint32 FishingTimer
Definition
instance_serpent_shrine.cpp:423
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Sharkkis
uint64 Sharkkis
Definition
instance_serpent_shrine.cpp:411
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::OnGameObjectCreate
void OnGameObjectCreate(GameObject *go) OVERRIDE
Definition
instance_serpent_shrine.cpp:178
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::FrenzySpawnTimer
uint32 FrenzySpawnTimer
Definition
instance_serpent_shrine.cpp:425
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::LadyVashj
uint64 LadyVashj
Definition
instance_serpent_shrine.cpp:414
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::LeotherasEventStarter
uint64 LeotherasEventStarter
Definition
instance_serpent_shrine.cpp:418
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Caribdis
uint64 Caribdis
Definition
instance_serpent_shrine.cpp:413
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::TrashCount
uint32 TrashCount
Definition
instance_serpent_shrine.cpp:427
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::StrangePool
uint32 StrangePool
Definition
instance_serpent_shrine.cpp:422
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::GetSaveData
std::string GetSaveData() OVERRIDE
Definition
instance_serpent_shrine.cpp:379
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::WaterCheckTimer
uint32 WaterCheckTimer
Definition
instance_serpent_shrine.cpp:424
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::DoSpawnFrenzy
bool DoSpawnFrenzy
Definition
instance_serpent_shrine.cpp:431
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Tidalvess
uint64 Tidalvess
Definition
instance_serpent_shrine.cpp:412
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::SetData
void SetData(uint32 type, uint32 data) OVERRIDE
Definition
instance_serpent_shrine.cpp:269
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::m_auiEncounter
uint32 m_auiEncounter[MAX_ENCOUNTER]
Definition
instance_serpent_shrine.cpp:430
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::OnCreatureCreate
void OnCreatureCreate(Creature *creature) OVERRIDE
Definition
instance_serpent_shrine.cpp:203
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::GetData
uint32 GetData(uint32 type) const OVERRIDE
Definition
instance_serpent_shrine.cpp:339
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::Load
void Load(const char *in) OVERRIDE
Definition
instance_serpent_shrine.cpp:389
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::ShieldGeneratorDeactivated
bool ShieldGeneratorDeactivated[4]
Definition
instance_serpent_shrine.cpp:429
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::BridgePart
uint64 BridgePart[3]
Definition
instance_serpent_shrine.cpp:421
instance_serpent_shrine::instance_serpentshrine_cavern_InstanceMapScript::IsEncounterInProgress
bool IsEncounterInProgress() const OVERRIDE
Definition
instance_serpent_shrine.cpp:111
src
server
scripts
Outland
CoilfangReservoir
SerpentShrine
instance_serpent_shrine.cpp
Generated on
for Project SkyFire Core by
1.17.0