You could easily do it with the aid of buff placers, or you could probably do it like how mapguy mentioned. However, I believe J4L's Damage System is the best way to go.
if u detect with buff placer then your attacks will all be orb effects...
J4L's Damage said:JASS:// function Damage_IsPhysical takes nothing returns boolean // function Damage_IsSpell takes nothing returns boolean // function Damage_IsPure takes nothing returns boolean // - Wrappers to simply check if Damage_GetType is certain types. // // function Damage_IsAttack takes nothing returns boolean // - Checks if the damage is from a physical attack (so you can deal // physical damage without it being registered as an actual attack).
Sigh... I'm not much of a Jasser. So I just use that function as I would do for any other event, right?
Sigh... I'm not much of a Jasser. So I just use that function as I would do for any other event, right?
Or just read a single Jass Tutorial and learn the basics...
If he wants to read a tutorial...some people just don't want.
OFF-TOPIC: your new avatar is really funny