You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
568 lines
20 KiB
568 lines
20 KiB
|
|
|
|
let xiaomaibuCommon = [9, 8, 6, 0, 8, 10, 8, 7, 6, 7, 6, 8, 6, 6, 5]//卖货郎
|
|
let xiaomaibuVd = [9, 8, 6, 0, 8, 10, 8, 7, 6, 7, 6, 8, 6, 6, 5]
|
|
|
|
let kuaiDiZhanCommon = [16, 13, 0, 11, 5, 12, 8, 0, 11, 0, 0, 8, 0, 6, 10]//快递站
|
|
let kuaiDiZhanVd = [0, 0, 15, 0, 0, 0, 16, 13, 0, 12, 14, 0, 16, 14, 0]
|
|
|
|
let jiuPingHuiShouCommon = [13, 12, 0, 0, 11, 0, 15, 0, 10, 11, 0, 13, 0, 0, 15]
|
|
let jiuPingHuiShouVd = [0, 0, 14, 15, 0, 16, 0, 13, 0, 0, 18, 0, 11, 13, 0]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//概率修改其他盲盒
|
|
|
|
|
|
let proKuaid = [5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 5, 5, 5, 5, 1, 1, 1, 1, 1]
|
|
|
|
let proJiaLiGong = [2, 8, 5, 5, 4, 5, 8, 5, 3, 5, 7, 5, 5, 2, 2, 7, 7, 5, 8, 2]
|
|
let proQinWangLing = [5, 5, 5, 6, 6, 6, 5, 5, 5, 6, 6, 6, 6, 6, 3, 4, 4, 4, 4, 3]
|
|
|
|
let shoulieshenzi = [7, 7, 8, 8, 8, 7, 7, 7, 7, 5, 5, 5, 3, 3, 3, 3, 3, 1, 1, 1, 1, 0, 0, 0]
|
|
let shouliejian = [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 4, 3, 3, 2, 2, 1, 1, 0, 0, 0]//弓弩
|
|
let shoulieqiang = [0, 0, 0, 0, 0, 5, 5, 5, 5, 5, 5, 6, 7, 7, 8, 8, 7, 7, 6, 6, 2, 2, 2, 2]
|
|
let shoulievd = [0, 0, 0, 0, 0, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 4, 4, 4, 4]
|
|
let shoulieWulian = [0, 0, 0, 0, 0, 0, 3, 3, 4, 4, 7, 7, 7, 7, 8, 8, 8, 7, 7, 7, 7, 2, 2, 2]//五连
|
|
|
|
|
|
|
|
|
|
|
|
let binghuCommon = [5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 0, 0, 0, 0]
|
|
let binghuVd = [0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 6, 6, 8, 8, 9, 9, 9, 10, 10, 3, 3, 3, 3, 3]//五连
|
|
|
|
let lajiCommon = [2, 2, 2, 2, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 5, 5, 5, 5, 3, 3, 3, 1, 0, 0]
|
|
let lajiVd = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 5, 5, 10, 10, 10, 10, 10, 10, 10, 10, 2, 2, 1]//翻个够
|
|
let taofenGunzi = [6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 4, 4, 3, 3, 2, 2, 2, 1, 1, 0, 0, 0]
|
|
let taofenTanhuang = [2, 2, 2, 2, 2, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 5, 5, 3, 3, 3, 2, 2, 1, 0, 0]
|
|
let taofenxichenqi = [5, 5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 3, 3, 2, 1, 0, 0, 0, 0, 0]//疏通
|
|
let taofenjiuchi = [0, 0, 0, 0, 0, 4, 4, 4, 8, 8, 8, 8, 9, 9, 9, 8, 8, 3, 3, 2, 2, 1, 1, 1]//五连掏
|
|
|
|
let diaoYuCommon = [8, 8, 8, 8, 7, 7, 7, 7, 5, 5, 5, 5, 3, 3, 3, 3, 2, 2, 2, 2, 0, 0, 0, 0, 0, 0]//鱼饵
|
|
let diaoYuAD = [0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 5, 7, 7, 7, 8, 8, 8, 8, 6, 6, 5, 5, 4, 4]//五连
|
|
|
|
let chaChangCommon = [5, 5, 5, 5, 7, 7, 7, 7, 7, 7, 6, 6, 6, 5, 5, 3, 3, 2, 2, 0, 0, 0]//茶场
|
|
let chaChangVd = [0, 0, 0, 0, 0, 0, 0, 8, 8, 10, 10, 10, 10, 10, 8, 8, 8, 2, 2, 2, 2, 2]
|
|
|
|
let baiCaoJiCommon = [10, 10, 10, 8, 8, 8, 8, 8, 5, 5, 5, 3, 3, 3, 2, 2, 2, 0, 0, 0]//佰草集
|
|
let baiCaoJiVd = [0, 0, 0, 1, 1, 10, 10, 10, 10, 10, 10, 10, 10, 3, 3, 3, 3, 2, 2, 2]
|
|
|
|
let guShuCommon = [11, 11, 11, 11, 11, 11, 11, 11, 12]//古树
|
|
let guShuVd = [11, 11, 11, 11, 11, 11, 11, 11, 12]
|
|
|
|
let xiuXianNongZhuangCommon = [5, 5, 5, 7, 7, 6, 6, 6, 6, 8, 8, 8, 3, 3, 3, 3, 3, 2, 2, 2, 2, 0, 0, 0]//休闲农庄
|
|
let xiuXianNongZhuangVd = [0, 0, 0, 0, 0, 2, 3, 3, 3, 6, 6, 6, 6, 7, 7, 7, 7, 5, 5, 5, 5, 5, 6, 6]
|
|
|
|
let youTing_xiaoMuChuan = [0, 2, 10, 2, 3, 10, 10, 19, 19, 4, 0, 13, 0, 0, 2, 3, 3, 0, 0, 0, 0, 0, 0]
|
|
let youTing_puTongYuChuan = [0, 14, 15, 5, 3, 3, 3, 15, 10, 20, 1, 3, 0, 0, 2, 3, 3, 0, 0, 0, 0, 0, 0]
|
|
let youTing_kuaiTing = [5, 10, 5, 20, 10, 1, 1, 5, 5, 2, 10, 5, 0, 1, 5, 5, 5, 1, 1, 1, 1, 1, 0]
|
|
let youTing_puTongYouLun = [5, 5, 5, 2, 3, 2, 2, 0, 0, 3, 15, 2, 10, 15, 20, 2, 2, 2, 2, 1, 1, 1, 0]
|
|
let youTing_haoHuaYouLun = [10, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 2, 11, 15, 1, 12, 9, 9, 10, 5, 5, 5, 1]
|
|
let youTing_niXiJian = [12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 15, 20, 0, 2, 2, 2, 1, 10, 15, 10, 10]
|
|
|
|
|
|
|
|
let chongWuGuanCommon = [5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 5, 5, 5, 5, 4, 3, 2, 1, 1, 1]//宠物馆
|
|
|
|
|
|
|
|
|
|
export default class ProbabilityManager {
|
|
public static kuaiDiZhanCommonIndex = 0;
|
|
public static kuaiDiZhanAdIndex = 0;
|
|
public static kuaiDiZhanAdIndexFix = 1;
|
|
public static commonIndexKuaiDiZhanFix = 99;
|
|
public static commonIndexKuaiDiZhanFixArray = [1, 2];
|
|
|
|
public static xiaomaibuCommonIndex = 0;
|
|
public static xiaomaibuAdIndex = 0;
|
|
public static xiaoMaiBuAdIndexFix = 1;
|
|
|
|
public static jiuPingHuiShouCommonIndex = 0;
|
|
public static jiuPingHuiShouAdIndex = 0;
|
|
public static jiuPingHuiShouAdIndexFix = 1;
|
|
public static commonIndexjiuPingHuiShouFix = 99;
|
|
public static commonIndexjiuPingHuiShouFixArray = [1, 2, 1, 2];
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static shoulieCommonIndex = 0;
|
|
public static shoulieCommonFix = 3;
|
|
public static shoulieAdIndex = 0;
|
|
|
|
|
|
|
|
public static chaChangCommonIndex = 0;
|
|
public static chaChangAdIndex = 0;
|
|
public static chaChangAdIndexFix = 1;
|
|
|
|
public static xiuXianNongZhuangCommonIndex = 0;
|
|
public static xiuXianNongZhuangAdIndex = 0;
|
|
public static xiuXianNongZhuangAdIndexFix = 1;
|
|
public static commonIndexXiuXianNongZhuangFix = 1;
|
|
|
|
public static youTingJiDiCommonIndex = 0;
|
|
public static youTingJiDiAdIndex = 0;
|
|
public static youTingJiDiAdIndexFix = 1;
|
|
public static commonIndexYouTingJiDiFix = 1;
|
|
|
|
|
|
|
|
public static chongWuGuanCommonIndex = 0;
|
|
public static chongWuGuanAdIndex = 0;
|
|
public static chongWuGuanAdIndexFix = 1;
|
|
public static commonIndexChongWuGuanFix = 3;
|
|
|
|
|
|
|
|
public static baiCaoJiCommonIndex = 0;
|
|
public static baiCaoJiAdIndex = 0;
|
|
public static baiCaoJiAdIndexFix = 1;
|
|
|
|
public static guShuCommonIndex = 0;
|
|
public static guShuAdIndex = 0;
|
|
public static guShuAdIndexFix = 1;
|
|
|
|
public static taofenCommonIndex = 0;
|
|
public static taofenCommonFix = 3;
|
|
public static taofenAdIndex = 0;
|
|
|
|
public static binghuCommonIndex = 0;
|
|
public static binghuCommonFix = 3;
|
|
public static binghuAdIndex = 0;
|
|
|
|
|
|
|
|
public static jiaLiGongCommonIndex = 0;
|
|
public static commonIndexJiaLiGongFix = 1;
|
|
public static jiaLiGongAdIndex = 0;
|
|
|
|
public static qinWangLingCommonIndex = 0;
|
|
public static commonIndexQinWangLingFix = 5;
|
|
public static qinWangLingAdIndex = 0;
|
|
|
|
public static lajiCommonIndex = 0;
|
|
public static lajiCommonFix = 3;
|
|
public static lajiAdIndex = 0;
|
|
|
|
public static diaoYuCommonIndex = 0;
|
|
public static diaoYuCommonFix = 3;
|
|
public static diaoYuIndex = 0;
|
|
|
|
public static commonIndexFix = 10;
|
|
|
|
public static adIndexFix = 1;
|
|
|
|
|
|
public static getCanChangeList(gameType) {
|
|
if (gameType == 'Dustbin') {
|
|
if (this.lajiAdIndex >= this.adIndexFix || this.lajiCommonIndex >= this.lajiCommonFix) {
|
|
this.lajiAdIndex = 0
|
|
this.lajiCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
|
|
} else if (gameType == 'IceWorld') {
|
|
if (this.binghuAdIndex >= this.adIndexFix || this.binghuCommonIndex >= this.binghuCommonFix) {
|
|
this.binghuAdIndex = 0
|
|
this.binghuCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
|
|
|
|
} else if (gameType == 'Diaoyu') {
|
|
if (this.diaoYuIndex >= this.adIndexFix || this.diaoYuCommonIndex >= this.diaoYuCommonFix) {
|
|
this.diaoYuIndex = 0
|
|
this.diaoYuCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
|
|
|
|
} else if (gameType == 'ShouLie') {
|
|
if (this.shoulieAdIndex >= this.adIndexFix || this.shoulieCommonIndex >= this.shoulieCommonFix) {
|
|
this.shoulieAdIndex = 0
|
|
this.shoulieCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
|
|
} else if (gameType == 'TaoFen') {
|
|
if (this.taofenAdIndex >= this.adIndexFix || this.taofenCommonIndex >= this.taofenCommonFix) {
|
|
this.taofenAdIndex = 0
|
|
this.taofenCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
|
|
} else if (gameType == 'ShouHuoJi') {
|
|
if (this.xiaomaibuAdIndex >= this.xiaoMaiBuAdIndexFix || this.xiaomaibuCommonIndex >= this.commonIndexFix) {
|
|
this.xiaomaibuAdIndex = 0
|
|
this.xiaomaibuCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
} else if (gameType == 'ChaChang') {
|
|
if (this.chaChangAdIndex >= this.chaChangAdIndexFix || this.chaChangCommonIndex >= this.commonIndexFix) {
|
|
this.chaChangAdIndex = 0
|
|
this.chaChangCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
} else if (gameType == 'BaiCaoJi') {
|
|
if (this.baiCaoJiAdIndex >= this.baiCaoJiAdIndexFix || this.baiCaoJiCommonIndex >= this.commonIndexFix) {
|
|
this.baiCaoJiAdIndex = 0
|
|
this.baiCaoJiCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
} else if (gameType == 'GuShu') {
|
|
if (this.guShuAdIndex >= this.guShuAdIndexFix || this.guShuCommonIndex >= this.commonIndexFix) {
|
|
this.guShuAdIndex = 0
|
|
this.guShuCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
} else if (gameType == 'JiaLiGong') {
|
|
if (this.jiaLiGongAdIndex >= this.adIndexFix || this.jiaLiGongCommonIndex >= this.commonIndexJiaLiGongFix) {
|
|
this.jiaLiGongAdIndex = 0
|
|
this.jiaLiGongCommonIndex = 0
|
|
return true
|
|
} else {
|
|
|
|
}
|
|
|
|
} else if (gameType == 'QinWangLing') {
|
|
if (this.qinWangLingAdIndex >= this.adIndexFix || this.qinWangLingCommonIndex >= this.commonIndexQinWangLingFix) {
|
|
this.qinWangLingAdIndex = 0
|
|
this.qinWangLingCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
|
|
} else if (gameType == 'XiuXianNongZhuang') {
|
|
if (this.xiuXianNongZhuangAdIndex >= this.xiuXianNongZhuangAdIndexFix || this.xiuXianNongZhuangCommonIndex >= this.commonIndexXiuXianNongZhuangFix) {
|
|
this.xiuXianNongZhuangAdIndex = 0
|
|
this.xiuXianNongZhuangCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
} else if (gameType == 'YouTingJiDi') {
|
|
if (this.youTingJiDiAdIndex >= this.youTingJiDiAdIndexFix || this.youTingJiDiCommonIndex >= this.commonIndexYouTingJiDiFix) {
|
|
this.youTingJiDiAdIndex = 0
|
|
this.youTingJiDiCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
} else if (gameType == 'KuaiDiZhan') {
|
|
if (this.kuaiDiZhanAdIndex >= this.kuaiDiZhanAdIndexFix || this.kuaiDiZhanCommonIndex >= this.commonIndexKuaiDiZhanFix) {
|
|
this.kuaiDiZhanAdIndex = 0
|
|
this.kuaiDiZhanCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
} else if (gameType == 'ChongWuGuan') {
|
|
if (this.chongWuGuanAdIndex >= this.chongWuGuanAdIndexFix || this.chongWuGuanCommonIndex >= this.commonIndexChongWuGuanFix) {
|
|
this.chongWuGuanAdIndex = 0
|
|
this.chongWuGuanCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
} else if (gameType == 'JiuPingHuiShou') {
|
|
if (this.jiuPingHuiShouAdIndex >= this.jiuPingHuiShouAdIndexFix || this.jiuPingHuiShouCommonIndex >= this.commonIndexjiuPingHuiShouFix) {
|
|
this.jiuPingHuiShouAdIndex = 0
|
|
this.jiuPingHuiShouCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
}
|
|
|
|
public static getCanChangeList_FreeGoods(gameType, goodsIndex) {
|
|
if (gameType == 'KuaiDiZhan') {
|
|
if (goodsIndex >= this.commonIndexKuaiDiZhanFixArray.length) {
|
|
goodsIndex = this.commonIndexKuaiDiZhanFixArray.length - 1;
|
|
}
|
|
if (this.kuaiDiZhanCommonIndex >= this.commonIndexKuaiDiZhanFixArray[goodsIndex]) {
|
|
this.kuaiDiZhanCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
} else if (gameType == 'JiuPingHuiShou') {
|
|
if (goodsIndex >= this.commonIndexjiuPingHuiShouFixArray.length) {
|
|
goodsIndex = this.commonIndexjiuPingHuiShouFixArray.length - 1;
|
|
}
|
|
if (this.jiuPingHuiShouCommonIndex >= this.commonIndexjiuPingHuiShouFixArray[goodsIndex]) {
|
|
this.jiuPingHuiShouCommonIndex = 0
|
|
return true
|
|
} else {
|
|
return false
|
|
}
|
|
}
|
|
}
|
|
|
|
public static gameClickLajiTimeAdd(isAD) {
|
|
if (isAD) {
|
|
this.lajiAdIndex++
|
|
} else {
|
|
this.lajiCommonIndex++
|
|
}
|
|
}
|
|
|
|
public static gameClickTimeAdd(gameType, isAD) {
|
|
if (gameType == 'Dustbin') {
|
|
// if(isAD){
|
|
// this.lajiAdIndex++
|
|
// }else{
|
|
// this.lajiCommonIndex++
|
|
// }
|
|
} else if (gameType == 'IceWorld') {
|
|
if (isAD) {
|
|
this.binghuAdIndex++
|
|
} else {
|
|
this.binghuCommonIndex++
|
|
}
|
|
} else if (gameType == 'Diaoyu') {
|
|
if (isAD) {
|
|
this.diaoYuIndex++
|
|
} else {
|
|
this.diaoYuCommonIndex++
|
|
}
|
|
} else if (gameType == 'ShouLie') {
|
|
if (isAD) {
|
|
this.shoulieAdIndex++
|
|
} else {
|
|
this.shoulieCommonIndex++
|
|
}
|
|
} else if (gameType == 'TaoFen') {
|
|
if (isAD) {
|
|
this.taofenAdIndex++
|
|
} else {
|
|
this.taofenCommonIndex++
|
|
}
|
|
} else if (gameType == 'ShouHuoJi') {
|
|
if (isAD) {
|
|
this.xiaomaibuAdIndex++
|
|
} else {
|
|
this.xiaomaibuCommonIndex++
|
|
}
|
|
} else if (gameType == 'ChaChang') {
|
|
if (isAD) {
|
|
this.chaChangAdIndex++
|
|
} else {
|
|
this.chaChangCommonIndex++
|
|
}
|
|
} else if (gameType == 'BaiCaoJi') {
|
|
if (isAD) {
|
|
this.baiCaoJiAdIndex++
|
|
} else {
|
|
this.baiCaoJiCommonIndex++
|
|
}
|
|
} else if (gameType == 'GuShu') {
|
|
if (isAD) {
|
|
this.guShuAdIndex++
|
|
} else {
|
|
this.guShuCommonIndex++
|
|
}
|
|
} else if (gameType == 'JiaLiGong') {
|
|
if (isAD) {
|
|
this.jiaLiGongAdIndex++
|
|
} else {
|
|
this.jiaLiGongCommonIndex++
|
|
}
|
|
} else if (gameType == 'QinWangLing') {
|
|
if (isAD) {
|
|
this.qinWangLingAdIndex++
|
|
} else {
|
|
this.qinWangLingCommonIndex++
|
|
}
|
|
} else if (gameType == 'XiuXianNongZhuang') {
|
|
if (isAD) {
|
|
this.xiuXianNongZhuangAdIndex++
|
|
} else {
|
|
this.xiuXianNongZhuangCommonIndex++
|
|
}
|
|
} else if (gameType == 'YouTingJiDi') {
|
|
if (isAD) {
|
|
this.youTingJiDiAdIndex++
|
|
} else {
|
|
this.youTingJiDiCommonIndex++
|
|
}
|
|
} else if (gameType == 'KuaiDiZhan') {
|
|
if (isAD) {
|
|
this.kuaiDiZhanAdIndex++
|
|
} else {
|
|
this.kuaiDiZhanCommonIndex++
|
|
}
|
|
} else if (gameType == 'ChongWuGuan') {
|
|
if (isAD) {
|
|
this.chongWuGuanAdIndex++
|
|
} else {
|
|
this.chongWuGuanCommonIndex++
|
|
}
|
|
} else if (gameType == 'JiuPingHuiShou') {
|
|
if (isAD) {
|
|
this.jiuPingHuiShouAdIndex++
|
|
} else {
|
|
this.jiuPingHuiShouCommonIndex++
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
public static getMangHeProbability(gameType, goodsNum, isAD, probabilityType) {
|
|
this.gameClickTimeAdd(gameType, isAD)
|
|
if (gameType == 'IceWorld') {
|
|
if (isAD) {
|
|
return binghuVd
|
|
} else {
|
|
return binghuCommon
|
|
}
|
|
} else if (gameType == 'Dustbin') {
|
|
if (goodsNum == 1) {
|
|
return lajiCommon
|
|
} else {
|
|
return lajiVd
|
|
}
|
|
} else if (gameType == 'NiFengKuaidi') {
|
|
return proKuaid
|
|
} else if (gameType == 'ShouLie') {
|
|
if (isAD) {
|
|
return shoulieWulian
|
|
} else {
|
|
if (probabilityType == 'ShengZi') {
|
|
return shoulieshenzi
|
|
} else if (probabilityType == 'GongNu') {
|
|
return shouliejian
|
|
} else if (probabilityType == 'LieQiang') {
|
|
return shoulieqiang
|
|
} else if (probabilityType == 'Wang') {
|
|
return shoulievd
|
|
}
|
|
}
|
|
|
|
|
|
} else if (gameType == 'TaoFen') {
|
|
if (isAD) {
|
|
return taofenjiuchi
|
|
} else {
|
|
//'gunzi', 'tanhuangguan', 'xichengqi','jiuchidingpa'
|
|
if (probabilityType == 'gunzi') {
|
|
return taofenGunzi
|
|
} else if (probabilityType == 'tanhuangguan') {
|
|
return taofenTanhuang
|
|
} else if (probabilityType == 'xichengqi') {
|
|
return taofenxichenqi
|
|
} else if (probabilityType == 'jiuchidingpa') {
|
|
return taofenjiuchi
|
|
}
|
|
}
|
|
} else if (gameType == 'ShouHuoJi') {
|
|
if (isAD) {
|
|
return xiaomaibuVd
|
|
} else {
|
|
return xiaomaibuCommon
|
|
}
|
|
} else if (gameType == 'Diaoyu') {
|
|
if (isAD) {
|
|
return diaoYuAD
|
|
} else {
|
|
return diaoYuCommon
|
|
}
|
|
} else if (gameType == 'ChaChang') {
|
|
if (isAD) {
|
|
return chaChangVd
|
|
} else {
|
|
return chaChangCommon
|
|
}
|
|
} else if (gameType == 'BaiCaoJi') {
|
|
if (isAD) {
|
|
return baiCaoJiVd
|
|
} else {
|
|
return baiCaoJiCommon
|
|
}
|
|
} else if (gameType == 'GuShu') {
|
|
if (isAD) {
|
|
return guShuVd
|
|
} else {
|
|
return guShuCommon
|
|
}
|
|
} else if (gameType == 'JiaLiGong') {
|
|
return proJiaLiGong
|
|
} else if (gameType == 'QinWangLing') {
|
|
return proQinWangLing
|
|
} else if (gameType == 'XiuXianNongZhuang') {
|
|
if (isAD) {
|
|
return xiuXianNongZhuangVd
|
|
} else {
|
|
return xiuXianNongZhuangCommon
|
|
}
|
|
} else if (gameType == 'YouTingJiDi') {
|
|
// if(isAD){
|
|
// return shoulieWulian
|
|
// }else{
|
|
if (probabilityType == 'xiaoMuChuan') {
|
|
return youTing_xiaoMuChuan
|
|
} else if (probabilityType == 'puTongYuChuan') {
|
|
return youTing_puTongYuChuan
|
|
} else if (probabilityType == 'kuaiTing') {
|
|
return youTing_kuaiTing
|
|
} else if (probabilityType == 'puTongYouLun') {
|
|
return youTing_puTongYouLun
|
|
} else if (probabilityType == 'haoHuaYouLun') {
|
|
return youTing_haoHuaYouLun
|
|
} else if (probabilityType == 'niXiJian') {
|
|
return youTing_niXiJian
|
|
}
|
|
// }
|
|
|
|
|
|
} else if (gameType == 'KuaiDiZhan') {
|
|
if (isAD) {
|
|
return kuaiDiZhanVd
|
|
} else {
|
|
return kuaiDiZhanCommon
|
|
}
|
|
} else if (gameType == 'ChongWuGuan') {
|
|
return chongWuGuanCommon
|
|
} else if (gameType == 'JiuPingHuiShou') {
|
|
if (isAD) {
|
|
return jiuPingHuiShouVd
|
|
} else {
|
|
return jiuPingHuiShouCommon
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
} |