Iconian
Chieftain
- Joined
- May 16, 2021
- Messages
- 74
I'm struggling to understand deletions.
The Database.log file gave me this error:
[423270.625] Database::XMLSerializer (Units/Units1.xml): <Update> element requires a child <Set> element.
After looking around, my guess is that it's because I don't have "Set' included where I'm trying to delete stuff, such as this:
<Update>
<Where UnitType="UNIT_POLISH_WINGED_HUSSAR"/>
<Delete PromotionType="PROMOTION_NO_DEFENSIVE_BONUSES"/>
</Update>
So what would be the right way to remove such a promotion as this?
The Database.log file gave me this error:
[423270.625] Database::XMLSerializer (Units/Units1.xml): <Update> element requires a child <Set> element.
After looking around, my guess is that it's because I don't have "Set' included where I'm trying to delete stuff, such as this:
<Update>
<Where UnitType="UNIT_POLISH_WINGED_HUSSAR"/>
<Delete PromotionType="PROMOTION_NO_DEFENSIVE_BONUSES"/>
</Update>
So what would be the right way to remove such a promotion as this?