Fix barrows-related exploit

This commit is contained in:
ceikry 2021-07-18 22:15:32 -05:00
parent 8fbb252b8e
commit 390fc580d8

View file

@ -85,8 +85,7 @@ object RewardChest {
}
}
val rewards: MutableList<Item> = ArrayList()
var maxRolls = 2 + RandomFunction.random(0,player.savedData.activityData.barrowKills / 3)
if(maxRolls > 6) maxRolls = 6
var maxRolls = 2 + RandomFunction.random(1,6)
for (i in 0 until maxRolls) {
rewards.addAll(DROP_TABLE.roll())
}