Skip to content

Commit

Permalink
Create 继续解锁.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pjy612 authored Feb 23, 2023
1 parent 8c8be96 commit 002b1ce
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions 继续解锁.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
继续解锁

http://www.gityx.com/g8hh/yihanhua/577.html

https://theresmoregame.g8hh.com/

```js
//初始化 "saveToClipboard"
GG=this;
```
![Uploading Snipaste_2023-02-23_15-47-35.png…]()


```js
//不减反增
GG.MainStore.ResourcesStore.useResource = GG.MainStore.ResourcesStore.addResource;
//自动增长
GG.MainStore.run.resources.forEach(v=>{
let cap = GG.MainStore.ResourcesStore._getResourceCap(v.id);
if(cap>0 && v.timer<cap)v.timer = cap;
});
//建造不减反增
GG.MainStore.BuildingsStore.buildings.forEach(b=>{
b.req.forEach(r=>{
if(r.value>0)r.value=0;
})
});
```

0 comments on commit 002b1ce

Please sign in to comment.