From e24d5139c192461a5dcf5914ca47c679cc9ece48 Mon Sep 17 00:00:00 2001 From: Tooze Date: Wed, 27 May 2026 00:57:37 -0400 Subject: [PATCH] oops, read the wrong Role Call --- .../main/content/minigame/barbassault/bots/BACombatState.kt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Server/src/main/content/minigame/barbassault/bots/BACombatState.kt b/Server/src/main/content/minigame/barbassault/bots/BACombatState.kt index 2c30bd93a..b55bce956 100644 --- a/Server/src/main/content/minigame/barbassault/bots/BACombatState.kt +++ b/Server/src/main/content/minigame/barbassault/bots/BACombatState.kt @@ -12,10 +12,6 @@ import content.minigame.barbassault.getBASession import core.game.interaction.MovementPulse import core.game.node.entity.combat.equipment.WeaponInterface.AttackStyle import core.game.node.entity.combat.equipment.WeaponInterface.BONUS_SLASH -import core.game.node.entity.combat.equipment.WeaponInterface.STYLE_ACCURATE -import core.game.node.entity.combat.equipment.WeaponInterface.STYLE_AGGRESSIVE -import core.game.node.entity.combat.equipment.WeaponInterface.STYLE_CONTROLLED -import core.game.node.entity.combat.equipment.WeaponInterface.STYLE_DEFENSIVE import core.game.world.GameWorld import core.game.world.map.Location import core.game.world.map.path.Pathfinder @@ -28,7 +24,7 @@ class BACombatState(private val bot: BABot) { bot.AttackNpcsInRadius(25) //use Called AttackStyle val baSession = getBASession(bot) ?: return - val called = (baSession.roleCalls[BarbRole.COLLECTOR]?.called ?: AttackerStyle.values().random() ) as AttackerStyle + val called = (baSession.roleCalls[BarbRole.ATTACKER]?.called ?: AttackerStyle.values().random() ) as AttackerStyle bot.properties.attackStyle = AttackStyle(called.attackStyle, BONUS_SLASH) }