refactor(Core/Scripts): restyle scripts lib with astyle (#3467)

This commit is contained in:
Kargatum
2020-10-11 15:35:34 +07:00
committed by GitHub
parent 4cca286a4d
commit 5e20b46812
538 changed files with 92888 additions and 91297 deletions

View File

@@ -113,7 +113,7 @@ public:
{
case EVENT_SOUL_CORRUPTION:
DoCastVictim(SPELL_SOUL_CORRUPTION);
_events.ScheduleEvent(EVENT_SOUL_CORRUPTION, rand()%4000+15000);
_events.ScheduleEvent(EVENT_SOUL_CORRUPTION, rand() % 4000 + 15000);
break;
case EVENT_CREATURE_OF_NIGHTMARE:
if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 1, 100, true))
@@ -127,10 +127,10 @@ public:
DoMeleeAttackIfReady();
}
private:
EventMap _events;
uint8 KillCount;
bool _introSpoken;
private:
EventMap _events;
uint8 KillCount;
bool _introSpoken;
};
CreatureAI* GetAI(Creature* creature) const