挖矿增量修改
新增:加速不减离线时间gameSpeedCost = () => 0;修改离线时间:player.offTime.remain=999999999修改铜矿石:player.copper.ore = new ExpantaNum(999);修改锡矿石:player.tin.ore = new ExpantaNum(999);修改铁矿...
新增:加速不减离线时间
gameSpeedCost = () => 0;
修改离线时间:
player.offTime.remain=999999999
修改铜矿石:
player.copper.ore = new ExpantaNum(999);
修改锡矿石:
player.tin.ore = new ExpantaNum(999);
修改铁矿石:
player.iron.ore = new ExpantaNum(99999);
修改镍矿石:
player.nickel.ore = new ExpantaNum(9999);
修改铝矿石:
player.aluminum.ore = new ExpantaNum(9999);
修改铅矿石:
player.lead.ore = new ExpantaNum(9999);
修改RF总量:
// 1. 修改RF总量(1e9 = 10亿,可替换为任意数字,比如1e12=1万亿)
const targetRF = new ExpantaNum(1e9);
Vue.set(player.rf, "points", targetRF); // 用Vue.set确保界面同步
修改青铜力量:11是等级1,12是等级2,13是等级3
// 1. 创建一个新的ExpantaNum对象并赋值为50(这是游戏认可的类型)
const newLevel = new ExpantaNum(50);
// 2. 用Vue.set赋值,确保响应式更新且类型正确
Vue.set(player.bronze.buyables, 11, newLevel);
// 3. 刷新游戏数据
updateTemp();
// 4. 验证结果(此时应该有gte、max等方法)
console.log("修改后等级(带方法):", player.bronze.buyables[11]);
- 上一篇
末日危机2修改
F12打开控制台,在g8hh.github.io\clickpocalypse2中打开c2.js%3Fver=20150918文件,启用本地覆盖,修改后点击CTRL+F5刷界面生效。//升级技能点额外+2,替换对应代码,16623行左右e.Qc = function() { if (! (this...
- 下一篇
Gooboo修改已更新修复
//初始化currency=$(".primary")[0].__vue__.$store.state.currency//资源名自取currency.card_shinyDust.valuecurrency.event_algae.valuecurrency.event_bloomToken.valuecurrency.event_blossom.valuecurrency.ev...
微信打赏支持
支付宝打赏支持