just do.
Unit is attacked, if unit has item = true, than damage AttackedUnit dealing n damage, pure, hero.
something like that. ><
i dont have my w.e so i can't make a real trigger.
Unit is attacked will not work as an event for this sort of trigger. The above trigger using the GDD system should work, however.
You really ought to do Chaos damage of type Universal, as Glenphir posted, so that the owner of the attacking unit will get credit for the kill - subtracting health has no "cause" and no player will get bounty or experience from units that die that way.and then minused from the hp of damaged_unit the value of my unit's attack, thereby doing "pure damage" in a sense.
^ Dang! I completely overlooked that!
So I should use the action:
Cause (GDD_damage_souce) to deal (value) Chaos damage of type Universal to (GDD_damaged_unit)
Is that all right?
Couldn't you check to see whose attack causes the damage to be dealt? Then award that player the bounty or whatever for the kill.
I actually ended up using Gauntlet's method.
My event for that trigger was when a timer expired, and no matter how I tried, I couldn't work GDD into that trigger. So I just ended up setting up some extra variables and did what Gauntlet suggested, lol.