免费赠送报错时弹窗修改,免费次数降低时机修改
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 45s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 45s
This commit is contained in:
parent
24bf09563f
commit
69f0824a61
@ -228,13 +228,7 @@ export class SlotScene extends Component {
|
|||||||
// 如果有frb就不会扣除金额
|
// 如果有frb就不会扣除金额
|
||||||
let frb = GameDataManager.instance.frb;
|
let frb = GameDataManager.instance.frb;
|
||||||
if (frb && frb.Ongoing != null) {
|
if (frb && frb.Ongoing != null) {
|
||||||
if (!isFreeSpin) {
|
|
||||||
let count = frb.Ongoing.Frn - 1;
|
|
||||||
if (count <= 0) {
|
|
||||||
count = 0;
|
|
||||||
}
|
|
||||||
this.SysGift.handleSysInfoFreeCount(count);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
if (!isFreeSpin) {
|
if (!isFreeSpin) {
|
||||||
if (!isFeatureBuy) {
|
if (!isFeatureBuy) {
|
||||||
@ -268,6 +262,11 @@ export class SlotScene extends Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
GameDataManager.instance.frb = this.spinInfo.Frb;
|
GameDataManager.instance.frb = this.spinInfo.Frb;
|
||||||
|
let count = frb.Ongoing.Frn - 1;
|
||||||
|
if (count <= 0) {
|
||||||
|
count = 0;
|
||||||
|
}
|
||||||
|
this.SysGift.handleSysInfoFreeCount(count);
|
||||||
// if (frb?.Ongoing?.Frn - 1 != GameDataManager.instance.frb?.Ongoing?.Frn) {
|
// if (frb?.Ongoing?.Frn - 1 != GameDataManager.instance.frb?.Ongoing?.Frn) {
|
||||||
// this.SysGift.handleSysInfoFreeCount(this.spinInfo.Frb.Ongoing.Frn);
|
// this.SysGift.handleSysInfoFreeCount(this.spinInfo.Frb.Ongoing.Frn);
|
||||||
// }
|
// }
|
||||||
@ -845,7 +844,7 @@ export class SlotScene extends Component {
|
|||||||
msg2 = I18nManager.instance.t('AID_ERROR_CODE_4');
|
msg2 = I18nManager.instance.t('AID_ERROR_CODE_4');
|
||||||
tip = `${msg1}\n${msg2}`;
|
tip = `${msg1}\n${msg2}`;
|
||||||
if (!this.TipPanel.getHasTip()) {
|
if (!this.TipPanel.getHasTip()) {
|
||||||
this.TipPanel.showTip(title, tip, () => { window.close() }, null, I18nManager.instance.t('AID_ERROR_QUIT_BUTTON'), I18nManager.instance.t('AID_ERROR_RETRY_BUTTON'), true);
|
this.TipPanel.showTip(title, tip, () => { window.close() }, null, I18nManager.instance.t('AID_ERROR_QUIT_BUTTON'), null, false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 5:
|
case 5:
|
||||||
|
|||||||
@ -9,7 +9,7 @@ const qs = new URLSearchParams(location.search)
|
|||||||
|
|
||||||
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
|
// let apiaddr = "https://rpgames-api.rpfafafahkdev.com";
|
||||||
let apiaddr = "";
|
let apiaddr = "";
|
||||||
let token = "eyJQIjoxMDA5NDksIkUiOjE3NjI2MTEwMjYsIlMiOjEwMDUsIkQiOiJycF8xMDAxMiJ9.hMuz6Kp_788703hWLLIknQsFhdCu7dJLWbEizfJi0Zg";
|
let token = "eyJQIjoxMDA5NDksIkUiOjE3NjQ3Njk0MjAsIlMiOjk5NiwiRCI6InJwXzEwMDEyIn0.DhDHrfx7WNRBG6D0f5eevBqXg4GubW7_XlxIFUG5L6s";
|
||||||
let language = "en"
|
let language = "en"
|
||||||
let currency = "THB"
|
let currency = "THB"
|
||||||
let isfrom = null
|
let isfrom = null
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user