• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger Skill Help] Focued Shoot!

Status
Not open for further replies.
Level 8
Joined
Mar 24, 2011
Messages
353
I needed a trigger for every third attack on my Elven Ranger the next attack to cause 5% of the attacker's current health as piercing damage.

I tried to do it for "An unit is attacked", but it seems that it is buggy because I can have it attack and cancel the animation and even so the effect will happen without even the arrow having reached the attacked target. How can I do this without a bug?
 
Level 14
Joined
Nov 17, 2010
Messages
1,265
You will have to use a damage detection system. I think the most widely used one is made by Bribe. It’s easy to use and is GUI friendly with tons of features.

Basically it will allow you to detect when a unit takes damage rather than when a unit is attacked.

Damage Engine 5.5.0.0
 
Status
Not open for further replies.
Top