mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
*Fix typos in Guardian Spirit code.
--HG-- branch : trunk
This commit is contained in:
@@ -2003,16 +2003,15 @@ void Unit::CalcAbsorbResist(Unit *pVictim,SpellSchoolMask schoolMask, DamageEffe
|
||||
case SPELLFAMILY_PRIEST:
|
||||
{
|
||||
// Guardian Spirit
|
||||
if (spellProto->SpellFamilyFlags.IsEqual(0x400, 0, 0xC0000000))
|
||||
if (spellProto->Id==47788)
|
||||
{
|
||||
if (pVictim->GetHealth() <= RemainingDamage) // Killing Blow
|
||||
{
|
||||
healAmount = pVictim->GetMaxHealth();
|
||||
healAmount = pVictim->GetMaxHealth()/2;
|
||||
healCaster = pVictim;
|
||||
healSpell = 48153;
|
||||
currentAbsorb = mod->m_amount;
|
||||
RemainingDamage=0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user