Skip to content

Commit

Permalink
Use default Queller when Guardians see naval tech
Browse files Browse the repository at this point in the history
  • Loading branch information
Quitch committed Oct 10, 2024
1 parent 58561b0 commit ae91264
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## Unreleased

### Fixed

- Adjust Guardian approach when player is focused on naval tech and AI is Queller

## v5.75.2 - 2024-09-13

### Fixed
Expand Down
2 changes: 2 additions & 0 deletions ui/mods/com.pa.quitch.gwaioverhaul/gw_play/referee_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ define([
personality.percent_bot,
personality.percent_orbital,
personality.percent_air,
personality.percent_naval,
];
const highestValue = _.max(unitPercentages);
const valueIndex = unitPercentages.indexOf(highestValue);
Expand All @@ -144,6 +145,7 @@ define([
case 3:
aiPersonalityTags.push("air");
break;
// case 4: do nothing
}
return aiPersonalityTags;
};
Expand Down

0 comments on commit ae91264

Please sign in to comment.