mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Add less obstacles in zones with low treasure value
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user