mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[11065] Implement stun absorb part of spell 24858
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
686d9b0c70
commit
d5b982cbbe
3 changed files with 10 additions and 1 deletions
|
|
@ -2076,6 +2076,14 @@ void Unit::CalculateDamageAbsorbAndResist(Unit *pCaster, SpellSchoolMask schoolM
|
|||
RemainingDamage -= RemainingDamage * currentAbsorb / 100;
|
||||
continue;
|
||||
}
|
||||
// Moonkin Form passive
|
||||
if (spellProto->Id == 69366)
|
||||
{
|
||||
//reduces all damage taken while Stunned
|
||||
if (unitflag & UNIT_FLAG_STUNNED)
|
||||
RemainingDamage -= RemainingDamage * currentAbsorb / 100;
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case SPELLFAMILY_ROGUE:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue