diff options
-rw-r--r-- | mbbsd/card.c | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mbbsd/card.c b/mbbsd/card.c index 6332deee..db2f1a54 100644 --- a/mbbsd/card.c +++ b/mbbsd/card.c @@ -548,14 +548,21 @@ g_card_jack(void) { int db; char buf[3]; + int times = 0; setutmpmode(JACK_CARD); while (1) { reload_money(); - if (cuser.money < JACK) { + if (cuser.money < PMONEY) { outs("您的錢不夠唷!去多發表些有意義的文章再來~~~"); return 0; } + if (times++ % 5 == 0) + { + move(b_lines-2, 0); clrtoeol(); + outs(ANSI_COLOR(1;31) + "警告: 本遊戲由 PttGames 看板評鑑為黑店,請小心!" ANSI_RESET); + } getdata(b_lines - 1, 0, "確定要玩黑傑克嗎 一次十元唷?(Y/N)?[N]", buf, 3, LCECHO); if ((*buf != 'y') && (*buf != 'Y')) @@ -646,7 +653,7 @@ g_ten_helf(void) setutmpmode(TENHALF); while (1) { reload_money(); - if (cuser.money < TEN_HALF) { + if (cuser.money < PMONEY) { outs("您的錢不夠唷!去多發表些有意義的文章再來~~~"); return 0; } |