• 🏆 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!

Triggered attack ability

Status
Not open for further replies.
Level 9
Joined
Apr 7, 2010
Messages
480
spell on making a triggered attack

automatic (example abilities.. absorb mana from destroyer) - when right click, every cooldown, if unit has mana then attacks (animation) a random enemy unit from WHOLE MAP, range = 99999 : )

manual - when left click, unit attacks (animation) target unit of ability cast

also damage can be easily change.

maybe a test map?
 
Level 9
Joined
Apr 7, 2010
Messages
480

for example, the unit has no attack enabled. and the triggers are the one doing the animation and damage.
First
To start off, i'll be using this spell over and over again, so make a damage variable so i can change it.

damage = XX
armor = gets the targeted unit's armor

damaging a unit [Damage - Armor = total damage]

*reminder = in the original warcraft even a small difference number on armor means a great decrease on damage, but what i mean on damaging a unit is the exact term [Damage (1900) - Armor (1300) = total damage (400)]
Second
the spell can be Auto casting, a unit attacks a random enemy unit on map.

*reminder : enemy unit, range is whole map
Third
when spell is manually targeted, a unit attacks the unit of ability being cast.

*reminder : auto casting and manual target is different. auto casting attacks a random unit on map while manual attacks the targeted unit.
 
Status
Not open for further replies.
Top