>>942
--- ixa-moko.user.js.orig 2018-09-08 04:02:36.000000000 +0900
+++ ixa-moko.user.js 2018-09-08 10:06:46.212078600 +0900
@@ -18015,7 +18015,7 @@
max = parseInt(source[1]),
now = parseInt(source[0]),
card_limit = max - now,
- coin = parseInt($html.find('span.money_b').text()),
+ coin = parseInt($html.find('span.money_b').text().replace(/\D/,'')),
coin_limit = Math.floor(coin / whitePrice());
return Math.min(card_limit, coin_limit);
}
@@ -18134,11 +18134,11 @@
if (capa == count) {
var cardstock = $('p.l_cardstock'),
money = $('span.money_b'),
- rema_money = parseInt(money.text()) - capa * whitePrice(),
+ rema_money = parseInt(money.text().replace(/\D/,'')) - capa * whitePrice(),
new_capa = parseInt($('#white').text());
//残り枚数と銅銭を書き換え
cardstock.text(stock_text);
- money.text(rema_money);
+ money.text(rema_money.toLocaleString());
//初期化
senkujiWhiteLottery();
return playSound(SOUND.notice);