Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
boss_commander_stoutbeard.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 Stoutbeard
8SDAuthor: LordVanMartin
9SD%Complete:
10SDComment: Only Horde Heroic
11SDCategory:
12Script Data End */
13
14#include "ScriptMgr.h"
15#include "ScriptedCreature.h"
16
25
27{
28public:
29 boss_commander_stoutbeard() : CreatureScript("boss_commander_stoutbeard") { }
30
32 {
33 return new boss_commander_stoutbeardAI(creature);
34 }
35
37 {
39
40 void Reset() OVERRIDE { }
41 void AttackStart(Unit* /*who*/) OVERRIDE { }
42 void MoveInLineOfSight(Unit* /*who*/) OVERRIDE { }
43
44 void UpdateAI(uint32 /*diff*/) OVERRIDE
45 {
46 //Return since we have no target
47 if (!UpdateVictim())
48 return;
49
51 }
52 };
53};
54
std::uint32_t uint32
Definition Define.h:77
#define OVERRIDE
Definition Define.h:60
@ SPELL_CHARGE
@ SPELL_WHIRLWIND_1
@ SPELL_WHIRLWIND_2
void AddSC_boss_commander_stoutbeard()
@ 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 ==================