[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
This commit is contained in:
@@ -153,7 +153,7 @@ public:
|
||||
c->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); //set it only once on Creature create (no need do intro if wiped)
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
|
||||
uint64 ShieldGeneratorChannel[4];
|
||||
|
||||
@@ -451,8 +451,8 @@ public:
|
||||
{
|
||||
bool InMeleeRange = false;
|
||||
Unit* target;
|
||||
std::list<HostileReference *> t_list = me->getThreatManager().getThreatList();
|
||||
for (std::list<HostileReference *>::const_iterator itr = t_list.begin(); itr!= t_list.end(); ++itr)
|
||||
std::list<HostileReference*> t_list = me->getThreatManager().getThreatList();
|
||||
for (std::list<HostileReference*>::const_iterator itr = t_list.begin(); itr!= t_list.end(); ++itr)
|
||||
{
|
||||
target = Unit::GetUnit(*me, (*itr)->getUnitGuid());
|
||||
//if in melee range
|
||||
@@ -592,7 +592,7 @@ public:
|
||||
pInstance = c->GetInstanceScript();
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
uint32 move;
|
||||
uint32 phase;
|
||||
float x, y, z;
|
||||
@@ -694,7 +694,7 @@ public:
|
||||
pInstance = c->GetInstanceScript();
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
|
||||
uint32 PoisonBolt_Timer;
|
||||
uint32 Despawn_Timer;
|
||||
@@ -770,7 +770,7 @@ public:
|
||||
EnterEvadeMode();
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
|
||||
uint32 movement_timer;
|
||||
uint32 ToxicSpore_Timer;
|
||||
@@ -927,7 +927,7 @@ public:
|
||||
pInstance = c->GetInstanceScript();
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
uint32 Check_Timer;
|
||||
bool Casted;
|
||||
void Reset()
|
||||
@@ -976,7 +976,7 @@ public:
|
||||
|
||||
bool OnUse(Player* player, Item* /*_Item*/, SpellCastTargets const& targets)
|
||||
{
|
||||
InstanceScript *pInstance = player->GetInstanceScript();
|
||||
InstanceScript* pInstance = player->GetInstanceScript();
|
||||
|
||||
if (!pInstance)
|
||||
{
|
||||
|
||||
+7
-7
@@ -180,7 +180,7 @@ public:
|
||||
SpellBinderGUID[i] = 0;
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
|
||||
uint32 Whirlwind_Timer;
|
||||
uint32 ChaosBlast_Timer;
|
||||
@@ -507,16 +507,16 @@ public:
|
||||
//Summon Inner Demon
|
||||
if (InnerDemons_Timer <= diff)
|
||||
{
|
||||
std::list<HostileReference *>& ThreatList = me->getThreatManager().getThreatList();
|
||||
std::vector<Unit* > TargetList;
|
||||
for (std::list<HostileReference *>::const_iterator itr = ThreatList.begin(); itr != ThreatList.end(); ++itr)
|
||||
std::list<HostileReference*>& ThreatList = me->getThreatManager().getThreatList();
|
||||
std::vector<Unit*> TargetList;
|
||||
for (std::list<HostileReference*>::const_iterator itr = ThreatList.begin(); itr != ThreatList.end(); ++itr)
|
||||
{
|
||||
Unit* tempTarget = Unit::GetUnit(*me, (*itr)->getUnitGuid());
|
||||
if (tempTarget && tempTarget->GetTypeId() == TYPEID_PLAYER && tempTarget->GetGUID() != me->getVictim()->GetGUID() && TargetList.size()<5)
|
||||
TargetList.push_back(tempTarget);
|
||||
}
|
||||
//SpellInfo *spell = GET_SPELL(SPELL_INSIDIOUS_WHISPER);
|
||||
for (std::vector<Unit* >::const_iterator itr = TargetList.begin(); itr != TargetList.end(); ++itr)
|
||||
//SpellInfo* spell = GET_SPELL(SPELL_INSIDIOUS_WHISPER);
|
||||
for (std::vector<Unit*>::const_iterator itr = TargetList.begin(); itr != TargetList.end(); ++itr)
|
||||
{
|
||||
if ((*itr) && (*itr)->isAlive())
|
||||
{
|
||||
@@ -680,7 +680,7 @@ public:
|
||||
AddedBanish = false;
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
|
||||
uint64 leotherasGUID;
|
||||
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@ public:
|
||||
|
||||
InstanceScript* pInstance;
|
||||
|
||||
Map::PlayerList const *PlayerList;
|
||||
Map::PlayerList const* PlayerList;
|
||||
|
||||
uint32 TidalWave_Timer;
|
||||
uint32 WateryGrave_Timer;
|
||||
|
||||
+1
-1
@@ -63,7 +63,7 @@ public:
|
||||
pInstance = c->GetInstanceScript();
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
|
||||
uint32 LightningCloud_Timer;
|
||||
uint32 LungBurst_Timer;
|
||||
|
||||
+1
-1
@@ -65,7 +65,7 @@ public:
|
||||
pInstance = c->GetInstanceScript();
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
|
||||
uint32 Shrink_Timer;
|
||||
uint32 Saw_Blade_Timer;
|
||||
|
||||
@@ -59,7 +59,7 @@ public:
|
||||
pInstance = c->GetInstanceScript();
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
|
||||
void Reset()
|
||||
{
|
||||
@@ -117,7 +117,7 @@ public:
|
||||
pInstance = c->GetInstanceScript();
|
||||
}
|
||||
|
||||
InstanceScript *pInstance;
|
||||
InstanceScript* pInstance;
|
||||
|
||||
uint32 Reflection_Timer;
|
||||
uint32 Impale_Timer;
|
||||
@@ -148,7 +148,7 @@ public:
|
||||
DoScriptText(RAND(SAY_SLAY1, SAY_SLAY2), me);
|
||||
}
|
||||
|
||||
void SpellHit(Unit* /*caster*/, const SpellInfo *spell)
|
||||
void SpellHit(Unit* /*caster*/, const SpellInfo* spell)
|
||||
{
|
||||
//hack :(
|
||||
if (spell->Id == SPELL_WARLORDS_RAGE_PROC)
|
||||
|
||||
Reference in New Issue
Block a user