Core/Spells: Implemented SPELL_ATTR11_IGNORE_SPELLCAST_OVERRIDE_SHAPESHIFT_REQUIREMENTS

Port From (https://github.com/TrinityCore/TrinityCore/commit/cb335c32740d0af87ae693e4ea3833236354d080)
This commit is contained in:
Hondacrx
2024-08-26 19:56:15 -04:00
parent bd620ac608
commit b97078e44a
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -918,6 +918,9 @@ namespace Game.Entities
if (auraEffect.GetSpellInfo().HasAttribute(SpellAttr8.IgnoreSpellcastOverrideCost))
triggerFlag |= TriggerCastFlags.IgnorePowerAndReagentCost;
if (auraEffect.GetSpellInfo().HasAttribute(SpellAttr11.IgnoreSpellcastOverrideShapeshiftRequirements))
triggerFlag |= TriggerCastFlags.IgnoreShapeshift;
return info;
}