Fix barrows-related exploit

This commit is contained in:
ceikry
2021-07-18 22:15:32 -05:00
parent 0a040db0f6
commit 8edaa424c9
@@ -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())
}