mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
Merge remote branch 'origin/master' into 330
This commit is contained in:
commit
018e31e5be
3 changed files with 11 additions and 6 deletions
|
|
@ -7145,6 +7145,11 @@ void Aura::PeriodicTick()
|
|||
pdamage -= m_target->GetSpellCritDamageReduction(pdamage);
|
||||
}
|
||||
|
||||
// only from players
|
||||
// FIXME: need use SpellDamageBonus instead?
|
||||
if (IS_PLAYER_GUID(m_caster_guid))
|
||||
pdamage -= m_target->GetSpellDamageReduction(pdamage);
|
||||
|
||||
pCaster->CalcAbsorbResist(m_target, GetSpellSchoolMask(GetSpellProto()), DOT, pdamage, &absorb, &resist, !(GetSpellProto()->AttributesEx2 & SPELL_ATTR_EX2_CANT_REFLECTED));
|
||||
|
||||
if(m_target->GetHealth() < pdamage)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue