1717/* ScriptData
1818SDName: GO_Scripts
1919SD%Complete: 100
20- SDComment: Quest support: 5088, 5097, 5098, 5381, 6481 , 10990, 10991, 10992, 12557, 14092/14076. Barov_journal->Teaches spell 26089
20+ SDComment: Quest support: 5097, 5098, 10990, 10991, 10992, 12557, 14092/14076. Barov_journal->Teaches spell 26089
2121SDCategory: Game Objects
2222EndScriptData */
2323
2424/* ContentData
25- go_cat_figurine (the "trap" version of GO, two different exist)
2625go_barov_journal
2726go_ethereum_prison
2827go_ethereum_stasis
2928go_mysterious_snow_mound
30- go_resonite_cask
31- go_sacred_fire_of_life
3229go_shrine_of_the_birds
3330go_tele_to_dalaran_crystal
3431go_tele_to_violet_stand
3532go_andorhal_tower
3633go_scourge_enclosure
3734go_lab_work_reagents
38- go_hand_of_iruxos_crystal
3935EndContentData */
4036
4137#include " precompiled.h"
4238
43- /* ######
44- ## go_cat_figurine
45- ######*/
46-
47- enum
48- {
49- SPELL_SUMMON_GHOST_SABER = 5968 ,
50- };
51-
52- bool GOUse_go_cat_figurine (Player* pPlayer, GameObject* pGo)
53- {
54- pPlayer->CastSpell (pPlayer, SPELL_SUMMON_GHOST_SABER , true );
55- return false ;
56- }
57-
5839/* ######
5940## go_barov_journal
6041######*/
@@ -156,26 +137,6 @@ bool GOUse_go_ethereum_stasis(Player* pPlayer, GameObject* pGo)
156137 return false ;
157138}
158139
159- /* ######
160- ## go_gilded_brazier
161- ######*/
162-
163- enum
164- {
165- NPC_STILLBLADE = 17716 ,
166- };
167-
168- bool GOUse_go_gilded_brazier (Player* pPlayer, GameObject* pGO)
169- {
170- if (pGO->GetGoType () == GAMEOBJECT_TYPE_GOOBER )
171- {
172- if (Creature* pCreature = pPlayer->SummonCreature (NPC_STILLBLADE , 8087 .632f , -7542 .740f , 151 .568f , 0 .122f , TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT , 5000 ))
173- pCreature->AI ()->AttackStart (pPlayer);
174- }
175-
176- return true ;
177- }
178-
179140/* ######
180141## go_jump_a_tron
181142######*/
@@ -224,40 +185,6 @@ bool GOUse_go_mysterious_snow_mound(Player* pPlayer, GameObject* pGo)
224185 return true ;
225186}
226187
227- /* ######
228- ## go_resonite_cask
229- ######*/
230-
231- enum
232- {
233- NPC_GOGGEROC = 11920
234- };
235-
236- bool GOUse_go_resonite_cask (Player* pPlayer, GameObject* pGO)
237- {
238- if (pGO->GetGoType () == GAMEOBJECT_TYPE_GOOBER )
239- pGO->SummonCreature (NPC_GOGGEROC , 0 .0f , 0 .0f , 0 .0f , 0 .0f , TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT , 300000 );
240-
241- return false ;
242- }
243-
244- /* ######
245- ## go_sacred_fire_of_life
246- ######*/
247-
248- enum
249- {
250- NPC_ARIKARA = 10882 ,
251- };
252-
253- bool GOUse_go_sacred_fire_of_life (Player* pPlayer, GameObject* pGO)
254- {
255- if (pGO->GetGoType () == GAMEOBJECT_TYPE_GOOBER )
256- pPlayer->SummonCreature (NPC_ARIKARA , -5008 .338f , -2118 .894f , 83 .657f , 0 .874f , TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT , 30000 );
257-
258- return true ;
259- }
260-
261188/* ######
262189## go_shrine_of_the_birds
263190######*/
@@ -329,24 +256,6 @@ bool GOUse_go_tele_to_violet_stand(Player* pPlayer, GameObject* pGo)
329256 return true ;
330257}
331258
332- enum
333- {
334- NPC_ZELEMAR_THE_WRATHFULL = 17830 ,
335- SAY_AGGRO = -1000579
336- };
337-
338- float Position[4 ] = {-327 .99f , 221 .74f , -20 .31f , 3 .87f };
339-
340- bool GOUse_go_blood_filled_orb (Player* pPlayer, GameObject* pGo)
341- {
342- if (Creature* pZelemar = pGo->SummonCreature (NPC_ZELEMAR_THE_WRATHFULL , Position[0 ], Position[1 ], Position[2 ], Position[3 ], TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT , 30000 ))
343- {
344- DoScriptText (SAY_AGGRO , pZelemar);
345- pZelemar->AI ()->AttackStart (pPlayer);
346- }
347- return false ;
348- }
349-
350259/* ######
351260## go_andorhal_tower
352261######*/
@@ -448,39 +357,10 @@ bool GOUse_go_lab_work_reagents(Player* pPlayer, GameObject* pGo)
448357 return false ;
449358}
450359
451- /* ######
452- ## go_hand_of_iruxos_crystal
453- ######*/
454-
455- /* TODO
456- * Actually this script is extremely vague, but as long as there is no valid information
457- * hidden in some dark places, this will be the best we can do here :(
458- * Do not consider this a well proven script.
459- */
460-
461- enum
462- {
463- // QUEST_HAND_OF_IRUXOS = 5381,
464- NPC_IRUXOS = 11876 ,
465- };
466-
467- bool GOUse_go_hand_of_iruxos_crystal (Player* pPlayer, GameObject* pGo)
468- {
469- if (Creature* pIruxos = pGo->SummonCreature (NPC_IRUXOS , 0 .0f , 0 .0f , 0 .0f , pPlayer->GetOrientation () + M_PI_F , TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT , 20000 ))
470- pIruxos->AI ()->AttackStart (pPlayer);
471-
472- return false ;
473- }
474-
475360void AddSC_go_scripts ()
476361{
477362 Script* pNewScript;
478363
479- pNewScript = new Script;
480- pNewScript->Name = " go_cat_figurine" ;
481- pNewScript->pGOUse = &GOUse_go_cat_figurine;
482- pNewScript->RegisterSelf ();
483-
484364 pNewScript = new Script;
485365 pNewScript->Name = " go_barov_journal" ;
486366 pNewScript->pGOUse = &GOUse_go_barov_journal;
@@ -496,11 +376,6 @@ void AddSC_go_scripts()
496376 pNewScript->pGOUse = &GOUse_go_ethereum_stasis;
497377 pNewScript->RegisterSelf ();
498378
499- pNewScript = new Script;
500- pNewScript->Name = " go_gilded_brazier" ;
501- pNewScript->pGOUse = &GOUse_go_gilded_brazier;
502- pNewScript->RegisterSelf ();
503-
504379 pNewScript = new Script;
505380 pNewScript->Name = " go_jump_a_tron" ;
506381 pNewScript->pGOUse = &GOUse_go_jump_a_tron;
@@ -511,16 +386,6 @@ void AddSC_go_scripts()
511386 pNewScript->pGOUse = &GOUse_go_mysterious_snow_mound;
512387 pNewScript->RegisterSelf ();
513388
514- pNewScript = new Script;
515- pNewScript->Name = " go_resonite_cask" ;
516- pNewScript->pGOUse = &GOUse_go_resonite_cask;
517- pNewScript->RegisterSelf ();
518-
519- pNewScript = new Script;
520- pNewScript->Name = " go_sacred_fire_of_life" ;
521- pNewScript->pGOUse = &GOUse_go_sacred_fire_of_life;
522- pNewScript->RegisterSelf ();
523-
524389 pNewScript = new Script;
525390 pNewScript->Name = " go_shrine_of_the_birds" ;
526391 pNewScript->pGOUse = &GOUse_go_shrine_of_the_birds;
@@ -536,11 +401,6 @@ void AddSC_go_scripts()
536401 pNewScript->pGOUse = &GOUse_go_tele_to_violet_stand;
537402 pNewScript->RegisterSelf ();
538403
539- pNewScript = new Script;
540- pNewScript->Name = " go_blood_filled_orb" ;
541- pNewScript->pGOUse = &GOUse_go_blood_filled_orb;
542- pNewScript->RegisterSelf ();
543-
544404 pNewScript = new Script;
545405 pNewScript->Name = " go_andorhal_tower" ;
546406 pNewScript->pGOUse = &GOUse_go_andorhal_tower;
@@ -555,9 +415,4 @@ void AddSC_go_scripts()
555415 pNewScript->Name = " go_lab_work_reagents" ;
556416 pNewScript->pGOUse = &GOUse_go_lab_work_reagents;
557417 pNewScript->RegisterSelf ();
558-
559- pNewScript = new Script;
560- pNewScript->Name = " go_hand_of_iruxos_crystal" ;
561- pNewScript->pGOUse = &GOUse_go_hand_of_iruxos_crystal;
562- pNewScript->RegisterSelf ();
563418}
0 commit comments