HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Check a unit's current armor?

12-02-2007, 01:30 PM#1
Bsycho
Hi folks, i know u can get life/mana, movespeed and also hero attributes via trigger, but im searching for a way to check a unit's armor.

i already thought about storing each unit type's armor in variables, but then again, i would have to check for every buff which modifies armor.

any ideas?

greets,
bsycho
12-02-2007, 01:53 PM#2
RaveEye
There is no trigger that can return the units armor. But Dealin have made a Armor Detection System you can use

Here is the link:
http://wc3campaigns.net/showthread.php?t=85631
12-02-2007, 05:03 PM#3
Bsycho
thx a lot, i will try this as soon as i have some time.

edit: it worked, used only 1 custom script for my ability. perfect :)