mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 13:47:23 +01:00
Core/Spells: convert some spell effects to SpellScripts
This commit is contained in:
@@ -2960,8 +2960,10 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
|
||||
switch (spellInfo->Id)
|
||||
{
|
||||
case 40244: case 40245: // Simon Game Visual
|
||||
case 40246: case 40247: // Simon Game Visual
|
||||
case 40244: // Simon Game Visual
|
||||
case 40245: // Simon Game Visual
|
||||
case 40246: // Simon Game Visual
|
||||
case 40247: // Simon Game Visual
|
||||
case 42835: // Spout, remove damage effect, only anim is needed
|
||||
spellInfo->Effect[0] = 0;
|
||||
break;
|
||||
@@ -3125,6 +3127,9 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
case 51852: // The Eye of Acherus (no spawn in phase 2 in db)
|
||||
spellInfo->EffectMiscValue[0] |= 1;
|
||||
break;
|
||||
case 51912: // Crafty's Ultra-Advanced Proto-Typical Shortening Blaster
|
||||
spellInfo->EffectAmplitude[0] = 3000;
|
||||
break;
|
||||
case 29809: // Desecration Arm - 36 instead of 37 - typo? :/
|
||||
spellInfo->EffectRadiusIndex[0] = EFFECT_RADIUS_7_YARDS;
|
||||
break;
|
||||
@@ -3293,11 +3298,6 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
// that will be clear if we get more spells with problem like this
|
||||
spellInfo->AttributesEx |= SPELL_ATTR1_DISPEL_AURAS_ON_IMMUNITY;
|
||||
break;
|
||||
case 62584: // Lifebinder's Gift
|
||||
case 64185: // Lifebinder's Gift
|
||||
spellInfo->EffectImplicitTargetB[1] = TARGET_UNIT_NEARBY_ENTRY;
|
||||
spellInfo->EffectImplicitTargetB[2] = TARGET_UNIT_NEARBY_ENTRY;
|
||||
break;
|
||||
case 62301: // Cosmic Smash (Algalon the Observer)
|
||||
spellInfo->MaxAffectedTargets = 1;
|
||||
break;
|
||||
@@ -3539,11 +3539,6 @@ void SpellMgr::LoadDbcDataCorrections()
|
||||
|
||||
switch (spellInfo->SpellFamilyName)
|
||||
{
|
||||
case SPELLFAMILY_DRUID:
|
||||
// Starfall Target Selection
|
||||
if (spellInfo->SpellFamilyFlags[2] & 0x100)
|
||||
spellInfo->MaxAffectedTargets = 2;
|
||||
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