Fix barrows-related exploit
This commit is contained in:
@@ -85,8 +85,7 @@ object RewardChest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
val rewards: MutableList<Item> = ArrayList()
|
val rewards: MutableList<Item> = ArrayList()
|
||||||
var maxRolls = 2 + RandomFunction.random(0,player.savedData.activityData.barrowKills / 3)
|
var maxRolls = 2 + RandomFunction.random(1,6)
|
||||||
if(maxRolls > 6) maxRolls = 6
|
|
||||||
for (i in 0 until maxRolls) {
|
for (i in 0 until maxRolls) {
|
||||||
rewards.addAll(DROP_TABLE.roll())
|
rewards.addAll(DROP_TABLE.roll())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user