This is a very simple mod to change unique unit stats but I am not sure what I did wrong.
So here is the script. I am so new to this, sorry for trouble!
SQL
Modinfo
So here is the script. I am so new to this, sorry for trouble!
SQL
Code:
UPDATE Units
SET Combat = 50,
SET RangedCombat = 60,
SET BaseMoves = 5,
WHERE UnitType = 'UNIT_OTTOMAN_BARBARY_CORSAIR';
Code:
<?xml version="1.0" encoding="utf-8"?>
<Mod id="e9556fe0-a8ea-4343-a744-849d99b48089" version="1">
<Properties>
<Name>BARBARYCORSAIR</Name>
<Description>BARBARYCORSAIR BUFF</Description>
<Teaser>BARBARYCORSAIR BUFF</Teaser>
<Authors>EG</Authors>
</Properties>
<InGameActions>
<UpdateDatabase id="Units">
<File>BARBARY_CORSAIR.sql</File>
</UpdateDatabase>
</InGameActions>
<Files>
<File>BARBARY_CORSAIR.sql</File>
</Files>
</Mod>
Last edited: