adjusted random

This commit is contained in:
Glowbal 2015-05-17 00:07:41 +02:00
parent e3dd1eaf47
commit bd440f5af9

View File

@ -90,7 +90,7 @@ namespace ace {
for (double injuryAmount = 0; injuryAmount < amountOfInjuriesOnDamage; ++injuryAmount)
{
std::shared_ptr<ace::medical::injuries::InjuryType> injuryToAdd;
if (rand() % 1 >= 0.85)
if (rand() % 100 >= 85)
{
injuryToAdd = highestSpot;
}