mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Support for quest 'Hand of Iruxos' (5183) by dracula70
--HG-- branch : trunk
This commit is contained in:
@@ -465,6 +465,8 @@ UPDATE `creature_template` SET `ScriptName`='npc_alexstrasza_wr_gate' WHERE `ent
|
||||
|
||||
/* DESOLACE */
|
||||
UPDATE `creature_template` SET `ScriptName`='npc_aged_dying_ancient_kodo' WHERE `entry` IN (4700,4701,4702,11627);
|
||||
UPDATE `gameobject_template` SET `ScriptName` = 'go_iruxos' WHERE `entry` = 176581;
|
||||
|
||||
|
||||
/* DIRE MAUL */
|
||||
|
||||
|
||||
1
sql/updates/6013_world_scripts.sql
Normal file
1
sql/updates/6013_world_scripts.sql
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `gameobject_template` SET `ScriptName` = 'go_iruxos' WHERE `entry` = 176581;
|
||||
@@ -157,6 +157,20 @@ bool GossipHello_npc_aged_dying_ancient_kodo(Player* pPlayer, Creature* pCreatur
|
||||
return true;
|
||||
}
|
||||
|
||||
/*######
|
||||
## go_iruxos. Quest 5381
|
||||
######*/
|
||||
|
||||
bool GOHello_go_iruxos(Player *player, GameObject* _GO)
|
||||
{
|
||||
if (player->GetQuestStatus(5381) == QUEST_STATUS_INCOMPLETE)
|
||||
{
|
||||
player->SummonCreature(11876, player->GetInnPosX(),player->GetInnPosY(),player->GetInnPosZ(),0,TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT,10000);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void AddSC_desolace()
|
||||
{
|
||||
Script *newscript;
|
||||
@@ -167,4 +181,9 @@ void AddSC_desolace()
|
||||
newscript->pEffectDummyCreature = &EffectDummyCreature_npc_aged_dying_ancient_kodo;
|
||||
newscript->pGossipHello = &GossipHello_npc_aged_dying_ancient_kodo;
|
||||
newscript->RegisterSelf();
|
||||
|
||||
newscript = new Script;
|
||||
newscript->Name = "go_iruxos";
|
||||
newscript->pGOHello = &GOHello_go_iruxos;
|
||||
newscript->RegisterSelf();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user