In GlobalDefines, what does ATTACKING_CITY_MELEE_DAMAGE_MOD do?

Galgus

Emperor
Joined
Aug 22, 2012
Messages
1,705
I'm looking for a way to either remove the damage cities do to melee units when they attack or give all melee units a boost against them, and I figured this would govern one or the other.

I've tried setting it to 0 from the default of 100, but it doesn't seem to do anything.

In case it helps, this is the code. Set Value is red after the first use of it, and the number is red in that first use.

<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 11/3/2014 1:14:19 AM -->
<GameData>

<Defines>

<Update>
<Where Name="CITY_HIT_POINTS_HEALED_PER_TURN/>
<Set Value="10"/>
</Update>

<Update>
<Where Name="CITY_STRENGTH_DEFAULT/>"
<Set Value="1500"/>
</Update>

<Update>
<Where Name="CITY_STRENGTH_POPULATION_CHANGE/>"
<Set Value="30"/>
</Update>

<Update>
<Where Name="CITY_STRENGTH_TECH_BASE/>"
<Set Value="3.6"/>
</Update>

<Update>
<Where Name="CITY_STRENGTH_TECH_EXPONENT/>"
<Set Value="1.848"/>
</Update>

<Update>
<Where Name="ATTACKING_CITY_MELEE_DAMAGE_MOD/>"
<Set Value="0"/>
</Update>

<Update>
<Where Name="CITY_RANGED_ATTACK_STRENGTH_MULTIPLIER/>"
<Set Value="30"/>
</Update>

<Update>
<Where Name="CITY_STRENGTH_POPULATION_CHANGE/>"
<Set Value="30"/>
</Update>

</Defines>
 
My guess would be that it mods the amount of damage melee attack perform on cities. My guess would be percentage based, with 0 representing 0% change, 10 being +10%, and -10 being -10%. Go ahead and just test it. Best way to find out.
 
I'll can try that, but wouldn't that imply that the default 100 would double damage?
 
Back
Top Bottom