Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Use the Spellbook ability. It is in Item Abilities.
Well, you can still upgrade them, you just need triggers for it.Spell Book only allows you to add *Unit* abilities, not *Hero*.
Well, you can still upgrade them, you just need triggers for it.
It's not the easiest thing in the world to explain, but basically - you're going to have a spell book ability called "Hero Abilities" that takes the slot the usual "hero abilities" button does (this means none of your heroes will have any hero abilities). You will then give this spell book as many spells as you need. These spells will all be dummy spells based of channel with different spellIDs. They will have no target and be self-cast (make sure to check "visible" in channel too).
Then you'll need a trigger for each spell. Events would be "a unit begins casting a spell" Conditions are "spell being cast = ability A, player has greater than 1 lumber*" and actions are "IF / THEN / ELSE: IF Hero does not have ability A; THEN give Hero ability A; Else, raise level of ability A for Hero"
*lumber is the common 'hero skill points' mechanic but you could also trigger this without using lumber using variables for a player
*to do this system, all of your heroes will use "unit abilities" that will be leveled via the above triggers
I'd give you a way to do this with some greater detail but
A) I wouldn't be surprised if there wasn't already a system like this ready for download. You should look around and see if you can't copy and paste a system like this already made for you into your map.
B) I've outlined what needs to be done, you only need a few triggers but it can be confusing if you don't know what you're doing.
Have you actually tested this?
That is a bit complicated and I've looked around with no avail for any system like the one I described.
Events

A Unit Starts the Effect of an Ability
Conditions

Ability = HeroSkill1

Player - Owner of (Casting Unit) has greater than or equal to 1 lumber
Actions

IF THEN ELSE

If


(AND) All of these conditions are true



Hero has HeroSkill1



AbilityLimit is 7 = false

Then


Increase ability of HeroSkill1 for (casting Unit)


Decrease lumber of owner of (casting unit) by 1

Else


Give Hero HeroSkill1


Set Variable - Abilitylimit + 1
you don't need to use and, you only use and if its in an Or - conditions