aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data.c2
-rw-r--r--war.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/data.c b/data.c
index cc80dcd..ff59685 100644
--- a/data.c
+++ b/data.c
@@ -86,8 +86,6 @@ void data_distributewonders()
for(i = 0; i < numplayers; i++) {
player[i][3][0] = wonders[i];
player[i][3][1] = rand()%2;
- player[0][3][0] = 8; //delete these lines later
- player[0][3][1] = 1; //this one too!
}
}
diff --git a/war.c b/war.c
index 53a9239..20e6bcf 100644
--- a/war.c
+++ b/war.c
@@ -15,6 +15,9 @@ int military_might(int player)
sum = 0;
for(i = 0; built[i] != -1; i += 2)
sum += cards_getproduction(built[i], built[i+1])[SHIELD];
+ if(data_haswonderstage(player, 3, 2)) sum += 2;
+ if(data_haswonderstage(player, 3, 4)) sum += 1;
+ if(data_haswonderstage(player, 3, 5)) sum += 1;
return sum;
}
bgstack15