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