aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Vance <nathav63@gmail.com>2015-04-22 22:11:31 -0400
committerNathan Vance <nathav63@gmail.com>2015-04-22 22:11:31 -0400
commit63cbfb85d0279ea5cb4cb90c842ed86c85539be0 (patch)
treed66e5221d8b38565903b41dbe9dc0b3ac37f3fac
parentBug fixes (diff)
download7w-63cbfb85d0279ea5cb4cb90c842ed86c85539be0.tar.gz
7w-63cbfb85d0279ea5cb4cb90c842ed86c85539be0.tar.bz2
7w-63cbfb85d0279ea5cb4cb90c842ed86c85539be0.zip
Bug fixes
-rw-r--r--ai.c2
-rw-r--r--cards.c2
-rw-r--r--special_cards.c2
3 files changed, 2 insertions, 4 deletions
diff --git a/ai.c b/ai.c
index 4b84e77..b872ef5 100644
--- a/ai.c
+++ b/ai.c
@@ -66,8 +66,6 @@ void ai_turn(int player)
for(i = 0; i < 2; i++) {
data_addgold(bestcard[2+i], data_getdir(i, player));
}
- //data_addgold(bestcard[2], data_geteast(player));
- //data_addgold(bestcard[3], data_getwest(player));
write_trade(player, bestcard[2], bestcard[3]);
data_addgold(bestcard[4] * -1, player);
return;
diff --git a/cards.c b/cards.c
index 1733b63..3776acd 100644
--- a/cards.c
+++ b/cards.c
@@ -417,7 +417,7 @@ void cards_init()
cards_setcost(2, 5, ORE, 1);
cards_setcost(2, 5, WOOD, 1);
cards_setcost(2, 5, CLOTH, 1);
- cards_setmessage(2, 7, "1 coin and 1 vp for each resource card.");
+ cards_setmessage(2, 5, "1 coin and 1 vp for each resource card.");
cards_setname(2, 5, "Haven", COMMERCIAL);
cards_setcost(2, 6, STONE, 1);
diff --git a/special_cards.c b/special_cards.c
index b49e53c..8033700 100644
--- a/special_cards.c
+++ b/special_cards.c
@@ -45,7 +45,7 @@ int* get_special(int era, int card, int player)
break;
case 208: //Arena: 3 coins and 1 vp for each completed wonder stage.
ret[0] = data_getwonderstages(player);
- ret[1] = 3*ret[1];
+ ret[1] = 3*ret[0];
break;
case 218: //Workers Guild: 1 vp for each resource card owned by adjacent players.
ret[0] += cardcounter(data_getbuilt(data_geteast(player)), RESOURCE);
bgstack15