mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
adjusted random
This commit is contained in:
parent
e3dd1eaf47
commit
bd440f5af9
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user