diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -225,7 +225,9 @@ function hide_popup_menu() { document.getElementById("popup").style.display = "none"
document.getElementById("popup_ceh_check").style.display = "none"
document.getElementById("popup_opp_event").style.display = "none"
+ document.getElementById("popup_tst_7").style.display = "none"
document.getElementById("popup_tst_8").style.display = "none"
+ document.getElementById("popup_tst_7_8").style.display = "none"
}
@@ -268,7 +270,14 @@ function on_click_card(evt) { evt.stopPropagation();
}
}
- //First check for TST special power
+ //First check for TST special powers
+ else if (is_card_action('card_tst_7', card)) {
+ if (is_card_action('card_tst_8', card)) {
+ show_popup_menu(evt, "popup_tst_7_8", card, cards[card].name)
+ } else {
+ show_popup_menu(evt, "popup_tst_7", card, cards[card].name)
+ }
+ }
else if (is_card_action('card_tst_8', card)) {
show_popup_menu(evt, "popup_tst_8", card, cards[card].name)
}
|