Added script for GO 175944 by Sorken.
--HG-- branch : trunk
This commit is contained in:
@@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user