chore(Core/Misc): Some cleanup (#19970)

* remove weird blanks

* update if

* ) ) to ))

* missed some ) )

* now switch

* .
This commit is contained in:
Kitzunu
2024-09-21 19:34:31 +02:00
committed by GitHub
parent 0ba59c0053
commit 386aea03ee
157 changed files with 1606 additions and 1616 deletions

View File

@@ -87,7 +87,7 @@ struct boss_omor_the_unscarred : public BossAI
void KilledUnit(Unit*) override
{
if(!_hasSpoken)
if (!_hasSpoken)
{
_hasSpoken = true;
Talk(SAY_KILL);

View File

@@ -215,7 +215,7 @@ struct boss_magtheridon : public BossAI
});
}
}
else if (action == ACTION_BANISH_SELF )
else if (action == ACTION_BANISH_SELF)
{
Talk(SAY_BANISH);
me->CastSpell(me, SPELL_SHADOW_CAGE_STUN, true);

View File

@@ -271,7 +271,7 @@ struct boss_grand_warlock_nethekurse : public BossAI
{
// check if door is openened
//this should only happen before the intro, if the door is picked by someone
if(nethekursedoor->GetGoState() == 0)
if (nethekursedoor->GetGoState() == 0)
{
DoAction(ACTION_START_INTRO);
}