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

Spellbook

Status
Not open for further replies.
Level 19
Joined
Oct 7, 2014
Messages
2,209
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.
 
Level 18
Joined
May 11, 2012
Messages
2,108
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?
 
Level 19
Joined
Oct 7, 2014
Messages
2,209
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.
Top