HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Making a Mana-Diffusal skill.

07-16-2006, 05:49 PM#1
unyx
All I'm trying to do is make a mana-diffusal skill that is auto-castable.


Sadly, I don't know JASS so I'm limited to GUI. here's what i have, oh yeah, I used Searing Arrows as the base skill. I searched for this before and they said use buff-detection which is what I've tried but it doesn't work.

Trigger:
Mana Diffuse
Collapse Events
Unit - A unit Is attacked
Collapse Conditions
((Attacked unit) has buff Mana Diffuse ) Equal to True
Collapse Actions
Unit - Set mana of (Attacked unit) to ((Mana of (Attacked unit)) - ((Real((Level of Mana Diffuse for (Attacking unit)))) x 5.00))
07-16-2006, 05:53 PM#2
Rising_Dusk
Buff detection would be to base it on Poison Arrows and detect if the target unit has a buff when damaged after an attack event.
It's much like the orb damage detect system Vex coined awhile back.