mirror of
https://gitlab.com/YuukiPS/GC-Resources.git
synced 2025-04-28 09:05:26 +00:00
Merge pull request #6 from longhuan1999/main
Replacing the integer division operator with a rounding function
This commit is contained in:
commit
4535250c5f
@ -970,7 +970,7 @@ function L1_1(A0_2, A1_2)
|
||||
L3_2 = A0_2
|
||||
L4_2 = "auth_uid_p1"
|
||||
L5_2 = A0_2.uid
|
||||
L5_2 = L5_2 // 10000
|
||||
L5_2 = math.floor(L5_2 / 10000)
|
||||
L2_2(L3_2, L4_2, L5_2)
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.SetGroupVariableValue
|
||||
|
@ -625,7 +625,7 @@ function L2_1(A0_2, A1_2)
|
||||
L10_2 = 10
|
||||
L11_2 = L5_2 - 1
|
||||
L9_2 = L9_2(L10_2, L11_2)
|
||||
L8_2 = L8_2 // L9_2
|
||||
L8_2 = math.floor(L8_2 / L9_2)
|
||||
if L8_2 ~= 1 then
|
||||
L8_2 = math
|
||||
L8_2 = L8_2.pow
|
||||
@ -672,7 +672,7 @@ function L2_1(A0_2, A1_2)
|
||||
L10_2 = 10
|
||||
L11_2 = L5_2 - 1
|
||||
L9_2 = L9_2(L10_2, L11_2)
|
||||
L8_2 = L8_2 // L9_2
|
||||
L8_2 = math.floor(L8_2 / L9_2)
|
||||
if L8_2 ~= 1 then
|
||||
L8_2 = math
|
||||
L8_2 = L8_2.pow
|
||||
|
@ -1301,7 +1301,7 @@ function L4_1(A0_2, A1_2)
|
||||
L3_2 = A0_2
|
||||
L4_2 = "auth_uid_p1"
|
||||
L5_2 = A0_2.uid
|
||||
L5_2 = L5_2 // 10000
|
||||
L5_2 = math.floor(L5_2 / 10000)
|
||||
L2_2(L3_2, L4_2, L5_2)
|
||||
L2_2 = ScriptLib
|
||||
L2_2 = L2_2.SetGroupVariableValue
|
||||
|
Loading…
x
Reference in New Issue
Block a user