Good day,
I am using the Damage Engine, which handles "DamageType" variables.
The question is, how is that variable associated with certain types of units?
I have understood something about the system but I have some questions because I understand that it is very complex.
Can you detect the type of attack (perforator, etc)?
Can you detect the type of armor (light, medium, large)?
What I want to achieve with damage engine is NOT to use the warcraft formula to reduce damage (%):
Attacking unit:
10 = base damage
02 = improvement damage (2 levels / 1 + 1)
Perforator = Type of damage = DamageTypeXXX
Attacked unit:
100 = HP
2 = Base Armor
1 = Reinforcement upgrade level 1
Media = Type of armor
Note: damage XXX makes 1.5 the average armor
Formula:
((10 + 2) * 1.5) - (2 + 1) = 15
((base damage + improvement) * ratio type damage and armor type) - (base armor + reinforcement improvement) = effective damage
First of all, Thanks!
PD: Using Damage Engine 3.8.0.0
I am using the Damage Engine, which handles "DamageType" variables.
The question is, how is that variable associated with certain types of units?
I have understood something about the system but I have some questions because I understand that it is very complex.
Can you detect the type of attack (perforator, etc)?
Can you detect the type of armor (light, medium, large)?
What I want to achieve with damage engine is NOT to use the warcraft formula to reduce damage (%):
Attacking unit:
10 = base damage
02 = improvement damage (2 levels / 1 + 1)
Perforator = Type of damage = DamageTypeXXX
Attacked unit:
100 = HP
2 = Base Armor
1 = Reinforcement upgrade level 1
Media = Type of armor
Note: damage XXX makes 1.5 the average armor
Formula:
((10 + 2) * 1.5) - (2 + 1) = 15
((base damage + improvement) * ratio type damage and armor type) - (base armor + reinforcement improvement) = effective damage
First of all, Thanks!
PD: Using Damage Engine 3.8.0.0
Last edited: