Skip to content

Commit

Permalink
Update version to 3.1.1: Fixed Adjustable Force Projector crash bug i…
Browse files Browse the repository at this point in the history
…n v145.1 #16
  • Loading branch information
abomb4 committed Aug 8, 2023
1 parent 7df7107 commit c9ab883
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.1.1:
- Fixed Adjustable Force Projector crash bug in v145.1

3.1.0:
- 新增一个‘一击炮’,发射单发子弹
- 新增一个‘点杀炮’,直接点杀目标
Expand Down
2 changes: 1 addition & 1 deletion mod.hjson
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,5 @@ Features:
- Дистанционный загрузчик и разгрузчик
- Универсальный завод боевых единиц, также может производить их для врагов
'''
version: 3.1.0
version: 3.1.1
minGameVersion: 136
2 changes: 1 addition & 1 deletion scripts/super-cheat/adjustable-overdrive-projector.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const healed = new IntSet();
}
},
drawLight(){
Drawf.light(this.team, this.x, this.y, 50 * this.efficiency(), baseColor, 0.7 * this.efficiency());
Drawf.light(this.team, this.x, this.y, 50 * this.efficiency, baseColor, 0.7 * this.efficiency);
},
drawSelect(){
var realRange = range;
Expand Down
2 changes: 1 addition & 1 deletion scripts/super-cheat/quantum-launchpad.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ lib.setBuildingSimple(blockType, LaunchPad.LaunchPadBuild, {
var timeScale = this.timeScale;

//launch when full and base conditions are met
if (items.total() >= itemCapacity && efficiency() >= 1 && timer(timerLaunch, launchTime / timeScale)) {
if (items.total() >= itemCapacity && efficiency >= 1 && timer(timerLaunch, launchTime / timeScale)) {
var entity = LaunchPayload.create();
items.each((item, amount) => entity.stacks.add(new ItemStack(item, amount * evilNumber)));
entity.set(this);
Expand Down

0 comments on commit c9ab883

Please sign in to comment.