Spell Books

Status
Not open for further replies.
Make spellbooks each containing one ability and disable them and don't add them to the unit.
When you want to learn a spell, add him the disabled/hidden spellbook ability.
The unit should have an empty, enabled spellbook ability that should fill in with the spells of the other spellbooks.
 
Btw, the amount of levels for ability means NOTHING.
That's because spellbooks don't actually contain the abilities.

So lets say you make a trigger where:
Unit gains a level
If unit is a hero then
increase level of * ability.

It works just like on any other ability.
 
Btw, the amount of levels for ability means NOTHING.
That's because spellbooks don't actually contain the abilities.

So lets say you make a trigger where:
Unit gains a level
If unit is a hero then
increase level of * ability.

It works just like on any other ability.

This will work perfectly fine :)
Leveling spell book can edit spell book settings, such as toolyip, add/replace/remove spells and so on.
But for leveling and editing spells inside it you must write code.
 
This will work perfectly fine :)
Leveling spell book can edit spell book settings, such as toolyip, add/replace/remove spells and so on.
But for leveling and editing spells inside it you must write code.

No, because spells are not IN the spellbook. You just level the spells that you want to level, like there was no spellbook at all.
Refer to this for more information:
https://www.hiveworkshop.com/forums/off-topic-478/theory-behind-spellbooks-228570/

EDIT: If you mean GUI code, then yeah.
 
Status
Not open for further replies.
Back
Top