mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Add less obstacles in zones with low treasure value
This commit is contained in:
parent
02fc410a98
commit
433765714f
@ -269,7 +269,7 @@ void Zone::fractalize()
|
||||
else if (treasureValue < 100)
|
||||
{
|
||||
//Dense obstacles
|
||||
spanFactor *= (treasureValue / 100.f);
|
||||
spanFactor *= (0.5 + 0.5 * (treasureValue / 100.f));
|
||||
vstd::amax(spanFactor, 0.15f);
|
||||
}
|
||||
if (treasureDensity <= 10)
|
||||
|
Loading…
Reference in New Issue
Block a user