Nerf sinister in non-cryptid

This commit is contained in:
Emik 2025-03-25 13:14:49 +01:00
parent 052dff3224
commit 9b6f2e0d2f
Signed by untrusted user who does not match committer: emik
GPG key ID: 09CDFF9E5703688D

View file

@ -36,7 +36,9 @@ target = "functions/misc_functions.lua"
pattern = "local AC = G.SETTINGS.ambient_control" pattern = "local AC = G.SETTINGS.ambient_control"
position = "before" position = "before"
payload = '''if Jane and G.ARGS.score_intensity.required_score ~= 0 then payload = '''if Jane and G.ARGS.score_intensity.required_score ~= 0 then
Jane.sinister = (G.ARGS.score_intensity.earned_score / (to_big(10) ^ to_big(G.ARGS.score_intensity.required_score))):to_number() > 1 local base = Cryptid and 10 or G.ARGS.score_intensity.required_score
local expo = Cryptid and G.ARGS.score_intensity.required_score or 10
Jane.sinister = (G.ARGS.score_intensity.earned_score / (to_big(base) ^ to_big(expo))):to_number() > 1
end''' end'''
match_indent = true match_indent = true