Warcraft III resources & community, 2003–2006 · archived

Request, Leveling Up Spells w/triggers

7 posts
#1

Request, Leveling Up Spells w/triggers

Hello!

I have been working on making a "Hero Building" game, but I have a problem. Maybe you could help.

I am trying to make a map where you choose a hero(one with no abilities), then you choose 4 abilities(three normal hero abilities, and one ultimate), and you can upgrade the abilities to higher levels as you get more skill points.

Now my trouble is, I dont know of a good way to increase the levels of the abilities once the Hero gets the abilities. Can you please recommend how I might trigger this?

Thank you.

PS, I tried asking this else where in these forums, but I was told I should ask this here.
#2
When you add a hero ability to a hero, that hero won't be able to normally level it up. However, you can use some dialog boards for that. When hero levels up, you open the board and he can select the ability to upgrade.

~Daelin
#3
Actualy, I would rather not use dialogs if possible, I feel that dialogs interupt the gameplay.
#4
Try to use chat messages commands, for example:
--Event:
Player types a chat message containing "Upgrade Ability 1" as an exact match
--Condition: (Integer)
Unspent skill point o Hero greater than or equal to 1
--Actions:
(here you add 1 point to the first ability of the Hero and remove 1 unspent skill point from it :roll:

I think this maybe a good solution, because chat messages does not interrupt the gameplay! :wink:

Hope that helped you!
#5
this is going to be extremely rough and may not even be possible, because I have never done it but I will try.
A unit uses an ability

ability equal to = learn roots

unit has ability roots

add 1 level to roots for triggering unit

if this even semi works i can make a trigger that refunds your money if its like max level or something... Bye ^ ^
#6
but that would mean the ability would only level up IF the unit uses that spell. and it might cause bugs if the unit happens to have 2 skills points onto that spell.
#7
maybe u should load up custom hero arena, that has almost the same thing