mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
okay not that lucky
This commit is contained in:
parent
6d71db0f13
commit
b532a6b2d0
@ -79,7 +79,7 @@ export class Arena {
|
|||||||
// luck influences encounter rarity
|
// luck influences encounter rarity
|
||||||
let luckModifier = 0;
|
let luckModifier = 0;
|
||||||
if (typeof luckValue !== "undefined") {
|
if (typeof luckValue !== "undefined") {
|
||||||
luckModifier = luckValue * (isBoss ? 2 : 0.5);
|
luckModifier = luckValue * (isBoss ? 0.5 : 2);
|
||||||
}
|
}
|
||||||
const tierValue = Utils.randSeedInt(randVal - luckModifier);
|
const tierValue = Utils.randSeedInt(randVal - luckModifier);
|
||||||
let tier = !isBoss
|
let tier = !isBoss
|
||||||
|
Loading…
Reference in New Issue
Block a user