aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/bindings/scripts/scripts/go/go_scripts.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/bindings/scripts/scripts/go/go_scripts.cpp b/src/bindings/scripts/scripts/go/go_scripts.cpp
index 2a40a1352cb..9b775a3ef98 100644
--- a/src/bindings/scripts/scripts/go/go_scripts.cpp
+++ b/src/bindings/scripts/scripts/go/go_scripts.cpp
@@ -158,6 +158,18 @@ bool GOHello_go_teleporter(Player *player, GameObject* _GO)
return false;
}
+/*#####
+## go_jump_a_tron
+######*/
+
+bool GOHello_go_jump_a_tron(Player *player, GameObject* _GO)
+{
+ if (player->GetQuestStatus(10111) == QUEST_STATUS_INCOMPLETE)
+ player->CastSpell(player,33382,true);
+
+ return true;
+}
+
void AddSC_go_scripts()
{
Script *newscript;
@@ -206,5 +218,10 @@ void AddSC_go_scripts()
newscript->Name="go_teleporter";
newscript->pGOHello = &GOHello_go_teleporter;
newscript->RegisterSelf();
+
+ newscript = new Script;
+ newscript->Name="go_jump_a_tron";
+ newscript->pGOHello = &GOHello_go_jump_a_tron;
+ newscript->RegisterSelf();
}