aboutsummaryrefslogtreecommitdiff
path: root/src/game/Unit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r--src/game/Unit.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index ef43089836a..1b0c532ed47 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5059,12 +5059,6 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
triggered_spell_id = 26654;
break;
}
- // Glyph of Blocking
- case 58375:
- {
- triggered_spell_id = 58374;
- break;
- }
// Unstable Power
case 24658:
{
@@ -5665,18 +5659,24 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
basepoints0 = GetShieldBlockValue() * triggerAmount / 100;
break;
}
- // Glyph of Sunder Armor
- if (dummySpell->Id == 58387)
- {
- if (!pVictim || !pVictim->isAlive() || !procSpell)
- return false;
-
- target = SelectNearbyTarget();
- if (!target || target == pVictim)
- return false;
-
- CastSpell(target, 58567, true);
- return true;
+ // Glyph of Blocking
+ if (dummySpell->Id == 58375)
+ {
+ triggered_spell_id = 58374;
+ break;
+ }
+ // Glyph of Sunder Armor
+ if (dummySpell->Id == 58387)
+ {
+ if (!pVictim || !pVictim->isAlive() || !procSpell)
+ return false;
+
+ target = SelectNearbyTarget();
+ if (!target || target == pVictim)
+ return false;
+
+ CastSpell(target, 58567, true);
+ return true;
}
break;
}