整理代码
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
local format=string.format
|
||||
|
||||
return{
|
||||
color=COLOR.green,
|
||||
env={
|
||||
@@ -14,8 +12,8 @@ return{
|
||||
end,
|
||||
mesDisp=function(P)
|
||||
setFont(45)
|
||||
mStr(format("%.1f",P.stat.atk),69,190)
|
||||
mStr(format("%.2f",P.stat.atk/P.stat.row),69,310)
|
||||
mStr(("%.1f"):format(P.stat.atk),69,190)
|
||||
mStr(("%.2f"):format(P.stat.atk/P.stat.row),69,310)
|
||||
mText(drawableText.atk,69,243)
|
||||
mText(drawableText.eff,69,363)
|
||||
end,
|
||||
|
||||
Reference in New Issue
Block a user