GetArmyStrength(hero, creature)
This instruction will be used to determine which army is the most powerful in order to reorganize the position of the different troops in the army of an AI hero for a better combat effectiveness (on the adventure map so that the human player can know, with a right click, the position of AI hero's troops before engaging the combat).
This instruction will be used in coordination with the instructions GetArmyInSlotCreature(hero, slot), GetArmyInSlotQuantity(hero, slot) and SetArmyInSlot(hero, slot, creature, quantity) in order to reorganize the position of the different troops in the army of an AI hero for a better combat effectiveness.
*
GetHeroArmyStrength(hero)
This instruction will be used to make comparisons to validate conditions.
For example, if the hero's army strength reaches a certain level, all the wandering creatures of a certain type on the adventure map will join the hero when the hero attacks them (when he moves to one of the adjacent squares of the troop).
*
GetCreatureStrength(creature)
This instruction will be used to calculate the strength of a troop of creatures.
For example, how many creatures of a certain type do you need to have to reach the desired strength.