mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-27 23:56:25 +00:00
fix(Scripts/ZulGurub): Fixed Edge of Madness tablets. (#11959)
Based on @offl work. Fixes #11610
This commit is contained in:
@@ -24,7 +24,6 @@ go_sacred_fire_of_life
|
||||
go_shrine_of_the_birds
|
||||
go_southfury_moonstone
|
||||
go_resonite_cask
|
||||
go_tablet_of_madness
|
||||
go_tablet_of_the_seven
|
||||
go_tele_to_dalaran_crystal
|
||||
go_tele_to_violet_stand
|
||||
@@ -943,24 +942,6 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## go_tablet_of_madness
|
||||
######*/
|
||||
|
||||
class go_tablet_of_madness : public GameObjectScript
|
||||
{
|
||||
public:
|
||||
go_tablet_of_madness() : GameObjectScript("go_tablet_of_madness") { }
|
||||
|
||||
bool OnGossipHello(Player* player, GameObject* /*go*/) override
|
||||
{
|
||||
if (player->HasSkill(SKILL_ALCHEMY) && player->GetSkillValue(SKILL_ALCHEMY) >= 300 && !player->HasSpell(24266))
|
||||
player->CastSpell(player, 24267, false);
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## go_tablet_of_the_seven
|
||||
######*/
|
||||
@@ -1975,7 +1956,6 @@ void AddSC_go_scripts()
|
||||
new go_gilded_brazier();
|
||||
//new go_shrine_of_the_birds();
|
||||
new go_southfury_moonstone();
|
||||
new go_tablet_of_madness();
|
||||
new go_tablet_of_the_seven();
|
||||
new go_jump_a_tron();
|
||||
new go_sacred_fire_of_life();
|
||||
|
||||
Reference in New Issue
Block a user