Oops, accidentally removed some code!
This commit is contained in:
parent
0f44850367
commit
aafdc555b1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user