Core/Spells: Properly fix Arcane Surge bug

This commit is contained in:
tobmaps
2011-05-20 03:16:48 +07:00
parent e2310fe541
commit f03bdceaff
2 changed files with 6 additions and 1 deletions

View File

@@ -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;

View File

@@ -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;