Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
boss_commander_kolurg.cpp
Go to the documentation of this file.
1/*
2* This file is part of Project SkyFire https://www.projectskyfire.org.
3* See LICENSE.md file for Copyright information
4*/
5
6/* Script Data Start
7SDName: Boss Commander Kolurg
8SDAuthor: LordVanMartin
9SD%Complete:
10SDComment: Only Alliance Heroic
11SDCategory:
12Script Data End */
13
14#include "ScriptMgr.h"
15#include "ScriptedCreature.h"
16
25
26//not used
27//Yell
28#define SAY_AGGRO -1576024
29#define SAY_KILL -1576025
30#define SAY_DEATH -1576026
31
33{
34public:
35 boss_commander_kolurg() : CreatureScript("boss_commander_kolurg") { }
36
38 {
39 return new boss_commander_kolurgAI(creature);
40 }
41
43 {
44 boss_commander_kolurgAI(Creature* creature) : ScriptedAI(creature) { }
45
46 void Reset() OVERRIDE { }
47 void EnterCombat(Unit* /*who*/) OVERRIDE { }
48 void AttackStart(Unit* /*who*/) OVERRIDE { }
49 void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
50
51 void UpdateAI(uint32 /*diff*/) OVERRIDE
52 {
53 //Return since we have no target
54 if (!UpdateVictim())
55 return;
56
58 }
59 void JustDied(Unit* /*killer*/) OVERRIDE { }
60 };
61};
62
std::uint32_t uint32
Definition Define.h:77
#define OVERRIDE
Definition Define.h:60
@ SPELL_CHARGE
void AddSC_boss_commander_kolurg()
@ SPELL_WHIRLWIND_1
@ SPELL_WHIRLWIND_2
@ SPELL_FRIGHTENING_SHOUT
bool UpdateVictim()
CreatureScript(const char *name)
void DoMeleeAttackIfReady()
Definition UnitAI.cpp:28
Definition Unit.h:1367
CreatureAI * GetAI(Creature *creature) const OVERRIDE
ScriptedAI(Creature *creature)
void UpdateAI(uint32) OVERRIDE
== Triggered Actions Requested ==================