Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Garfield1337, Pharaoh_´s system didn't work for you because he said that u should use a damage detection system. You can find that here on THW. But if you use ur way, there will be a small problem (I think, not 100% sure). You see, when a unit begins casting the Attack ability, the attacked unit haven't been damaged yet because it have just begun casting the ability. And if you use the Event, A unit is Attacked, there can be a small problem. The thing is that when the attacker begins casting, the player can quickly press Hold Position [H] and the effect will still occur. So the attacker can get the Effect on himself even if he haven't "Damaged" the victim. As i said, i'm not 100% sure that it is this way but i'm 80% sure. Otherwise, why can't it work to set the damage dealt when the unit is attacked huh? The real variable is still 0.00 even if i set it to the damage. And that is cause the victim haven't been damaged yet. Hopes you understanded this.
this way is exploitable. you can trigger it by standing in front of the target and facing the way they are facing. since the attack animation starts before the attack turns, it will still trigger. i abuse this all the time in DotA, where the backstab ability is coded this way.
you have to compare the position of the attacker to the facing of the target if you want a non-exploitable system.
@tjordell
I'm using "A unit starts the effect of an ability" so i think that ain't problem.
@tml616
Thanks for info
I'll add another condition that checks if casting unit is behind target by compraring caster's location and target's facing.
EDIT: Well,that doesn't seem to be exploitable as i tried. I assume my unit's turn speed is enough+i use "A unit starts the effect of an ability" as event so it makes no problems.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.