So I made a hero with 2 abilities that are a bit trigger-dependent, and I noticed something screwed up.
An ability that has not been learned = 0, and an ability at level 1 is actually still at level 0. This is also true for Requirements.
Is there any way to make an ability at level 1 actually be at level 1? Or do I need to work around this crap now?
Is it problem to make (Get Ability Level(u, ab)+1)?
OMG! New hero in 'Heroes of the Storm' is Dustin Browder. Watch here!
Yes because it will return the same number if it's unlearned OR level 1.
If you are learning abilities Warcraft 3-style, just include an "if" statement alongside your trigger that considers if unit has ability X. This will differentiate the level 0 of having the ability vs. the level 0 of not having it.
Click Here To See My Highly Polished Campaign with Custom Everything (LifeForceCampaign.com)