0
0
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:
Koks 2022-07-12 09:59:00 +05:30 committed by GitHub
commit 4535250c5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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