• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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,103
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