489 if (targetCreature->IsPet())
500 int32 hp =
int32(targetCreature->CountPctFromMaxHealth(
GetCaster()->CalculateSpellDamage(targetCreature, spellInfo, 0)));
Definition: SpellInfo.h:326
Definition: spell_warlock.cpp:42
Definition: SharedDefines.h:3590
arena_t NULL
Definition: jemalloc_internal.h:624
Definition: Creature.h:467
Definition: spell_warlock.cpp:41
Definition: spell_warlock.cpp:39
Definition: spell_warlock.cpp:40
Definition: SharedDefines.h:3596
#define sSpellMgr
Definition: SpellMgr.h:756
int32_t int32
Definition: Define.h:146
Definition: SharedDefines.h:3591
Unit * GetCaster()
Definition: SpellScript.cpp:394
Definition: SharedDefines.h:3602
Creature * GetHitCreature()
Definition: SpellScript.cpp:451
int32_t int32
Definition: g3dmath.h:167
Definition: spell_warlock.cpp:43
uint32 family
Definition: Creature.h:112
Definition: Creature.h:79
Definition: SharedDefines.h:3592