Oops, accidentally removed some code!

This commit is contained in:
Shaun Bennett 2014-09-12 23:41:50 -05:00
parent 0f44850367
commit aafdc555b1

View File

@ -92,7 +92,7 @@ public class RewardManager
// 4%
rarity = RewardRarity.RARE;
}
else if (rand <= 0.30)
else if (rand <= 0.30 || requiresUncommon)
{
// 25%
rarity = RewardRarity.UNCOMMON;
@ -103,7 +103,6 @@ public class RewardManager
rarity = RewardRarity.COMMON;
}
List<ITreasureReward> treasureList = _treasureMap.get(rarity);
int totalWeight = 0;