giveGem
roll is not needed in obtainGem
because it is already checked in order to call obtainGem
.
Calling random inside the Glory loop results in multiple rolls, potentially hiding the double giveGem
check.
giveGem
roll is not needed in obtainGem
because it is already checked in order to call obtainGem
.
Calling random inside the Glory loop results in multiple rolls, potentially hiding the double giveGem
check.