#include "Unit.h"
◆ DamageInfo() [1/5]
127{
128}
SpellSchoolMask
Definition SharedDefines.h:295
uint32 m_resist
Definition Unit.h:340
Unit *const m_attacker
Definition Unit.h:332
WeaponAttackType m_attackType
Definition Unit.h:338
SpellInfo const *const m_spellInfo
Definition Unit.h:335
uint32 m_block
Definition Unit.h:341
uint32 m_absorb
Definition Unit.h:339
uint32 m_cleanDamage
Definition Unit.h:342
uint32 m_damage
Definition Unit.h:334
SpellSchoolMask const m_schoolMask
Definition Unit.h:336
DamageEffectType const m_damageType
Definition Unit.h:337
Unit *const m_victim
Definition Unit.h:333
◆ DamageInfo() [2/5]
◆ DamageInfo() [3/5]
◆ DamageInfo() [4/5]
134{
135}
@ DIRECT_DAMAGE
Definition Unit.h:248
◆ DamageInfo() [5/5]
140 m_absorb(spellNonMeleeDamage.absorb),
m_resist(spellNonMeleeDamage.resist),
m_block(spellNonMeleeDamage.blocked),
142{
143}
◆ AbsorbDamage()
void DamageInfo::AbsorbDamage |
( |
uint32 |
amount | ) |
|
◆ BlockDamage()
void DamageInfo::BlockDamage |
( |
uint32 |
amount | ) |
|
◆ GetAbsorb()
uint32 DamageInfo::GetAbsorb |
( |
| ) |
const |
|
inline |
◆ GetAttacker()
Unit * DamageInfo::GetAttacker |
( |
| ) |
const |
|
inline |
◆ GetAttackType()
◆ GetBlock()
uint32 DamageInfo::GetBlock |
( |
| ) |
const |
|
inline |
◆ GetDamage()
uint32 DamageInfo::GetDamage |
( |
| ) |
const |
|
inline |
References m_damage.
Referenced by spell_shield_generator_aura::Absorb(), spell_yogg_saron_protective_gaze_aura::Absorb(), spell_charge_shield_bomber_aura::Absorb(), spell_black_temple_spell_absorption_aura::Absorb(), spell_dk_anti_magic_shell_raid::Absorb(), spell_dk_anti_magic_shell_self::Absorb(), spell_dk_anti_magic_zone::Absorb(), spell_dk_spell_deflection::Absorb(), spell_dk_will_of_the_necropolis::Absorb(), spell_dru_moonkin_form_passive::Absorb(), spell_dru_primal_tenacity::Absorb(), spell_pri_guardian_spirit::Absorb(), spell_rog_cheat_death::Absorb(), spell_rog_nerves_of_steel::Absorb(), spell_sha_astral_shift::Absorb(), spell_mage_fire_frost_ward::Absorb(), spell_pal_ardent_defender::Absorb(), AbsorbDamage(), Unit::AttackerStateUpdate(), BlockDamage(), Unit::CalcAbsorbResist(), Unit::CalculateMeleeDamage(), Unit::CalculateSpellDamageTaken(), spell_deathbringer_blood_link_aura::CheckProc(), spell_deathbringer_blood_link_blood_beast_aura::CheckProc(), spell_dk_improved_blood_presence_proc::CheckProc(), spell_dk_scent_of_blood_trigger::CheckProc(), spell_item_shadowmourne::CheckProc(), spell_pal_sacred_shield_base::CheckProc(), spell_pal_seal_of_righteousness::CheckProc(), spell_warl_siphon_life::CheckProc(), spell_warl_fel_synergy::CheckProc(), Unit::DealDamage(), Unit::DealMeleeDamage(), Spell::EffectEnvironmentalDMG(), Player::EnvironmentalDamage(), AuraEffect::HandlePeriodicDamageAurasTick(), AuraEffect::HandlePeriodicHealthLeechAuraTick(), spell_reliquary_of_souls_aura_of_desire_aura::HandleProc(), spell_black_temple_consuming_strikes_aura::HandleProc(), spell_item_blood_draining_enchant::HandleProc(), spell_mage_ignite::HandleProc(), spell_the_lich_king_dark_hunger_aura::HandleProc(), spell_oculus_temporal_rift_aura::HandleProc(), spell_yogg_saron_grim_reprisal_aura::HandleProc(), spell_dk_wandering_plague_aura::HandleProc(), spell_dk_blood_gorged::HandleProc(), spell_dru_t10_balance_4p_bonus::HandleProc(), spell_item_necrotic_touch::HandleProc(), spell_sha_t8_electrified::HandleProc(), spell_warl_seed_of_corruption_aura::HandleProc(), spell_warl_seed_of_corruption_generic_aura::HandleProc(), spell_dk_hungering_cold::HandleProc(), ModifyDamage(), spell_valanar_kinetic_bomb_absorb_aura::OnAbsorb(), spell_blood_queen_essence_of_the_blood_queen_aura::OnProc(), spell_pal_eye_for_an_eye::OnProc(), spell_warl_siphon_life::OnProc(), spell_warl_fel_synergy::OnProc(), and ResistDamage().
◆ GetDamageType()
◆ GetResist()
uint32 DamageInfo::GetResist |
( |
| ) |
const |
|
inline |
◆ GetSchoolMask()
◆ GetSpellInfo()
SpellInfo const * DamageInfo::GetSpellInfo |
( |
| ) |
const |
|
inline |
◆ GetUnmitigatedDamage()
uint32 DamageInfo::GetUnmitigatedDamage |
( |
| ) |
const |
◆ GetVictim()
Unit * DamageInfo::GetVictim |
( |
| ) |
const |
|
inline |
◆ ModifyDamage()
void DamageInfo::ModifyDamage |
( |
int32 |
amount | ) |
|
◆ ResistDamage()
void DamageInfo::ResistDamage |
( |
uint32 |
amount | ) |
|
◆ m_absorb
◆ m_attacker
Unit* const DamageInfo::m_attacker |
|
private |
◆ m_attackType
◆ m_block
◆ m_cleanDamage
uint32 DamageInfo::m_cleanDamage |
|
private |
◆ m_damage
◆ m_damageType
◆ m_resist
◆ m_schoolMask
◆ m_spellInfo
SpellInfo const* const DamageInfo::m_spellInfo |
|
private |
◆ m_victim
Unit* const DamageInfo::m_victim |
|
private |
The documentation for this class was generated from the following files:
- azerothcore-wotlk/src/server/game/Entities/Unit/Unit.h
- azerothcore-wotlk/src/server/game/Entities/Unit/Unit.cpp