summaryrefslogtreecommitdiff
path: root/rules.js
diff options
context:
space:
mode:
Diffstat (limited to 'rules.js')
-rw-r--r--rules.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/rules.js b/rules.js
index 6b2959a..937e924 100644
--- a/rules.js
+++ b/rules.js
@@ -1,9 +1,5 @@
"use strict";
-// TODO: check all card data
-// TODO: log helpers - piece name (army/road/tribe color/coalition)
-// TODO: check if actions are possible: Tax, Move, Battle
-
let cards = require("./cards.js");
const Afghan = 'Afghan';
@@ -1436,8 +1432,7 @@ function active_can_tax() {
let claim = active_has_claim_of_ancient_lineage();
for (let p = 0; p < game.players.length; ++p)
if (p !== game.active && can_tax_player(game.active, p, claim))
- gen_action('player_' + p)
- return true;
+ return true;
return false;
}