mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 13:41:31 +00:00
Make SPECATK_QUAD == SPECATK_INNATE_DW when Combat:UseLiveCombatRounds is true
This commit is contained in:
parent
dcd1a07553
commit
70577584ab
@ -5157,7 +5157,10 @@ void Mob::DoOffHandAttackRounds(Mob *target, ExtraAttackOptions *opts)
|
|||||||
if (!target)
|
if (!target)
|
||||||
return;
|
return;
|
||||||
// Mobs will only dual wield w/ the flag or have a secondary weapon
|
// Mobs will only dual wield w/ the flag or have a secondary weapon
|
||||||
if (GetSpecialAbility(SPECATK_INNATE_DW) || GetEquipment(MaterialSecondary) != 0) {
|
// For now, SPECATK_QUAD means innate DW when Combat:UseLiveCombatRounds is true
|
||||||
|
if ((GetSpecialAbility(SPECATK_INNATE_DW) ||
|
||||||
|
(RuleB(Combat, UseLiveCombatRounds) && GetSpecialAbility(SPECATK_QUAD))) ||
|
||||||
|
GetEquipment(MaterialSecondary) != 0) {
|
||||||
if (CheckDualWield()) {
|
if (CheckDualWield()) {
|
||||||
Attack(target, MainSecondary, false, false, false, opts);
|
Attack(target, MainSecondary, false, false, false, opts);
|
||||||
if (CanThisClassDoubleAttack() && GetLevel() > 35 && CheckDoubleAttack())
|
if (CanThisClassDoubleAttack() && GetLevel() > 35 && CheckDoubleAttack())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user