Code style (game + scripts only):
"( " --> "("
" )" --> ")"
--HG--
branch : trunk
This commit is contained in:
@@ -410,7 +410,7 @@ struct mob_rune_of_summoningAI : public ScriptedAI
|
||||
|
||||
void SummonLightningElemental()
|
||||
{
|
||||
m_creature->SummonCreature(CREATURE_RUNE_OF_SUMMONING, m_creature->GetPositionX(), m_creature->GetPositionY(), m_creature->GetPositionZ(), 0, TEMPSUMMON_CORPSE_DESPAWN );
|
||||
m_creature->SummonCreature(CREATURE_RUNE_OF_SUMMONING, m_creature->GetPositionX(), m_creature->GetPositionY(), m_creature->GetPositionZ(), 0, TEMPSUMMON_CORPSE_DESPAWN);
|
||||
m_creature->DealDamage(m_creature, m_creature->GetHealth());
|
||||
}
|
||||
};
|
||||
|
||||
@@ -21,7 +21,7 @@ The teleporter appears to be active and stable.
|
||||
#define WALKWAY 205
|
||||
#define CONSERVATORY 206
|
||||
|
||||
bool GoHello_ulduar_teleporter( Player *pPlayer, GameObject *pGO )
|
||||
bool GoHello_ulduar_teleporter(Player *pPlayer, GameObject *pGO)
|
||||
{
|
||||
ScriptedInstance *pInstance = pGO->GetInstanceData();
|
||||
if (!pInstance) return true;
|
||||
@@ -48,7 +48,7 @@ bool GoHello_ulduar_teleporter( Player *pPlayer, GameObject *pGO )
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GOSelect_ulduar_teleporter( Player *pPlayer, GameObject *pGO, uint32 sender, uint32 action )
|
||||
bool GOSelect_ulduar_teleporter(Player *pPlayer, GameObject *pGO, uint32 sender, uint32 action)
|
||||
{
|
||||
if (sender != GOSSIP_SENDER_MAIN) return true;
|
||||
if (!pPlayer->getAttackers().empty()) return true;
|
||||
|
||||
Reference in New Issue
Block a user