mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-27 12:22:39 +01:00
Core/Spells: Also Death Runes itself should be able to turn into a Death Rune. They should not turn back into their original rune when using a spell that turns the used runes into Death Runes.
This commit is contained in:
@@ -8053,9 +8053,6 @@ bool Unit::HandleAuraProc(Unit* victim, uint32 damage, Aura* triggeredByAura, Sp
|
||||
if (plr->getClass() != CLASS_DEATH_KNIGHT)
|
||||
return false;
|
||||
RuneType rune = ToPlayer()->GetLastUsedRune();
|
||||
// can't proc from death rune use
|
||||
if (rune == RUNE_DEATH)
|
||||
return false;
|
||||
AuraEffect* aurEff = triggeredByAura->GetEffect(EFFECT_0);
|
||||
if (!aurEff)
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user