I am making a grid-based and partially turn-based DnD map and i am currently working on the attack system. I want to have the attacker face the attacked unit, play his attack animation, and (through a trigger) deal damage according to the unit's actual damage.
I have all but the part where it deals the damage. I cant find a way to set both the min and max dmg of the unit to two seperate variables:banghead:. Can anybody help me with this?
The trigger will set a random number between the min and max damage of the unit and damage the target by that number, playing the animation and making the unit face the attacked unit.
Note: I do not use JASS or any other alternative to the World Editor's trigger system.
I have all but the part where it deals the damage. I cant find a way to set both the min and max dmg of the unit to two seperate variables:banghead:. Can anybody help me with this?
The trigger will set a random number between the min and max damage of the unit and damage the target by that number, playing the animation and making the unit face the attacked unit.
Note: I do not use JASS or any other alternative to the World Editor's trigger system.