1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

FACTO-209: Increase worm awareness by worm range scaler

This commit is contained in:
Aaron Veden 2022-10-20 21:35:55 -07:00
parent c594303a91
commit 7eaf1d6a58
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
2 changed files with 2 additions and 0 deletions

View File

@ -9,6 +9,7 @@ Version: 3.2.0
Bugfixes:
- Removed layer-13 from projectiles
- script_raised_built now looks for enemy faction and registers as needed
- Fixed worm range scaler setting not adjusting prepareRange so worms could shoot without being out of the ground. (Thanks Garrotte)
Optimizations:
- Moved most constants out of global
- Removed new enemy variations setting

View File

@ -587,6 +587,7 @@ local function scaleAttributes (entity)
entity["damage"] = entity["damage"] * settings.startup["rampant--unitWormDamageScaler"].value
entity["damagePerTick"] = entity["damagePerTick"] * settings.startup["rampant--unitWormDamageScaler"].value
entity["range"] = entity["range"] * settings.startup["rampant--unitWormRangeScaler"].value
entity["prepareRange"] = entity["prepareRange"] * settings.startup["rampant--unitWormRangeScaler"].value
entity["healing"] = entity["healing"] * settings.startup["rampant--unitWormHealingScaler"].value
elseif (entity.type == "hive") then
entity["health"] = entity["health"] * settings.startup["rampant--unitHiveHealthScaler"].value