summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-06-18 15:58:29 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit6ab5bbaa42f1a21ece2b61569817549e0c867e30 (patch)
tree20a1addc2f9372be54059169ee494c2c49d97221
parentcca6e1ffb5eb7cd83d0bb27f713c961cb7b9e7ad (diff)
downloadplantagenet-6ab5bbaa42f1a21ece2b61569817549e0c867e30.tar.gz
Update rules.js
-rw-r--r--rules.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/rules.js b/rules.js
index b39bfc8..cfcd401 100644
--- a/rules.js
+++ b/rules.js
@@ -3534,6 +3534,8 @@ function drop_prov(lord) {
function has_enough_available_ships_for_army() {
let ships = count_group_ships()
let army = count_group_forces()
+ let prov = count_group_assets(PROV)
+ let cart = count_group_assets(CART)
let needed_ships = army/6