Hello,
Quote:
Then the gang leader is a professional as well, but he has 100 xp, and 20 points to add.
And then there's another rule where at least 50% of your gang needs to be henchmen, not including the leader.
|
For the gang leader, duplicate the professional unit (The second solution is easyer to manage for the user, but more complicated for you...) Change name and XP stat to 100.
For the 50% rule, you only have to create a rule (.dat file, Rule Tab)
You will first need to identify the henchmen froml the professional/leader. => Create a group on the .def file with ID= "CharType" with the following tags
- hechmen
- profession
- leader
Assign each unit the corresponding tag
Your rule script will be
var val as number
val = tally[unit:CharType.henchmen] - tally[unit:CharType.proffession]
if (val>=0) then
@valid=1
endif
Please note that I assume you red the authoring kit documentation on the previous explanations. Would you need me to be more precise at some point, don't hesitate to ask.
Regards,
Frédéric