Skip to content

Commit

Permalink
Create 蔷薇的夜宴2 蓝玉石 改钻石.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pjy612 authored May 5, 2024
1 parent 4128b05 commit c2b6e0e
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions 蔷薇的夜宴2 蓝玉石 改钻石.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# 蔷薇的夜宴2 蓝玉石 修改钻石

Steamdb 链接 https://steamdb.info/app/1964200

## 准备工作
* Steam 下载好了游戏
* 安装了 Chrome 浏览器

## 前置准备工作
1. 给游戏设置启动参数
```
--remote-debugging-port=9222
```
![image](https://github.com/pjy612/gityx-cheat/assets/4072526/b82506b9-c867-4cd4-8ed1-3af614fafb35)

2. 启动游戏
3. 在 Chrome 地址栏 输入 `chrome://inspect` 等待出现 Remote Target 并 点击 `inspect`
![image](https://github.com/pjy612/gityx-cheat/assets/4072526/e630bcee-85bb-43f8-9c73-ff676962a545)

4. 弹出如下窗口 则表示 前置工作准备完毕
![image](https://github.com/pjy612/gityx-cheat/assets/4072526/71b79382-4100-4708-826c-93a0ab1366f8)

5. 在 Console 选项卡 中 执行 前置脚本(复制、粘贴、回车) 后 再额外 自行选择执行 修改脚本 即可修改
![image](https://github.com/pjy612/gityx-cheat/assets/4072526/bc0a8592-388d-40f8-965a-b1e326737f2c)

## 修改脚本
* 前置脚本
```js
var app = $("#app").__vue_app__;
var systemStore = app.config.globalProperties.$store.state.systemStore;
var playerData = app.config.globalProperties.$store.state.playerCharStore.playerCharData.playerData;
```
* 修改脚本
```js
//修改白钻石
systemStore.diamonds = 999999

//修改战斗场景蓝宝石(经验值)
playerData.exp = 100000

//修改战斗场景 幸运值
playerData.luck = 100

//重置技能cd
playerData.skills.forEach(v=>{
if(v.cooldown) v.cooldown = 0;
});
```

## 成果图
![image](https://github.com/pjy612/gityx-cheat/assets/4072526/68cc7fa4-60b4-4911-9660-5a6bc424ae8e)

0 comments on commit c2b6e0e

Please sign in to comment.