248 {
250 {
252 if (target->IsPlayer())
255 damage = target->GetMaxHealth() * 7.f / 100;
256
258 }
259 }
std::int32_t int32
Definition: Define.h:103
@ SPELL_THORNS
Definition: boss_buru.cpp:35
@ SPELL_EXPLODE_2
Definition: boss_buru.cpp:39
@ NPC_BURU
Definition: ruins_of_ahnqiraj.h:57
float GetDistance(WorldObject const *obj) const
Definition: Object.cpp:1256
SpellCastResult CastCustomSpell(Unit *victim, uint32 spellId, int32 const *bp0, int32 const *bp1, int32 const *bp2, bool triggered, Item *castItem=nullptr, AuraEffect const *triggeredByAura=nullptr, ObjectGuid originalCaster=ObjectGuid::Empty)
Definition: Unit.cpp:1224
Unit * GetHitUnit()
Definition: SpellScript.cpp:448
Unit * GetCaster()
Definition: SpellScript.cpp:401