Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
i got it so you can buys skills from a vender. but i dont know how to do it so if u buy it agian, you get lvl2 of the skill. can somone please help me.
Just do like:
Event- Unit enters (playable map)
Action-
If- entering unit is of type (skill dummy 1)
then- if level of (skill 1) for (buying hero) equal to 0
then- add (skill one) to (buying hero)
else- increase level of (skill 1)
else- do nothing
Condition:
Item type of item being manipulated equal to xxx
Actions:
-If Level of yyy ability for triggering unit equal to 0 then add ability yyy to triggering unit. Else, Increase level of yyy ability for triggering unit.
-If Level of yyy ability for triggering unit equal to 0 then add ability yyy to triggering unit. Else, Increase level of yyy ability for triggering uni
what kind of comparasons ar those ? lol sorry i kinda noob at this.
-If Level of yyy ability for triggering unit equal to 0 then add ability yyy to triggering unit. Else, Increase level of yyy ability for triggering uni
what kind of comparasons ar those ? lol sorry i kinda noob at this.
If
Level of yyy ability for triggering unit equal to 0 then
add ability yyy to triggering unit. Else
Increase level of yyy ability for triggering unit.
However, it just simple if-then-else. Level of ability yyy equal to 0 means that unit doesn't have that kind of ability. So, if the unit doesn't have that ability, just give the ability to it. Otherwise, if the unit already has the ability, increase its level.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.