Detailed explanation of the new fire mechanic:
Setting an enemy on fire with flamethrower
First : Flat Damage is applied to one body part minus the set body part armor (Base flamethrower flat damage is 80)
Formula: BodyPartHP - (FlatDamage - BodyPartArmor) = ImpactDamage(Damage applied on body part from flat damage only).
Second: burning damage from the ground(40dmg) is instantly applied on each body part minus the armor.
Formula: CurrentLitTileDmg - BodyPartHP = GroundBurnDmgOnEachPart
To get the damage that will be applied to the HP from the burning ground we add all GroundBurnDmgOnEachPart from each body part and subtract it from the number of body parts.
Formula: Y = Number of body parts (GroundBurnDmgOnEachPart1 + GroundBurnDmgOnEachPart2 + …) / Y = DmgGroundBurnOnHP
Third : We add ImpactDamage + DmgGroundBurnOnHP which will give us the exact damage applied to the unit HP.
Formula: CurrentHP - (ImpactDamage + DmgGroundBurnOnHP) = TotalDmgApplied
Burning Status and when it is applied:
If you lit an enemy on fire the burning status will be applied on enemy’s next turn.
If after the damage is applied the enemy is not on burning tile the Burning Status is removed.
If the enemy is on a burning tile the Burning will be re-applied and the damage will be done on next enemy turn again.
How a burning tiles work:
Burning tile applies 40 Burning Status when the tile is freshly lit and someone steps in it.
Each burning tile reduces its damage with 10 each turn for the faction that lit the fire.
Burning ground damage is applied to the solider that steps on it based on the DmgGroundBurnOnHP formula.