EpsTweak for Nukes: Damage

If you liked this item, please rate it up on Steam Workshop page.

Author: Eps

Last revision: 17 May, 2020 at 23:16 UTC

File size: 6.14 KB

On Steam Workshop

Description:

EpsTweak is a series of small mods that tweak the balance of Civ 6. Rather than put all of them into one hefty package, I’ve split them into small fragments to allow you to make your own custom rulesets.

This is an experimental mod that changes the way nuclear weapons deal damage to buildings and units, such that they take different damage based on the size of the nuke, their distance to the center of the blast, and whether they are sheltered by walls. The goal is to make it so that one glancing blow from a single nuke isn’t enough to leave a city defenseless. But 2 or 3 nukes are.

* Nuclear Bombs deal 150 Base Damage to their target tile, and 75 damage to adjacent tiles.
Thermonuclear Bombs deal 225 Base Damage to the target tile, 150 damage to the inner ring, and 75 damage in the outer ring.
* If a tile has district defenses up, they take the full Base Damage to themselves, but then also absorb up to half of the damage that other buildings and units in the tile would take. The remainder is the tile’s Effective Damage.
* If the tile has garrison HP, it loses health equal to Effective Damage.
* If the tile has a district, for every 25 Effective damage over 25 (50, 75, 100, and so on), one of its structures is pillaged. Higher-cost buildings get pillaged first. If there are no more buildings left to pillage, the district itself is pillaged.
* Units in the tile receive the full Effective Damage, unless they have the "WMD Resistance" ability, in which case they take half of Effective Damage.
* The duration of nuclear fallout that the tile receives is base on its Effective damage: 1 turn per 12 damage over 15.
* World Wonders are unaffected by the damage.

Population, Improvement, Roads, and Resource damage is unchanged from the base game.

Note to modders:
The mod works by disabling FalloutDuration, AffectBuildings, and AffectUnits from all entries in the WMDs table, and replacing them with a LUA script. The script bases damage solely on BlastRadius – the outer ring is 75 damage, the next ring is 150 damage, then 225, and so on.
For WMD resistance, the script specifically checks for ABILITY_UNIT_WMD_RESISTANCE on the unit. Adding the same effect via a different modifier or altering its Amount does nothing.

Also, feel free to use the script in your own mods to try different damage models.

Download
Required DLC:

These DLC should be installed in order to use this item.


Sid Meier's Civilizationu00ae VI: Gathering Storm