Added script for GO 175944 by Sorken.

--HG--
branch : trunk
This commit is contained in:
raczman
2009-03-27 20:28:17 +01:00
parent 6a0677fd03
commit 3a13ab502f
2 changed files with 20 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
UPDATE `gameobject_template` SET `scriptname` = 'go_sacred_fire_of_life' WHERE `entry` = 175944;
@@ -194,6 +194,20 @@ bool GOHello_go_ethereum_prison(Player *player, GameObject* _GO)
return true;
}
/*######
## go_sacred_fire_of_life
######*/
#define NPC_ARIKARA 10882
bool GOHello_go_sacred_fire_of_life(Player* pPlayer, GameObject* pGO)
{
if (pGO->GetGoType() == GAMEOBJECT_TYPE_GOOBER)
pPlayer->SummonCreature(NPC_ARIKARA, -5008.338, -2118.894, 83.657, 0.874, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT, 30000);
return true;
}
void AddSC_go_scripts()
{
Script *newscript;
@@ -253,5 +267,10 @@ void AddSC_go_scripts()
newscript->pGOHello = &GOHello_go_ethereum_prison;
newscript->RegisterSelf();
newscript = new Script;
newscript->Name = "go_sacred_fire_of_life";
newscript->pGOHello = &GOHello_go_sacred_fire_of_life;
newscript->RegisterSelf();
}