• 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!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

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