fix(DB/SAI): Rework quest The Lost Mistwhisper Treasure. (#24158)

This commit is contained in:
Rocco Silipo
2025-12-19 04:25:53 +01:00
committed by GitHub
parent 3e67f33fdf
commit 22d41bad5d
2 changed files with 56 additions and 20 deletions

View File

@@ -41,25 +41,6 @@ public:
}
};
class go_mistwhisper_treasure : public GameObjectScript
{
public:
go_mistwhisper_treasure() : GameObjectScript("go_mistwhisper_treasure") { }
bool OnGossipHello(Player* pPlayer, GameObject* go) override
{
if (!go->FindNearestCreature(28105, 30.0f)) // Tartek
{
if (Creature* cr = go->SummonCreature(28105, 6708.7f, 5115.45f, -18.3f, 0.7f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000))
{
cr->Yell("My treasure! You no steal from Tartek, dumb big-tongue traitor thing. Tartek and nasty dragon going to kill you! You so dumb.", LANG_UNIVERSAL);
cr->AI()->AttackStart(pPlayer);
}
}
return false;
}
};
class go_witherbark_totem_bundle : public GameObjectScript
{
public:
@@ -1896,7 +1877,6 @@ public:
void AddSC_go_scripts()
{
new go_seer_of_zebhalak();
new go_mistwhisper_treasure();
new go_witherbark_totem_bundle();
new go_arena_ready_marker();
new go_ethereum_prison();