aboutsummaryrefslogtreecommitdiff
path: root/src/game/Creature.h
diff options
context:
space:
mode:
authorRat <none@none>2010-04-09 10:47:11 +0200
committerRat <none@none>2010-04-09 10:47:11 +0200
commitcbbe587817f9d635338c1efc309418a9a6575d76 (patch)
treeab4db09b5c7fe4491fd6f6542c45a8c0ef9a18bb /src/game/Creature.h
parent1f46c1150d8d04d5d3e72f27c475062cc320d545 (diff)
*added code for loading Spelldifficulty.dbc + Custom Spelldifficulty from Database
*added spell searcher based on creature's map difficulty, usage is optional and only for scipts for now *added new table spelldifficulty_dbc --HG-- branch : trunk
Diffstat (limited to 'src/game/Creature.h')
-rw-r--r--src/game/Creature.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/game/Creature.h b/src/game/Creature.h
index 3ffaa5e401f..0866877a3f5 100644
--- a/src/game/Creature.h
+++ b/src/game/Creature.h
@@ -418,6 +418,7 @@ class Creature : public Unit, public GridObject<Creature>
void Update(uint32 time); // overwrited Unit::Update
void GetRespawnCoord(float &x, float &y, float &z, float* ori = NULL, float* dist =NULL) const;
uint32 GetEquipmentId() const { return GetCreatureInfo()->equipmentId; }
+ uint32 GetSpellIdForDifficulty(uint32 spellId);
void SetCorpseDelay(uint32 delay) { m_corpseDelay = delay; }
bool isRacialLeader() const { return GetCreatureInfo()->RacialLeader; }