Scripts/Spells Update Seed of Corruption script

Port From (https://github.com/TrinityCore/TrinityCore/commit/4f8cb99ad2b95d4cc5d2abba8a00e67acfdfed4f)
This commit is contained in:
Hondacrx
2024-11-09 23:49:19 -05:00
parent 9580103f3b
commit 3f87e713c5
3 changed files with 77 additions and 23 deletions
-5
View File
@@ -747,7 +747,6 @@ namespace Game.Spells
case SpellSpecificType.Curse:
case SpellSpecificType.Bane:
case SpellSpecificType.Aspect:
case SpellSpecificType.WarlockCorruption:
return spellSpec == spellInfo.GetSpellSpecific();
default:
return false;
@@ -1548,10 +1547,6 @@ namespace Game.Spells
// Warlock (Demon Armor | Demon Skin | Fel Armor)
if (SpellFamilyFlags[1].HasAnyFlag(0x20000020u) || SpellFamilyFlags[2].HasAnyFlag(0x00000010u))
_spellSpecific = SpellSpecificType.WarlockArmor;
//seed of corruption and corruption
if (SpellFamilyFlags[1].HasAnyFlag(0x10u) || SpellFamilyFlags[0].HasAnyFlag(0x2u))
_spellSpecific = SpellSpecificType.WarlockCorruption;
break;
}
case SpellFamilyNames.Priest: