修改教程 没有修改初始货币,但是修改了广告领取的货币数量。 解除广告限制和去广,加入灵石在里面。点击一次灵石仙玉各30万 复制下面源代码在mt里面打开js文件,进行查找源代码,然后在替换修改代码就可以了 1.修改领取上限和领取时间冷却 源代码 l.dedaoMoney = { award: 5, now: 0, max: 30, endTime: 0, cd: 180, lv: 2 }; 修改代码 l.dedaoMoney = { award: 5, now: 0, max: 99999999, endTime: 0, cd: 0, lv: 2 }; 2.每日免得固定领取奖励 源代码 var a = 2 * (e.award + qingyunzhi.bangPaiInfo.dengji); 修改代码 var a = 100000; 3.去掉次数,冷却判断 源代码 var r = e.now < e.max && e.endTime < this.greenwichMeanTime(), d = this.dedaoPanel("left", t); 修改代码 var r = e.now < e.max, d = this.dedaoPanel("left", t); 4.去掉广告 源代码 this.shezhiDajiResult("1/btn_add", function() { console.log("点击广告"); this.awardNum = a; this.kaishiDonghua(2, function() { console.log("广告奖励正常发送"); this.getMoney(3, a); }.bind(this)); }.bind(this), u); 修改代码 this.shezhiDajiResult("1/btn_add", function() { this.getMoney(3, a); }.bind(this), u); 5.广告奖励加入灵石 源代码 var i = [ 2, 0, a * r, 100 ]; 修改代码 var i = [ 2, 0, a * r, 100, 1, 0, a * r, 100 ]; 人物招收广告和次数修改 6.去掉广告,增加三千次数 源代码 this.shezhiDajiResult("btn_add", function() { this.kaishiDonghua(1, function() { qingyunzhi.guyong.count += qingyunzhi.guyong.add; this.shezhiText("Layout2/Label", qingyunzhi.guyong.count, t); this.dedaoPanel("btn_add2", t).active = 0 < qingyunzhi.guyong.count; this.dedaoPanel("btn_add", t).active = qingyunzhi.guyong.count <= 0; }.bind(this)); }.bind(this), t); 修改代码 this.shezhiDajiResult("btn_add", function() { qingyunzhi.guyong.count += 3000; this.shezhiText("Layout2/Label", qingyunzhi.guyong.count, t); this.dedaoPanel("btn_add2", t).active = 0 < qingyunzhi.guyong.count; this.dedaoPanel("btn_add", t).active = qingyunzhi.guyong.count <= 0; }.bind(this), t); 7.按钮上的文字显示+3000 源代码 this.shezhiTypeStrOne("btn_add/xb2/Label", qingyunzhi.guyong.add, t, 120); 修改代码 this.shezhiTypeStrOne("btn_add/xb2/Label", 3000, t, 120); 8.把默认值也改成3000 源代码 add: 30, 修改代码 add: 3000, 8更改每日金手指自动升级次数,注意这个需要删档,老档不支持显示 源代码 l.duanzaoHouse = { xiuqi: 0, objs: {}, obj: { id: 0, dengji: 1 }, count: 3, nowCount: 0, auto: 0, have: 1, point: 1 }; l.trainHouse = { xiuqi: 0, objs: {}, obj: { id: 0, dengji: 1 }, count: 3, nowCount: 0, auto: 0, have: 1, point: 1 }, l.medicinalHouse = { xiuqi: 0, objs: {}, obj: { id: 0, dengji: 1 }, count: 3, nowCount: 0, auto: 0, have: 1, point: 1 }, l.chanchuHouse = { objs: {}, obj: { id: 0, dengji: 1 }, count: 3, nowCount: 0, auto: 0, add: 1, year: 0, cd: 2, total: 3, point: 1, stoneSet: 140 }, l.gongBuild = { 修改代码 l.duanzaoHouse = { xiuqi: 0, objs: {}, obj: { id: 0, dengji: 1 }, count: 999, nowCount: 0, auto: 0, have: 1, point: 1 }, l.trainHouse = { xiuqi: 0, objs: {}, obj: { id: 0, dengji: 1 }, count: 999, nowCount: 0, auto: 0, have: 1, point: 1 }, l.medicinalHouse = { xiuqi: 0, objs: {}, obj: { id: 0, dengji: 1 }, count: 999, nowCount: 0, auto: 0, have: 1, point: 1 }, l.chanchuHouse = { objs: {}, obj: { id: 0, dengji: 1 }, count: 999, nowCount: 0, auto: 0, add: 1, year: 0, cd: 2, total: 3, point: 1, stoneSet: 140 }, l.gongBuild = { 修功法能和武技阁 功法楼 源代码 this.shezhiDajiResult("btnNode/btn_even", function() { huanyueDong.kaiqiWvisus("WDaxueping2"); }.bind(this), n); 修改代码 this.shezhiDajiResult("btnNode/btn_even", function() { this.autoAddGongfa(10); }.bind(this), n); 加函数 源代码 jumpBestPage: function(i) { 修改代码 autoAddGongfa: function(num) { var t = this.dedaoMonthNum(), e = oSet.byyzm_gfl_sj.values, n = []; for (var r in e) e[r].yueshu <= t && n.push(e[r]); if (0 == n.length) return; var maxRatio = n[n.length - 1].ratio2, a = {}, count = 0, tryCount = 0; while (count < num && tryCount < num * 50) { tryCount++; var u = this.qingyunsuBianZi(1, maxRatio, 1)[0], o = null; for (var g in n) if (n[g].ratio1 <= u && u <= n[g].ratio2) { o = n[g]; break; } if (!o) continue; var l = oSet.byyzm_gf.objs[o.form][o.quality], h = []; for (var s in l) { if (!this.dedaoOption("gongfaSet", l[s].id)) h.push(l[s]); } if (0 == h.length) continue; var k = h[this.qingyunsuBianZi(0, h.length - 1, 1)[0]].id; if (a[k]) continue; a[k] = 1; this.keepOption("gongBuild", k); var q = oSet.byyzm_gf.dedaoData_t(k); if (1 == q.form) { qingyunzhi.gongfaSet.total[q.quality] += 1; this.keepOptionZhuKey("gongfaSet", k); } else { qingyunzhi.gongfaSet.total2[q.quality] += 1; } count++; } qingyunzhi.gongBuild.refresh = 1; this.pageInfo(); }, jumpBestPage: function(i) { 刷新次数 源代码 this.shezhiDajiResult("btn_del2", function() { this.kaishiDonghua(3, function() { this.refreshMax(); }.bind(this)); }.bind(this), i); 修改代码 this.shezhiDajiResult("btn_del2", function() { this.refreshMax(); }.bind(this), i); 武技阁 源代码 this.shezhiDajiResult("02/btnNode/btn_even", function() { huanyueDong.kaiqiWvisus("WTingchaoge2"); }.bind(this), n); 修改代码 this.shezhiDajiResult("02/btnNode/btn_even", function() { this.autoAddWuji(10); }.bind(this), n); 加函数 源代码 jumpBestPage: function(i) { 修改代码 autoAddWuji: function(num) { var t = this.dedaoMonthNum(), e = oSet.byyzm_wjg_sj.values, n = []; for (var r in e) e[r].yueshu <= t && n.push(e[r]); if (0 == n.length) return; var maxRatio = n[n.length - 1].ratio2, a = {}, count = 0, tryCount = 0; while (count < num && tryCount < num * 50) { tryCount++; var u = this.qingyunsuBianZi(1, maxRatio, 1)[0], o = null; for (var g in n) if (n[g].ratio1 <= u && u <= n[g].ratio2) { o = n[g]; break; } if (!o) continue; var l = oSet.byyzm_wj.objs[o.form][o.quality], h = []; for (var s in l) { if (!this.dedaoOption("wujiSet", l[s].id)) h.push(l[s]); } if (0 == h.length) continue; var k = h[this.qingyunsuBianZi(0, h.length - 1, 1)[0]].id; if (a[k]) continue; a[k] = 1; this.keepOption("wuBuild", k); var q = oSet.byyzm_wj.dedaoData_t(k); if (1 == q.form) { qingyunzhi.wujiSet.total[q.quality] += 1; this.keepOptionZhuKey("wujiSet", k); } else { qingyunzhi.wujiSet.total2[q.quality] += 1; } count++; } qingyunzhi.wuBuild.refresh = 1; this.wujiInfo(); }, jumpBestPage: function(i) { 刷新 源代码 this.shezhiDajiResult("btn_del2", function() { this.kaishiDonghua(4, function() { this.refreshMax(); }.bind(this)); }.bind(this), i); 修改代码 this.shezhiDajiResult("btn_del2", function() { this.refreshMax(); }.bind(this), i); 修复卡顿 源代码 this.schedule(this._forUpdateFunc_, 0); n.active = !0; }, 修改代码 this.schedule(this._forUpdateFunc_, 0); }, 弟子重生广告 源代码 var a = { _func: function(i) { i && this.kaishiDonghua(5, function() { this.afterLive(); this.diziInfo.zhanli += e; this.countDiziAttr(this.diziInfo); }.bind(this)); }.bind(this), str1: n, type: 1, show: 1, title: this.buchongWen(15) }; 修改代码 var a = { _func: function(i) { if (i) { this.afterLive(); this.diziInfo.zhanli += e; this.countDiziAttr(this.diziInfo); } }.bind(this), str1: n, type: 1, show: 1, title: this.buchongWen(15) }; 体质觉醒 this.shezhiDajiResult("btn_del2", function() { this.kaishiDonghua(6, function() { var i = this.qingyunsuBianZi(1, o, 1)[0] + (e = oSet.byyzm_tz.dedaoData_t(a.tzId)).star, t = oSet.byyzm_tz.objs[i], e = t[this.qingyunsuBianZi(0, t.length - 1, 1)[0]]; a.tzId = e.id; n.dizi_s = a; this.countDiziAttr(a); this.pageInfo(n); }.bind(this)); }.bind(this), i); 修改代码 this.shezhiDajiResult("btn_del2", function() { var i = this.qingyunsuBianZi(1, o, 1)[0] + (e = oSet.byyzm_tz.dedaoData_t(a.tzId)).star, t = oSet.byyzm_tz.objs[i], e = t[this.qingyunsuBianZi(0, t.length - 1, 1)[0]]; a.tzId = e.id; n.dizi_s = a; this.countDiziAttr(a); this.pageInfo(n); }.bind(this), i); 源代码 guangaoHuiidao: function() { var i = this.kv, t = i.dizi_s, e = oSet.byyzm_tz.dedaoData_t(t.tzId), n = 10 - e.star; 3 < n && (n = 3); var a = this.qingyunsuBianZi(1, n, 1)[0] + (e = oSet.byyzm_tz.dedaoData_t(t.tzId)).star, r = oSet.byyzm_tz.objs[a], d = r[this.qingyunsuBianZi(0, r.length - 1, 1)[0]]; t.tzId = d.id; i.dizi_s = t; this.countDiziAttr(t); this.pageInfo(i); } 修改代码 guangaoHuiidao: function() {} 犯宗门弟子复活 源代码 this.shezhiDajiResult("right/btn_add", function() { this.kaishiDonghua(8, function() { for (var i in n) { n[i].isFall = 0; var t = this.returnDiziLongStr(n[i]), e = this.zhaoshouTxt(101); e = e.txtDaitiSign(t); Tptip.pushTxt(e); } huanyueDong.huidiaoGvisus("VShanding/dizongDeal"); this.dajiTuichu(); }.bind(this)); }.bind(this), o); 修改代码 this.shezhiDajiResult("right/btn_add", function() { for (var i in n) { n[i].isFall = 0; var t = this.returnDiziLongStr(n[i]), e = this.zhaoshouTxt(101); e = e.txtDaitiSign(t); Tptip.pushTxt(e); } huanyueDong.huidiaoGvisus("VShanding/dizongDeal"); this.dajiTuichu(); }.bind(this), o); 源代码 guangaoHuiidao: function() { var i = this.kv.fallArr; for (var t in i) { i[t].isFall = 0; var e = this.returnDiziLongStr(i[t]), n = this.zhaoshouTxt(101); n = n.txtDaitiSign(e); Tptip.pushTxt(n); } huanyueDong.huidiaoGvisus("VShanding/dizongDeal"); this.dajiTuichu(); } 修改代码 guangaoHuiidao: function() {} 魂兽山修改 去广 源代码 this.shezhiDajiResult("Layout/left/btn_del2", function() { this.kaishiDonghua(7, function() { this.listAddUp(); }.bind(this)); }.bind(this), i); 修改代码 this.shezhiDajiResult("Layout/left/btn_del2", function() { this.listAddUp(); }.bind(this), i); 广告回调去广 源代码 guangaoHuiidao: function() { this.listAddUp(); } 修改代码 guangaoHuiidao: function() {} 列表固定百分百抓住 源代码 var l = a.sfRate; e == qingyunzhi.monZoo.select && (l += 2e3); 1e4 < l && (l = 1e4); l /= 100; this.shezhiText("Label3", l + "%", n); 修改代码 var l = 100; this.shezhiText("Label3", l + "%", n); 概率满值 源代码 listAddUp: function() { var i = qingyunzhi.monZoo.list; for (var t in i) { var e = i[t].sfRate + 2e3; 1e4 < e && (e = 1e4); i[t].sfRate = e; } this.pageInfo(); }, 修改代码 listAddUp: function() { var i = qingyunzhi.monZoo.list; for (var t in i) { i[t].sfRate = 1e4; } this.pageInfo(); }, 建议修改 源代码 var D = this.qingyunsuBianZi(b.ratio1, b.ratio2, 1)[0], S = this.returnTianfuVal(1036, t); D += S *= 100; var I = { id: k.id, lv: w.dengji, diId: t.id, sfId: b.id, sfRate: D }, T = b.ratio; 修改后 var D = 1e4; var I = { id: k.id, lv: w.dengji, diId: t.id, sfId: b.id, sfRate: D }, T = b.ratio; 必须修改 源代码 WMonZoo4: [ function(i, t, e) { "use strict"; cc._RF.push(t, "66490MUnoZD3YlPLOylMWNQ", "WMonZoo4"); cc.Class({ extends: cc.Component, init: function() { var i = qingyunzhi.monZoo.list, t = [], e = []; this.unionZongmenId = null; this.reason = null; for (var n = !1, a = 0; a < i.length; a++) { var r = i[a], d = r.sfRate; a == qingyunzhi.monZoo.select && (d += 2e3); 1e4 < d && (d = 1e4); var u = this.dedaoOption("dizi", r.diId), o = this.dedaoDiziFuzhu(u).hunshouData, g = this.qingyunsuBianZi(1, 1e4, 1)[0]; console.log(!o[r.id], g, d, "收服概率"); if (!o[r.id] && g <= d) { var l = this.returnDiziLongStr(u), h = oSet.byyzm_hs.dedaoData_t(r.id), s = this.returnLDFLongStr(h, r.lv, 10), k = this.monthEvent(33); k = k.txtDaitiSign(l, s); t.push(k); var c = { type: 10, award: [ 10, r.id, 1, 100 ] }; this.saveAwardBYY(c, r.lv, u); this.hunshoushanShoufu(u, r.id, r.lv); var y = this.dedaoData_tById(c.award); if (4 <= y.hue && e.length <= 0) { var m = this.dedaoConfig(51); 4 == y.hue ? m = this.dedaoConfig(51) : 5 == y.hue ? m = this.dedaoConfig(52) : 6 == y.hue && (m = this.dedaoConfig(53)); var f = this.qingyunsuBianZi(1, 1e4, 1)[0]; console.log("魂兽结识概率", f, m, y.mingzi); if (f <= m) { n = !0; var j = { awardKv: c, lv: r.lv }; e.push(j); } } } } if (n && 0 < e.length) { var w = this.dedaoMonthNum(), z = oSet.byyzm_gfsl.values, _ = []; for (var p in z) { var v = z[p]; this.dedaoOption("unionZongmen", v.id) || v.yueshu1 <= w && w <= v.yueshu2 && _.push(z[p]); } if (0 < _.length) { var x = _[this.qingyunsuBianZi(0, _.length - 1, 1)[0]], b = this.keepOptionZhuKey("unionZongmen", x.id); this.unionZongmenId = b.id; var q = this.qingyunsuBianZi(x.count1, x.count2, 1)[0]; b.initCount = q; b.nowCount = q; var D = this.qingyunsuBianZi(x.strength1, x.strength2, 1)[0]; b.initPower = D; b.nowPower = D; var S = this.qingyunsuBianZi(this.dedaoConfig(34), this.dedaoConfig(35), 1)[0]; b.friendly = S; if (1 == this.qingyunsuBianZi(1, 2, 1)[0]) { this.reason = this.zhaoshouTxt(132); var I = this.qingyunsuBianZi(this.dedaoConfig(54), this.dedaoConfig(55), 1)[0]; b.friendly = I; } else { this.reason = this.zhaoshouTxt(133); var T = this.qingyunsuBianZi(this.dedaoConfig(56), this.dedaoConfig(57), 1)[0]; b.friendly = T; } var P = this.returnYueType(b); b.type = P; var L = e[this.qingyunsuBianZi(0, e.length - 1, 1)[0]], R = this.returnAwardStrBYY(L.awardKv, L.lv); this.reason = this.reason.replace(/x%/g, R); } } this.pageInfo(t); }, dajiTuichu: function() { if (this.unionZongmenId) { var i = { id: this.unionZongmenId, reason: this.reason, type: 6 }; huanyueDong.kaiqiWvisus("WSecretPalace4", i); } this.node.active = !1; }, load: function() { var i = this.dedaoPanel("node_up"); this.shezhiDajiResult("btn_add", function() { this.dajiTuichu(); }.bind(this), i); }, pageInfo: function(t) { var i = this.dedaoPanel("node_up"); this.shezhiTypeStrOne("kuaih2/Label", t.length, i, 104); var e = this.dedaoPanel("sw/view/content", i), n = e.children; for (var a in n) n[a].isUpdate = !1; this.gengdieNotime(t.length, function(i) { this.bindJuzi(e, t, i); }.bind(this), function() { for (var i = 0; i < n.length; i++) n[i].isUpdate || (n[i].active = !1); }.bind(this)); }, bindJuzi: function(i, t, e) { var n = i.children[e]; n || ((n = cc.instantiate(this.dedaoPanel("node_up/node_item"))).parent = i); n.isUpdate = !0; n.active = !0; this.shezhiFutext("New RichText", t[e], n); } }); cc._RF.pop(); }, {} ], 修改代码 WMonZoo4: [ function(i, t, e) { "use strict"; cc._RF.push(t, "66490MUnoZD3YlPLOylMWNQ", "WMonZoo4"); cc.Class({ extends: cc.Component, init: function() { var i = qingyunzhi.monZoo.list, t = [], e = []; this.unionZongmenId = null; this.reason = null; for (var n = !1, a = 0; a < i.length; a++) { var r = i[a], d = 1e4; var u = this.dedaoOption("dizi", r.diId), o = this.dedaoDiziFuzhu(u).hunshouData, g = this.qingyunsuBianZi(1, 1e4, 1)[0]; console.log(!o[r.id], g, d, "收服概率"); if (g <= d) { var l = this.returnDiziLongStr(u), h = oSet.byyzm_hs.dedaoData_t(r.id), s = this.returnLDFLongStr(h, r.lv, 10), k = this.monthEvent(33); k = k.txtDaitiSign(l, s); t.push(k); var c = { type: 10, award: [ 10, r.id, 1, 100 ] }; this.saveAwardBYY(c, r.lv, u); this.hunshoushanShoufu(u, r.id, r.lv); var y = this.dedaoData_tById(c.award); if (4 <= y.hue && e.length <= 0) { var m = this.dedaoConfig(51); 4 == y.hue ? m = this.dedaoConfig(51) : 5 == y.hue ? m = this.dedaoConfig(52) : 6 == y.hue && (m = this.dedaoConfig(53)); var f = this.qingyunsuBianZi(1, 1e4, 1)[0]; console.log("魂兽结识概率", f, m, y.mingzi); if (f <= m) { n = !0; var j = { awardKv: c, lv: r.lv }; e.push(j); } } } } if (n && 0 < e.length) { var w = this.dedaoMonthNum(), z = oSet.byyzm_gfsl.values, _ = []; for (var p in z) { var v = z[p]; this.dedaoOption("unionZongmen", v.id) || v.yueshu1 <= w && w <= v.yueshu2 && _.push(z[p]); } if (0 < _.length) { var x = _[this.qingyunsuBianZi(0, _.length - 1, 1)[0]], b = this.keepOptionZhuKey("unionZongmen", x.id); this.unionZongmenId = b.id; var q = this.qingyunsuBianZi(x.count1, x.count2, 1)[0]; b.initCount = q; b.nowCount = q; var D = this.qingyunsuBianZi(x.strength1, x.strength2, 1)[0]; b.initPower = D; b.nowPower = D; var S = this.qingyunsuBianZi(this.dedaoConfig(34), this.dedaoConfig(35), 1)[0]; b.friendly = S; if (1 == this.qingyunsuBianZi(1, 2, 1)[0]) { this.reason = this.zhaoshouTxt(132); var I = this.qingyunsuBianZi(this.dedaoConfig(54), this.dedaoConfig(55), 1)[0]; b.friendly = I; } else { this.reason = this.zhaoshouTxt(133); var T = this.qingyunsuBianZi(this.dedaoConfig(56), this.dedaoConfig(57), 1)[0]; b.friendly = T; } var P = this.returnYueType(b); b.type = P; var L = e[this.qingyunsuBianZi(0, e.length - 1, 1)[0]], R = this.returnAwardStrBYY(L.awardKv, L.lv); this.reason = this.reason.replace(/x%/g, R); } } this.pageInfo(t); }, dajiTuichu: function() { if (this.unionZongmenId) { var i = { id: this.unionZongmenId, reason: this.reason, type: 6 }; huanyueDong.kaiqiWvisus("WSecretPalace4", i); } this.node.active = !1; }, load: function() { var i = this.dedaoPanel("node_up"); this.shezhiDajiResult("btn_add", function() { this.dajiTuichu(); }.bind(this), i); }, pageInfo: function(t) { var i = this.dedaoPanel("node_up"); this.shezhiTypeStrOne("kuaih2/Label", t.length, i, 104); var e = this.dedaoPanel("sw/view/content", i), n = e.children; for (var a in n) n[a].isUpdate = !1; this.gengdieNotime(t.length, function(i) { this.bindJuzi(e, t, i); }.bind(this), function() { for (var i = 0; i < n.length; i++) n[i].isUpdate || (n[i].active = !1); }.bind(this)); }, bindJuzi: function(i, t, e) { var n = i.children[e]; n || ((n = cc.instantiate(this.dedaoPanel("node_up/node_item"))).parent = i); n.isUpdate = !0; n.active = !0; this.shezhiFutext("New RichText", t[e], n); } }); cc._RF.pop(); }, {} ],