From 62d913bb356a8182d2266a608062544b83458e67 Mon Sep 17 00:00:00 2001 From: QAston Date: Thu, 25 Aug 2011 06:40:25 +0200 Subject: [PATCH] Revert "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." - it is causing crashes. This reverts commit 17b89ea8ab5f7ec57d53478983dfa76e436b417f. --- src/server/game/Entities/Unit/Unit.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index c8b1abc1de..ce5a71a242 100755 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -8054,6 +8054,9 @@ bool Unit::HandleAuraProc(Unit* victim, uint32 damage, Aura* triggeredByAura, Sp if (plr->getClass() != CLASS_DEATH_KNIGHT) return false; + // can't proc from death rune use + if (rune == RUNE_DEATH) + return false; AuraEffect* aurEff = triggeredByAura->GetEffect(EFFECT_0); if (!aurEff) return false;