Git游戏

最新动态:
查看全部
每日必做
站内竞技
抽奖中心
每日签到 ×
0
连签天数
0
累签次数
0
今日已签到

签到规则

每日签到获得 5 积分

连签达标可额外获得奖励:

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

黑科技

《1000亿分之一》修改十倍经验值

2026-12-03 黑科技113 投稿者:路人甲
欢迎加入黑科技QQ群:934074044 交流,请勿在其它群炫耀修改成果,谢谢合作!
(function () { const STORE = 'human-archive-pixel-2'; const MULT = 10; const CELLS = 10; let lastLv = 0, lastCh = 0, ready = false; try { const raw = localStorage.getItem(STORE); if (raw) { ...

(function () {

  const STORE = 'human-archive-pixel-2';

  const MULT = 10;

  const CELLS = 10;


  let lastLv = 0, lastCh = 0, ready = false;


  try {

    const raw = localStorage.getItem(STORE);

    if (raw) {

      const o = JSON.parse(raw);

      lastLv = Number(o.level.lv) || 1;

      lastCh = Number(o.level.charge) || 0;

      ready = true;

      console.log(`%c基准: 等级 ${lastLv},格数 ${lastCh}/${CELLS},宝箱 ${o.chests || 0}`, 'color:#0ff;font-size:14px');

    }

  } catch (e) {}


  if (!ready) {

    console.log('%c没有存档,先开一张卡', 'color:#f80');

    return;

  }


  const orig = JSON.stringify;


  JSON.stringify = function (v, ...rest) {

    if (v && typeof v === 'object' && Array.isArray(v.keys) && v.level && v.packs) {

      const curLv = Number(v.level.lv) || 1;

      const curCh = Number(v.level.charge) || 0;


      let gained = 0;

      if (curLv === lastLv) {

        gained = curCh - lastCh;

      } else if (curLv > lastLv) {

        gained = (curLv - lastLv) * CELLS + curCh - lastCh;

      }


      if (gained > 0) {

        const total = gained * MULT;

        const base = lastLv * CELLS + lastCh;

        const now = base + total;


        const newLv = Math.floor(now / CELLS);

        const newCh = now % CELLS;


        // ===== 补宝箱:多出来的等级每个补 1 个 =====

        const extraLevels = newLv - curLv;

        let addedChests = 0;

        if (extraLevels > 0) {

          v.chests = (Number(v.chests) || 0) + extraLevels;

          addedChests = extraLevels;

        }


        v.level.lv = newLv;

        v.level.charge = newCh;


        console.log(

          `%c[EXP×${MULT}] +${gained}格 → +${total}格  |  等级 ${lastLv} → ${newLv}` +

          (addedChests ? `  |  宝箱 +${addedChests}(共 ${v.chests})` : ''),

          'color:#0f0;font-size:14px;font-weight:bold'

        );

      }


      lastLv = Number(v.level.lv) || 1;

      lastCh = Number(v.level.charge) || 0;

    }

    return orig.call(this, v, ...rest);

  };


  console.log('%c[EXP×' + MULT + ' + 宝箱] 已启用', 'color:#0f0;font-size:20px;font-weight:bold');

})();


0.0
★★★★★
暂无评分
给这篇文章打分
★ ★ ★ ★ ★
满分10分,点击星星打分
评分分布
5星
0%
4星
0%
3星
0%
2星
0%
1星
0%

文章评论

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

每日游戏盲盒
点击盲盒,开出今日惊喜游戏
去金币抽奖
游戏库
最近0 收藏0 游玩中0 已通关0
加载中...
最近在玩
为「《1000亿分之一》修改十倍经验值」补充标签
你推荐的标签将在管理员审核通过后展示在页面的标签区,便于大家找到这篇文章。每行一个,不要带标点符号。审核通过后同时计入你的「补充标签」任务进度。
每行一个标签,最多 10 个,提交后等待管理员审核展示