I'm making a mod that will fix some of the things I think is not working optimally. I have two files.
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 11/1/2010 7:11:19 PM -->
<GameData>
<Defines>
<Update>
<Set Value="25"/>
<Where Name="MAX_HIT_POINTS"/>
</Update>
<Update>
<Set Value="50"/>
<Where Name="MAX_CITY_HIT_POINTS"/>
</Update>
<Update>
<Set Value="2"/>
<Where Name="CITY_HIT_POINTS_HEALED_PER_TURN"/>
</Update>
<Update>
<Set Value="10"/>
<Where Name="NONCOMBAT_UNIT_RANGED_DAMAGE"/>
</Update>
</Defines>
</GameData>
and
-- Insert SQL Rules Here
UPDATE features set Defense = 20 where Defense = -33;
UPDATE Units set Combat = Combat*0.5 where Domain = 'DOMAIN_SEA';
UPDATE features set Defense = 50 where Defense = 25;
For some reason it does not seem to work in any way I can understand. I do not get any errors in my logs.
I have compiled these lines several times and I get different results. Sometimes HP things does not work. I only got the terrain defense thing to work once. And sometimes the boats have 1/4 instead of 1/2 in combat.
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 11/1/2010 7:11:19 PM -->
<GameData>
<Defines>
<Update>
<Set Value="25"/>
<Where Name="MAX_HIT_POINTS"/>
</Update>
<Update>
<Set Value="50"/>
<Where Name="MAX_CITY_HIT_POINTS"/>
</Update>
<Update>
<Set Value="2"/>
<Where Name="CITY_HIT_POINTS_HEALED_PER_TURN"/>
</Update>
<Update>
<Set Value="10"/>
<Where Name="NONCOMBAT_UNIT_RANGED_DAMAGE"/>
</Update>
</Defines>
</GameData>
and
-- Insert SQL Rules Here
UPDATE features set Defense = 20 where Defense = -33;
UPDATE Units set Combat = Combat*0.5 where Domain = 'DOMAIN_SEA';
UPDATE features set Defense = 50 where Defense = 25;
For some reason it does not seem to work in any way I can understand. I do not get any errors in my logs.
I have compiled these lines several times and I get different results. Sometimes HP things does not work. I only got the terrain defense thing to work once. And sometimes the boats have 1/4 instead of 1/2 in combat.