*Revert 1136, nonattackable flag of spirit of redemption is handled with aura 27792,0 and should not be hard-coded.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-03-04 10:28:24 -06:00
parent 0bba1e0551
commit 9f71a51827

View File

@@ -12737,7 +12737,6 @@ void Unit::Kill(Unit *pVictim, bool durabilityLoss)
// FORM_SPIRITOFREDEMPTION and related auras
pVictim->CastSpell(pVictim,27827,true,NULL,*itr);
pVictim->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); // should not be attackable
SpiritOfRedemption = true;
break;
}
@@ -12748,7 +12747,6 @@ void Unit::Kill(Unit *pVictim, bool durabilityLoss)
{
DEBUG_LOG("SET JUST_DIED");
pVictim->setDeathState(JUST_DIED);
pVictim->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE); // reactive attackable flag
}
// 10% durability loss on death