diff options
author | QAston <none@none> | 2009-03-08 22:03:25 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-03-08 22:03:25 +0100 |
commit | 1e1d95fe3aab892e5175ddd5f18b772ffca01c08 (patch) | |
tree | 8b9acad37b953eb6886aafafedb0a165eb429513 /src | |
parent | 7289f5b36dd490e88e52d46ae1dbe5519f04f556 (diff) |
*Fix typos in Guardian Spirit code.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Unit.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 6fe15958541..271a85a4808 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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; } } |