diff options
| author | megamage <none@none> | 2009-03-04 10:28:24 -0600 |
|---|---|---|
| committer | megamage <none@none> | 2009-03-04 10:28:24 -0600 |
| commit | 9f71a51827bd600d377dca14e0f5d85ffac4b916 (patch) | |
| tree | eec9b52152570f689f6e4ea32ef960ec0e6725a8 /src | |
| parent | 0bba1e0551ecd6266c5844677208a55633c47b62 (diff) | |
*Revert 1136, nonattackable flag of spirit of redemption is handled with aura 27792,0 and should not be hard-coded.
--HG--
branch : trunk
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/Unit.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index c3073251f34..cd9ac475c6e 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -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 |
