The unit has to attack first. That and the damage varies depending on armor type and weapon types. Before the unit attacks, you make a trigger with this-
Then, in the another trigger, whenever the specific unit attacks Ex.
Events-
A unit is attacked
conditions-
Attacking unit == Hero1 (or w/e)
Actions-
Trigger Add Event (Attacked Unit) takes damage to Trig1
Then Variable whatever is set to the damage given by Hero1.
I used a custom script so that you can reuse Trig1 to set dmgs from a bunch of sources, otherwise, put a condition for a specific unit deals the damage.
Reddit, Slack, Google, Facebook, Instagram — these companies use our data — directly or indirectly — to train the next generation of AI language models. Yet, I don’t remember anyone asking our permission, and in doing so, these companies have proven the adage that customers’ data is their main...
Our new website went up early yesterday. Health Empowers You. 200 smoothie recipe guide and soon we will have detox, cognitive enhancement, weightloss teas and some coffee blends. https://healthempowersyou.net/products/smoothie-recipe-guide
It never fails that as soon as I say something about the bots they come back - this time they are under a whole new IP range - one thing in common though, Chinese!