Question on UnitPromotions schema

Ashindor

Chieftain
Joined
Oct 30, 2010
Messages
2
I was exploring the columns for the UnitPromotions Schema and found this:

<Column name="Leader" type="boolean" default="false"/>

As far as I can tell, "Leader" isn't used by any promotions actually in the game, so I was curious. Under the Units schema, I also found this:

<Column name="LeaderPromotion" type="text" reference="UnitPromotions(Type)" default="NULL"/>
<Column name="LeaderExperience" type="integer" default="0"/>

These are likewise not part of any unit definition within the game.

I wrote a simple mod that defines a promotion setting Leader to true and giving it to all Warriors for free. Warriors popped with the promotion, but as far as I can tell it has no effect, at least as far as combat goes. I didn't define either LeaderExperience or LeaderPromotion, having no idea what Leader was to begin with.

Has anyone played around with these columns and found out what they do? Or failing that, does anyone know where the actual effects of them would be defined? I'm not very familiar with SQL or Lua, but I'd like to at least see what I can see.
 
It might be a skeleton for something they plan to add later in a patch or an expansion. Or it could be something left over in the code from IV.
 
Back
Top Bottom