diff options
author | maximius <none@none> | 2009-11-21 19:25:29 -0800 |
---|---|---|
committer | maximius <none@none> | 2009-11-21 19:25:29 -0800 |
commit | 946a32a6ba2a5d5b7de0bec2642885501c8db97e (patch) | |
tree | 8dd571320187e9edf6e16f989fdecc7406ef6973 /src | |
parent | 2b8e315218a1b423bad2c3525f63f75aa7fd2f95 (diff) |
*Implement Blood Filled Orb GO script, for quest The Path of the Adept. Closes #290
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/bindings/scripts/scripts/world/go_scripts.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/bindings/scripts/scripts/world/go_scripts.cpp b/src/bindings/scripts/scripts/world/go_scripts.cpp index 84a603f1705..9f6b90f6af0 100644 --- a/src/bindings/scripts/scripts/world/go_scripts.cpp +++ b/src/bindings/scripts/scripts/world/go_scripts.cpp @@ -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(); } |