mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-25 13:32:26 +00:00
Fix bots with ExtraAttackChance changes (#1480)
This should probably be updated to match everything in client, but this will at least fix compile
This commit is contained in:
parent
187d6e9dc4
commit
c3f8b8073b
@ -3272,7 +3272,9 @@ void Bot::AI_Process()
|
||||
}
|
||||
|
||||
TEST_COMBATANTS();
|
||||
int32 ExtraAttackChanceBonus = (spellbonuses.ExtraAttackChance + itembonuses.ExtraAttackChance + aabonuses.ExtraAttackChance);
|
||||
auto ExtraAttackChanceBonus =
|
||||
(spellbonuses.ExtraAttackChance[0] + itembonuses.ExtraAttackChance[0] +
|
||||
aabonuses.ExtraAttackChance[0]);
|
||||
if (ExtraAttackChanceBonus) {
|
||||
|
||||
if (p_item && p_item->GetItem()->IsType2HWeapon()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user