mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2025-11-10 12:24:22 +08:00
Style : fix c++ codestyle
This commit is contained in:
parent
75d64cc8f6
commit
7a3e4066a3
@ -163,7 +163,7 @@ public:
|
||||
return;
|
||||
|
||||
Unit* target = owner->GetVictim();
|
||||
if (target)
|
||||
if (target)
|
||||
SetGazeOn(target);
|
||||
}
|
||||
|
||||
@ -181,7 +181,6 @@ public:
|
||||
}
|
||||
else changeElementTimer -= diff;
|
||||
|
||||
|
||||
if (!me->HasUnitState(UNIT_STATE_CASTING))
|
||||
{
|
||||
// Cast spell depending on the current element
|
||||
@ -192,7 +191,8 @@ public:
|
||||
return;
|
||||
case 1: // AIR
|
||||
// Can only cast lightning shield once
|
||||
if (!hasLightningShield) {
|
||||
if (!hasLightningShield)
|
||||
{
|
||||
me->CastSpell(me, SPELL_LIGHTNING_SHIELD, false);
|
||||
hasLightningShield = true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user