mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
DB/GameObject: Convert & update support for Jump-a-tron 4000 to DB script
Closes #24668
(cherry picked from commit 6b9a14ca94)
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
--
|
||||
DELETE FROM `event_scripts` WHERE `id`=12275;
|
||||
INSERT INTO `event_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`) VALUES
|
||||
(12275,0,15,33382,3,0,0,0,0,0);
|
||||
@@ -151,34 +151,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
/*#####
|
||||
## go_jump_a_tron
|
||||
######*/
|
||||
|
||||
class go_jump_a_tron : public GameObjectScript
|
||||
{
|
||||
public:
|
||||
go_jump_a_tron() : GameObjectScript("go_jump_a_tron") { }
|
||||
|
||||
struct go_jump_a_tronAI : public GameObjectAI
|
||||
{
|
||||
go_jump_a_tronAI(GameObject* go) : GameObjectAI(go) { }
|
||||
|
||||
bool GossipHello(Player* player) override
|
||||
{
|
||||
if (player->GetQuestStatus(10111) == QUEST_STATUS_INCOMPLETE)
|
||||
player->CastSpell(player, 33382, true);
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
GameObjectAI* GetAI(GameObject* go) const override
|
||||
{
|
||||
return new go_jump_a_tronAI(go);
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## go_ethereum_prison
|
||||
######*/
|
||||
@@ -1732,7 +1704,6 @@ void AddSC_go_scripts()
|
||||
new go_southfury_moonstone();
|
||||
new go_tablet_of_madness();
|
||||
new go_tablet_of_the_seven();
|
||||
new go_jump_a_tron();
|
||||
new go_ethereum_prison();
|
||||
new go_ethereum_stasis();
|
||||
new go_resonite_cask();
|
||||
|
||||
Reference in New Issue
Block a user