Git游戏

您现在的位置是:首页 > 攻略大全 > 黑科技

黑科技

挖矿增量修改

2025-09-20 黑科技306
欢迎加入黑科技QQ群:934074044 交流,请勿在其它群炫耀修改成果,谢谢合作!
修改离线时间:player.offTime.remain=999999999修改铜矿石:player.copper.ore = new ExpantaNum(999);修改锡矿石:player.tin.ore = new ExpantaNum(999);修改铁矿石:player.iron.ore = new ExpantaNum(99999);修...

修改离线时间:


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]);


文章评论

共有0条评论来说两句吧...