Core/Spells: don't allow spells which hit target only with SPELL_EFFECT_DUMMY to execute spell triggers on that targets, also cleanup related code a bit.
This commit is contained in:
1 parent
b54b72ba54
commit
2bcf63d387
5 files changed
+103
-84
No files matched your search
@@ -3753,8 +3753,6 @@ void SpellMgr::LoadSpellCustomAttr()
|
||||
++count;
|
||||
break;
|
||||
case 27820: // Mana Detonation
|
||||
//case 28062: case 39090: // Positive/Negative Charge
|
||||
//case 28085: case 39093:
|
||||
case 69782: // Ooze Flood
|
||||
case 69796: // Ooze Flood
|
||||
case 69798: // Ooze Flood
|
||||
@@ -3893,10 +3891,6 @@ void SpellMgr::LoadSpellCustomAttr()
|
||||
spellInfo->EffectMiscValue[0] |= 1;
|
||||
++count;
|
||||
break;
|
||||
case 52025: // Cleansing Totem Effect
|
||||
spellInfo->EffectDieSides[1] = 1;
|
||||
++count;
|
||||
break;
|
||||
case 51904: // Summon Ghouls On Scarlet Crusade (core does not know the triggered spell is summon spell)
|
||||
spellInfo->EffectImplicitTargetA[0] = TARGET_UNIT_CASTER;
|
||||
++count;
|
||||
@@ -4243,14 +4237,6 @@ void SpellMgr::LoadSpellCustomAttr()
|
||||
break;
|
||||
++count;
|
||||
break;
|
||||
// Do not allow Deadly throw and Slice and Dice to proc twice
|
||||
case SPELLFAMILY_ROGUE:
|
||||
if (spellInfo->SpellFamilyFlags[1] & 0x1 || spellInfo->SpellFamilyFlags[0] & 0x40000)
|
||||
spellInfo->AttributesEx4 |= SPELL_ATTR4_CANT_PROC_FROM_SELFCAST;
|
||||
else
|
||||
break;
|
||||
++count;
|
||||
break;
|
||||
case SPELLFAMILY_PALADIN:
|
||||
// Seals of the Pure should affect Seal of Righteousness
|
||||
if (spellInfo->SpellIconID == 25 && spellInfo->Attributes & SPELL_ATTR0_PASSIVE)
|
||||
|
||||
Reference in new issue
Block a user