整理代码,Zframework添加数学扩展模块

This commit is contained in:
MrZ626
2021-11-15 15:46:57 +08:00
parent 7710f0b70f
commit fa0bc3805f
6 changed files with 26 additions and 18 deletions

View File

@@ -231,13 +231,6 @@ end
function getItem(itemName,amount)
STAT.item[itemName]=STAT.item[itemName]+(amount or 1)
end
function coin(a,b)
if rnd()<.5 then
return a
else
return b
end
end
function generateLine(hole)
return 1023-2^(hole-1)
end