mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 19:31:59 +01:00
*Implement Blood Filled Orb GO script, for quest The Path of the Adept. Closes #290
--HG-- branch : trunk
This commit is contained in:
@@ -877,6 +877,7 @@ UPDATE `creature_template` SET `ScriptName`='npc_shenthul' WHERE `entry`=3401;
|
||||
UPDATE `creature_template` SET `ScriptName`='npc_thrall_warchief' WHERE `entry`=4949;
|
||||
|
||||
/* RAGEFIRE CHASM */
|
||||
UPDATE `gameobject_template` SET `ScriptName`='go_blood_filled_orb' WHERE `entry`=182024;
|
||||
|
||||
/* RAZORFEN DOWNS */
|
||||
UPDATE `creature_template` SET `ScriptName`='boss_amnennar_the_coldbringer' WHERE `entry`=7358;
|
||||
|
||||
2
sql/updates/6357_world_scripts.sql
Normal file
2
sql/updates/6357_world_scripts.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
UPDATE `gameobject_template` SET `ScriptName`='go_blood_filled_orb' WHERE `entry`=182024;
|
||||
@@ -530,6 +530,10 @@ bool GOHello_go_matrix_punchograph(Player *pPlayer, GameObject *pGO)
|
||||
return false;
|
||||
}
|
||||
|
||||
/*######
|
||||
## go_rusty_cage
|
||||
######*/
|
||||
|
||||
enum eRustyCage
|
||||
{
|
||||
NPC_GOBLIN_PRISIONER = 29466
|
||||
@@ -547,6 +551,10 @@ bool GOHello_go_rusty_cage(Player *pPlayer, GameObject *pGO)
|
||||
return true;
|
||||
}
|
||||
|
||||
/*######
|
||||
## go_scourge_cage
|
||||
######*/
|
||||
|
||||
enum eScourgeCage
|
||||
{
|
||||
NPC_SCOURGE_PRISONER = 25610
|
||||
@@ -564,6 +572,10 @@ bool GOHello_go_scourge_cage(Player *pPlayer, GameObject *pGO)
|
||||
return true;
|
||||
}
|
||||
|
||||
/*######
|
||||
## go_arcane_prison
|
||||
######*/
|
||||
|
||||
enum eArcanePrison
|
||||
{
|
||||
QUEST_PRISON_BREAK = 11587,
|
||||
@@ -581,6 +593,20 @@ bool GOHello_go_arcane_prison(Player *pPlayer, GameObject *pGO)
|
||||
return false;
|
||||
}
|
||||
|
||||
/*######
|
||||
## go_blood_filled_orb
|
||||
######*/
|
||||
|
||||
#define NPC_ZELEMAR 17830
|
||||
|
||||
bool GOHello_go_blood_filled_orb(Player *pPlayer, GameObject *pGO)
|
||||
{
|
||||
if (pGO->GetGoType() == GAMEOBJECT_TYPE_GOOBER)
|
||||
pPlayer->SummonCreature(NPC_ZELEMAR, -369.746, 166.759, -21.50, 5.235, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void AddSC_go_scripts()
|
||||
{
|
||||
Script *newscript;
|
||||
@@ -710,5 +736,10 @@ void AddSC_go_scripts()
|
||||
newscript->Name = "go_arcane_prison";
|
||||
newscript->pGOHello = &GOHello_go_arcane_prison;
|
||||
newscript->RegisterSelf();
|
||||
|
||||
newscript = new Script;
|
||||
newscript->Name = "go_blood_filled_orb";
|
||||
newscript->pGOHello = &GOHello_go_blood_filled_orb;
|
||||
newscript->RegisterSelf();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user