165 if (gain && creature)
187 gain =
uint32(gain * xpMod);
190 sScriptMgr->OnGainCalculation(gain, player, u);
uint32 GetExpansionForLevel(uint32 level)
Definition: DBCStores.cpp:632
int32 expansion
Definition: Creature.h:95
uint32 GetMaxHealth() const
Definition: Unit.h:1427
Map * GetMap() const
Definition: Object.h:543
double round(double f)
Definition: g3dmath.h:214
float ModExperience
Definition: Creature.h:137
bool IsDungeon() const
Definition: Map.h:395
Definition: Creature.h:467
uint32 flags_extra
Definition: Creature.h:142
#define sWorld
Definition: World.h:887
uint8 getLevel() const
Definition: Unit.h:1408
uint32 m_PlayerDamageReq
Definition: Creature.h:697
CreatureTemplate const * GetCreatureTemplate() const
Definition: Creature.h:558
uint32_t uint32
Definition: Define.h:150
bool IsPet() const
Definition: Unit.h:1403
Definition: Creature.h:48
bool IsTotem() const
Definition: Unit.h:1405
bool IsCritter() const
Definition: Unit.h:1580
Creature * ToCreature()
Definition: Object.h:194
bool isElite() const
Definition: Creature.cpp:1824
#define sScriptMgr
Definition: ScriptMgr.h:837
uint32_t uint32
Definition: g3dmath.h:168
uint32 BaseGain(uint8 pl_level, uint8 mob_level)
Definition: Formulas.h:119