Is there a way to get the base damage of a non-specific unit for calculation purposes? Like a function that returns the base damage of a unit that causes the trigger to run. How about the bonus damage?
To be more specific:
I am working on a trigger that causes a certain unit damage another unit via. "Damage target" action. BUT the actual damage depends on the damage that a third unit is capable to do(the one that made the trigger to run). Also, if that unit has damage bonuses, those should be taken into account as well.
Is it possibble to do? Perhaps with JASS?
To be more specific:
I am working on a trigger that causes a certain unit damage another unit via. "Damage target" action. BUT the actual damage depends on the damage that a third unit is capable to do(the one that made the trigger to run). Also, if that unit has damage bonuses, those should be taken into account as well.
Is it possibble to do? Perhaps with JASS?