![]() |
TrinityCore
|
Classes | |
| class | MostHPMissingInRange |
Static Public Member Functions | |
| static uint32 | GetTotalHeal (SpellInfo const *spellInfo, Unit const *caster) |
| returns heal amount of the given spell including hots | |
| static uint32 | GetRemainingHealOn (Unit *target) |
| returns remaining heal amount on given target | |
| static Unit * | GetUnitWithMostMissingHp (SpellInfo const *spellInfo, Unit *caster) |
| static Unit * | GetHealTarget (SpellInfo const *spellInfo, Unit *caster) |
Definition at line 950 of file boss_thorim.cpp.
|
inlinestatic |
Definition at line 1027 of file boss_thorim.cpp.
References Unit::GetHealth(), Unit::GetHealthPct(), Unit::GetMaxHealth(), GetRemainingHealOn(), GetTotalHeal(), GetUnitWithMostMissingHp(), SpellInfo::HasAttribute(), roll_chance(), and SPELL_ATTR1_EXCLUDE_CASTER.
Referenced by npc_thorim_trashAI::UseAbility().
returns remaining heal amount on given target
Definition at line 968 of file boss_thorim.cpp.
References Unit::GetAuraEffectsByType(), and SPELL_AURA_PERIODIC_HEAL.
Referenced by GetHealTarget(), and npc_thorim_trashAI::AIHelper::MostHPMissingInRange::operator()().
|
inlinestatic |
returns heal amount of the given spell including hots
Definition at line 953 of file boss_thorim.cpp.
References SpellInfo::GetEffects(), SPELL_AURA_PERIODIC_HEAL, SPELL_EFFECT_APPLY_AURA, and SPELL_EFFECT_HEAL.
Referenced by GetHealTarget(), GetUnitWithMostMissingHp(), and npc_thorim_trashAI::UseAbility().
|
inlinestatic |
Definition at line 1013 of file boss_thorim.cpp.
References SpellInfo::GetMaxRange(), GetTotalHeal(), and Cell::VisitGridObjects().
Referenced by GetHealTarget().