- Joined
- Apr 28, 2016
- Messages
- 33
Hi, before i go to far, please accept my apologize lastly for those who know my problem in contest. Okay so i know where is my mistake, and i won't do it again, it won't happen again, okay? That's deal.
Now, i want a system, where armor points from a unit is detected by trigger/system. Is it possible to know how much armor on a unit like =(Integer - Hero Attribute - *** of a Unit (Include Bonuses) in trigger editor?
I have read a post on http://www.hiveworkshop.com/threads/defense-related-question-gui.197760/#post-1941493 , posted a solution by ap0calypse, and it reduce unit armor to zero (0). I need a system that reads unit armor points and change the value into level of ability. It will be like:
- A unit have 5 points armor.
- Set level of (A spell of unit) to amount of armor he has.
and also, including the bonuses (like 5 (+5) or 5 (-2)).
Anyone can help? And also, JASS is okay because here i want to learn.