7 Commits

Author SHA1 Message Date
1cf7b41d3f chore: note that random element functions could return undefined (#1910)
Some checks failed
Build / build (push) Has been cancelled
Build Docker image / docker (push) Has been cancelled
We should be explicit about the fact that we expect the arrays to not be empty.

Reviewed-on: #1910
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-04-29 12:27:25 -07:00
901263ada3 feat: transmutation (#1112)
All checks were successful
Build / build (20) (push) Successful in 59s
Build / build (22) (push) Successful in 1m4s
Build Docker image / docker (push) Successful in 33s
Build / build (18) (push) Successful in 40s
Closes #1098

Reviewed-on: #1112
Co-authored-by: Sainan <sainan@calamity.inc>
Co-committed-by: Sainan <sainan@calamity.inc>
2025-03-08 04:34:41 -08:00
f3f1bfc890 chore: simplify rngService (#1073)
All checks were successful
Build / build (20) (push) Successful in 33s
Build / build (18) (push) Successful in 51s
Build / build (22) (push) Successful in 33s
Build Docker image / docker (push) Successful in 31s
getRandomWeightedReward now takes any object with lowercase 'rarity', and the only alternative to it is the 'uc' variant which takes any object with uppercase 'Rarity'
usage of IRngResult is now also optional

Reviewed-on: #1073
Co-authored-by: Sainan <sainan@calamity.inc>
Co-committed-by: Sainan <sainan@calamity.inc>
2025-03-03 12:48:46 -08:00
526ce1529b feat: unveiling rivens by doing the challenge (#1031)
All checks were successful
Build / build (18) (push) Successful in 38s
Build / build (20) (push) Successful in 48s
Build / build (22) (push) Successful in 49s
Build Docker image / docker (push) Successful in 34s
Closes #722

Reviewed-on: #1031
2025-02-27 18:01:06 -08:00
ca55b21a2a fix: display bug when activating riven via mods console (#1034)
All checks were successful
Build / build (20) (push) Successful in 35s
Build / build (18) (push) Successful in 50s
Build / build (22) (push) Successful in 53s
Build Docker image / docker (push) Successful in 30s
Reviewed-on: #1034
2025-02-26 15:42:25 -08:00
8b836020bf
chore: turn getJSONfromString into a template/generic function (#836) 2025-01-24 14:27:10 +01:00
83617ae287
feat: activate riven mod (get a random challenge) (#721) 2025-01-06 05:35:57 +01:00