aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortobmaps <spambot42@yandex.ru>2011-05-20 03:16:48 +0700
committertobmaps <spambot42@yandex.ru>2011-05-20 03:16:48 +0700
commitf03bdceaff76d8488cb683a80ac3fd6149c6299b (patch)
treee21579eed003cae60020be675e81a0ec94ca3fad /src
parente2310fe54104cacffb3ea5e441b6acb7ae206042 (diff)
Core/Spells: Properly fix Arcane Surge bug
Diffstat (limited to 'src')
-rwxr-xr-xsrc/server/game/Entities/Unit/Unit.cpp2
-rwxr-xr-xsrc/server/game/Spells/SpellMgr.cpp5
2 files changed, 6 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index 239232bb13d..7e1b2df4937 100755
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -5720,7 +5720,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
// Incanter's Regalia set (add trigger chance to Mana Shield)
if (dummySpell->SpellFamilyFlags[0] & 0x8000)
{
- if (!HasAura(37424))
+ if (GetTypeId() != TYPEID_PLAYER)
return false;
target = this;
diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index c77921eaa43..260d1e10230 100755
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -3637,6 +3637,11 @@ void SpellMgr::LoadSpellCustomAttr()
spellInfo->EffectImplicitTargetA[1] = TARGET_UNIT_TARGET_ENEMY;
++count;
break;
+ case 8494: // Mana Shield (rank 2)
+ // because of bug in dbc
+ spellInfo->procChance = 0;
+ ++count;
+ break;
case 32182: // Heroism
spellInfo->excludeCasterAuraSpell = 57723; // Exhaustion
++count;