Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
boss_houndmaster_loksey.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/* ScriptData
7SDName: Boss_Houndmaster_Loksey
8SD%Complete: 100
9SDComment:
10SDCategory: Scarlet Monastery
11EndScriptData */
12
13#include "ScriptMgr.h"
14#include "ScriptedCreature.h"
15
17{
19};
20
26
28{
29public:
30 boss_houndmaster_loksey() : CreatureScript("boss_houndmaster_loksey") { }
31
33 {
34 return new boss_houndmaster_lokseyAI(creature);
35 }
36
38 {
40
42
44 {
45 BloodLust_Timer = 20000;
46 }
47
48 void EnterCombat(Unit* /*who*/) OVERRIDE
49 {
51 }
52
54 {
55 if (!UpdateVictim())
56 return;
57
58 if (BloodLust_Timer <= diff)
59 {
61 BloodLust_Timer = 20000;
62 }
63 else BloodLust_Timer -= diff;
64
66 }
67 };
68};
69
std::uint32_t uint32
Definition Define.h:77
#define OVERRIDE
Definition Define.h:60
#define SAY_AGGRO
@ SPELL_SUMMONSCARLETHOUND
void AddSC_boss_houndmaster_loksey()
void Talk(uint8 id, WorldObject const *whisperTarget=NULL)
bool UpdateVictim()
CreatureScript(const char *name)
void DoMeleeAttackIfReady()
Definition UnitAI.cpp:28
void DoCast(uint32 spellId)
Definition UnitAI.cpp:110
Definition Unit.h:1367
CreatureAI * GetAI(Creature *creature) const OVERRIDE
Creature * me
ScriptedAI(Creature *creature)
void UpdateAI(uint32 diff) OVERRIDE
== Triggered Actions Requested ==================