Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
hyjal_trash.h
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#ifndef SC_HYJAL_TRASH_AI_H
7#define SC_HYJAL_TRASH_AI_H
8
9#include "hyjal.h"
10#include "ScriptedEscortAI.h"
11
12#define MINRAIDDAMAGE 700000//minimal damage before trash can drop loot and reputation, resets if faction leader dies
13
15{
16 hyjal_trashAI(Creature* creature);
17
18 void UpdateAI(uint32 diff);
19
20 void JustDied(Unit* /*killer*/);
21
22 void DamageTaken(Unit* done_by, uint32 &damage);
23
24 public:
26 bool IsEvent;
35 float DummyTarget[3];
36
37 //private:
38};
39#endif
std::uint8_t uint8
Definition Define.h:79
std::uint32_t uint32
Definition Define.h:77
Definition Unit.h:1367
void JustDied(Unit *)
uint32 LastOverronPos
Definition hyjal_trash.h:28
void DamageTaken(Unit *done_by, uint32 &damage)
float DummyTarget[3]
Definition hyjal_trash.h:35
void UpdateAI(uint32 diff)
== Triggered Actions Requested ==================
uint32 damageTaken
Definition hyjal_trash.h:34
InstanceScript * instance
Definition hyjal_trash.h:25
uint32 OverrunType
Definition hyjal_trash.h:31
hyjal_trashAI(Creature *creature)
npc_escortAI(Creature *creature)