mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-05 00:19:59 +01:00
@@ -30,6 +30,7 @@ npc_daranelle
|
||||
npc_overseer_nuaar
|
||||
npc_saikkal_the_elder
|
||||
go_legion_obelisk
|
||||
go_thunderspike
|
||||
EndContentData */
|
||||
|
||||
#include "ScriptPCH.h"
|
||||
@@ -537,9 +538,32 @@ public:
|
||||
};
|
||||
|
||||
/*######
|
||||
## AddSC
|
||||
## go_thunderspike
|
||||
######*/
|
||||
|
||||
enum TheThunderspike
|
||||
{
|
||||
NPC_GOR_GRIMGUT = 21319,
|
||||
QUEST_THUNDERSPIKE = 10526,
|
||||
};
|
||||
|
||||
class go_thunderspike : public GameObjectScript
|
||||
{
|
||||
public:
|
||||
go_thunderspike() : GameObjectScript("go_thunderspike") { }
|
||||
|
||||
bool OnGossipHello(Player* player, GameObject* go)
|
||||
{
|
||||
if (player->GetQuestStatus(QUEST_THUNDERSPIKE) == QUEST_STATUS_INCOMPLETE)
|
||||
{
|
||||
if (Creature* gorGrimgut = go->SummonCreature(NPC_GOR_GRIMGUT, -2413.4f, 6914.48f, 25.01f, 3.67f, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 300000))
|
||||
gorGrimgut->AI()->AttackStart(player);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
};
|
||||
|
||||
void AddSC_blades_edge_mountains()
|
||||
{
|
||||
new mobs_bladespire_ogre();
|
||||
@@ -550,4 +574,5 @@ void AddSC_blades_edge_mountains()
|
||||
new go_legion_obelisk();
|
||||
new npc_bloodmaul_brutebane();
|
||||
new npc_ogre_brute();
|
||||
new go_thunderspike();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user