• 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!

Spellbook

Status
Not open for further replies.
Level 19
Joined
Oct 7, 2014
Messages
2,208
Hello Hive!
I made an ability where you can choose 4 different passive abilities. The ability is based from spellbook ability but it only chooses unit abilities. How can I make the spellbook have hero abilities inside of it?

Hope someone can answer me.
 
Umm, I'm not sure what's the difference?
Anyway, you can try using boolean.
When your hero learns unit ability from spellbook, then set the boolean to true.
Now you can refer to that boolean; if it's true, the spell was learned. It it's false, then it's selected?
 
The spells in the spell book is just dummy spells. When you select the spell book you can choose 4 spells. Take not that the spell book has 3 levels. If a spell is selected inside the spell book then using triggers I should replace the dummy spell with the real spell. The real spell's level is also the same with the level of the spell book. You can also reselect another passive ability but limited to one passive ability only.
 
Status
Not open for further replies.
Back
Top