攻击力统计算法修改
This commit is contained in:
@@ -1196,16 +1196,14 @@ do--Player.drop(P)--Place piece
|
||||
end
|
||||
|
||||
--Send Lines
|
||||
atk=int(atk*(1+P.strength*.25))--Badge Buff
|
||||
send=atk
|
||||
if send>0 then
|
||||
if exblock>0 then
|
||||
exblock=int(exblock*(1+P.strength*.25))--Badge Buff
|
||||
P:showText("+"..exblock,0,53,20,"fly")
|
||||
off=off+P:cancel(exblock)
|
||||
end
|
||||
|
||||
send=int(send*(1+P.strength*.25))--Badge Buff
|
||||
if send>0 then
|
||||
if send>=1 then
|
||||
P:showText(send,0,80,35,"zoomout")
|
||||
_=P:cancel(send)
|
||||
send=send-_
|
||||
@@ -1235,7 +1233,6 @@ do--Player.drop(P)--Place piece
|
||||
end
|
||||
if P.sound and send>3 then SFX.play("emit",min(send,7)*.1)end
|
||||
end
|
||||
end
|
||||
|
||||
--SFX & Vibrate
|
||||
if P.sound then
|
||||
@@ -1342,8 +1339,10 @@ do--Player.drop(P)--Place piece
|
||||
end
|
||||
if gbcc>0 then
|
||||
STAT.dig=STAT.dig+gbcc
|
||||
if atk>0 then
|
||||
STAT.digatk=STAT.digatk+atk*gbcc/cc
|
||||
end
|
||||
end
|
||||
local n=CB.name
|
||||
if dospin then
|
||||
_=STAT.spin[n] _[cc+1]=_[cc+1]+1--Spin[1~25][0~4]
|
||||
|
||||
Reference in New Issue
Block a user