Core/Spells: Rename SpellAttr5 to use official attribute names

* Implemented SPELL_ATTR8_HASTE_AFFECTS_DURATION
This commit is contained in:
Shauren authored and Ovahlord committed 2022-09-30 01:30:14 +02:00
1 parent a7dc339a6a
commit d1700ba5fa
8 files changed
+70 -66

No files matched your search

+1 -1
View File
@@ -24562,7 +24562,7 @@ bool Player::HasAllItemsToFitToSpellRequirements(SpellInfo const* spellInfo)
bool Player::CanNoReagentCast(SpellInfo const* spellInfo) const
{
// don't take reagents for spells with SPELL_ATTR5_NO_REAGENT_WHILE_PREP
if (spellInfo->HasAttribute(SPELL_ATTR5_NO_REAGENT_WHILE_PREP) &&
if (spellInfo->HasAttribute(SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA) &&
HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_PREPARATION))
return true;