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:
blinkysc 2026-03-22 10:28:48 -05:00 committed by GitHub
parent f554cde330
commit 4e21de8d86
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;