I've reached a dead end with the map i'm working on. What I am trying to do is to get the integer value of the damage done by single one of my hero's attack. The damage of my hero is determined by the base weapon damage and the value of a primary attribute. Is there any function that returns an integer or real value for my hero's level or hero's primary attribute?
After some searching I think I found a way to get you hero attributes. I used Stack Count Behavior on Unit and then selected my Stat - Agility attribute. Now I'm not sure if this works on every setup, but it did pull out the correct count for my Attribute.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I've reached a dead end with the map i'm working on. What I am trying to do is to get the integer value of the damage done by single one of my hero's attack. The damage of my hero is determined by the base weapon damage and the value of a primary attribute. Is there any function that returns an integer or real value for my hero's level or hero's primary attribute?
@PMurph:
there is an integer "experience level of unit"
I forgot whether it returns unit level or experience, but hopefully that will help you.
After some searching I think I found a way to get you hero attributes. I used Stack Count Behavior on Unit and then selected my Stat - Agility attribute. Now I'm not sure if this works on every setup, but it did pull out the correct count for my Attribute.