Differential D2188 Diff 9384 binaries/data/mods/public/simulation/templates/units/brit_hero_caratacos.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/units/brit_hero_caratacos.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity parent="template_unit_hero_infantry_swordsman"> | <Entity parent="template_unit_hero_infantry_swordsman"> | ||||
<Auras datatype="tokens"> | <Auras datatype="tokens"> | ||||
units/heroes/brit_hero_caratacos | units/heroes/brit_hero_caratacos | ||||
</Auras> | </Auras> | ||||
<Identity> | <Identity> | ||||
<Civ>brit</Civ> | <Civ>brit</Civ> | ||||
<SpecificName>Caratacos</SpecificName> | <SpecificName>Caratacos</SpecificName> | ||||
<Icon>units/brit_hero_caratacos.png</Icon> | <Icon>units/brit_hero_caratacos.png</Icon> | ||||
</Identity> | </Identity> | ||||
<Promotion> | |||||
Nescio: This sounds great, but wouldn't it be better to follow the template format? E.g.
```… | |||||
StanUnsubmitted Not Done Inline ActionsIt would be used for different levels like level1 to level2 etc. Stan: It would be used for different levels
like level1 to level2 etc. | |||||
<Whatever from="0" until="1"> | |||||
<RequiredXp>10</RequiredXp> | |||||
<Modifiers> | |||||
<Health-Max> | |||||
<Affects datatype="tokens">Unit</Affects> | |||||
<Add>100</Add> | |||||
</Health-Max> | |||||
</Modifiers> | |||||
</Whatever> | |||||
</Promotion> | |||||
<VisualActor> | <VisualActor> | ||||
<Actor>units/britons/hero_infantry_swordsman_caratacos.xml</Actor> | <Actor>units/britons/hero_infantry_swordsman_caratacos.xml</Actor> | ||||
</VisualActor> | </VisualActor> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator
This sounds great, but wouldn't it be better to follow the template format? E.g.
Also, I don't understand the necessity of the <Whatever> wrapper.