mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 00:08:01 +00:00
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:
@@ -12512,7 +12512,7 @@ bool Player::HasItemFitToSpellRequirements(SpellInfo const* spellInfo, Item cons
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasWeaponInSlot)
|
if (!hasWeaponInSlot)
|
||||||
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
|
for (uint8 i = 0; i < MAX_SPELL_EFFECTS; ++i)
|
||||||
if (spellInfo->Effects[i].IsAura())
|
if (spellInfo->Effects[i].IsAura())
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user