Skip to content

Commit affb783

Browse files
fix attacker_u and defender_n, close #1213
* Update attacker_u.lua attempt fix for #1213 * Update defender_n.lua --------- Co-authored-by: arisutendou-key <[email protected]>
1 parent 013fab0 commit affb783

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

parts/eventsets/attacker_u.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ return {
1515
P:win('finish')
1616
else
1717
local s
18-
local t=800-10*D.wave-- 800~700~600~500
18+
local t=800-10*math.min(D.wave,30)-- 800~700~600~500
1919
if D.wave<10 then
2020
table.insert(P.atkBuffer,{line=generateLine(P.holeRND:random(5,6)),amount=9,countdown=t,cd0=t,time=0,sent=false,lv=3})
2121
table.insert(P.atkBuffer,{line=generateLine(P.holeRND:random(4,7)),amount=11,countdown=t,cd0=t+62,time=0,sent=false,lv=4})

parts/eventsets/defender_n.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ return {
3737
P:_showText(text.awesome,0,-140,100,'appear',.6)
3838
P.gameEnv.pushSpeed=3
3939
P.dropDelay,P.gameEnv.drop=10,10
40-
elseif D.wave==180 then
40+
elseif D.wave==140 then
4141
P.dropDelay,P.gameEnv.drop=5,5
4242
P:_showText(text.maxspeed,0,-140,100,'appear',.6)
4343
end

0 commit comments

Comments
 (0)