fix(Core/Spells): Invert disarm aura-keep check for weapons (#25175)
Co-authored-by: blinkysc <blinkysc@users.noreply.github.com>
This commit is contained in:
parent
f554cde330
commit
4e21de8d86
1 changed files with 1 additions and 1 deletions
|
|
@ -12512,7 +12512,7 @@ bool Player::HasItemFitToSpellRequirements(SpellInfo const* spellInfo, Item cons
|
|||
break;
|
||||
}
|
||||
|
||||
if (hasWeaponInSlot)
|
||||
if (!hasWeaponInSlot)
|
||||
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
|
||||
if (spellInfo->Effects[i].IsAura())
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue