@@ -64,7 +64,7 @@ class DivineStrategy(agent: AgentInterface) : StrategyLevelLegacy(agent) {
64
64
// -------------------------------------------->
65
65
" See Resources" swat SwatTeam .NOT_COMMANDER inCase {
66
66
agent.seeResource &&
67
- (agent.isTonicAtLimit && agent.seeResource(ResourceType .Tonic )).not ()
67
+ (agent.isTonicAtLimit && agent.seeResource(ResourceType .Tonic )).not ()
68
68
} then {
69
69
agent.goToResource()
70
70
}
@@ -110,10 +110,10 @@ class DivineStrategy(agent: AgentInterface) : StrategyLevelLegacy(agent) {
110
110
object : Rule (" PickUp" ) {
111
111
override fun constraint (): Boolean {
112
112
return ! agent.isCommander && (
113
- agent.isTouchingResource(ResourceType .DoublePoints ) || agent.isTouchingResource(
114
- ResourceType .ExtraMothershipFuel ,
115
- )
116
- )
113
+ agent.isTouchingResource(ResourceType .DoublePoints ) || agent.isTouchingResource(
114
+ ResourceType .ExtraMothershipFuel ,
115
+ )
116
+ )
117
117
}
118
118
119
119
override fun action () {
@@ -141,10 +141,10 @@ class DivineStrategy(agent: AgentInterface) : StrategyLevelLegacy(agent) {
141
141
object : Rule (" PickUp and Place" ) {
142
142
override fun constraint (): Boolean {
143
143
return agent.isCommander && (
144
- agent.isTouchingResource(ResourceType .DoublePoints ) || agent.isTouchingResource(
145
- ResourceType .ExtraMothershipFuel ,
146
- )
147
- ) && ! mothership.isMarkerDeployed && ! agent.seeMarker()
144
+ agent.isTouchingResource(ResourceType .DoublePoints ) || agent.isTouchingResource(
145
+ ResourceType .ExtraMothershipFuel ,
146
+ )
147
+ ) && ! mothership.isMarkerDeployed && ! agent.seeMarker()
148
148
}
149
149
150
150
override fun action () {
0 commit comments