Added script for GO 183146. By McBitter.
--HG-- branch : trunk
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
UPDATE `gameobject_template` SET `ScriptName` = 'go_jump_a_tron' WHERE `entry` = 183146;
|
||||||
@@ -158,6 +158,18 @@ bool GOHello_go_teleporter(Player *player, GameObject* _GO)
|
|||||||
return false;
|
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()
|
void AddSC_go_scripts()
|
||||||
{
|
{
|
||||||
Script *newscript;
|
Script *newscript;
|
||||||
@@ -206,5 +218,10 @@ void AddSC_go_scripts()
|
|||||||
newscript->Name="go_teleporter";
|
newscript->Name="go_teleporter";
|
||||||
newscript->pGOHello = &GOHello_go_teleporter;
|
newscript->pGOHello = &GOHello_go_teleporter;
|
||||||
newscript->RegisterSelf();
|
newscript->RegisterSelf();
|
||||||
|
|
||||||
|
newscript = new Script;
|
||||||
|
newscript->Name="go_jump_a_tron";
|
||||||
|
newscript->pGOHello = &GOHello_go_jump_a_tron;
|
||||||
|
newscript->RegisterSelf();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user