HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Adding abilities to the Spellbook ability

10-08-2004, 09:35 PM#1
High Loremaster
Is there a way through triggers, in game, to add abilities to the Spellbook ability? I want a hero to have several "classes" of spells, like Offensive magic, and all the offensive spells would go into that spellbook, Combat abilities, and all the combat abilities would go into that book, but I do not want to create a lot of custom spellbook abilites. Is there a way?
10-09-2004, 03:54 AM#2
Rafael Br
You can't add abilities to the spell book, but you can make spellbook abillities with a lot of levels, them use the "Set level of ability for unit" action to change them.You can also try making upgrades or unit requirements for spells on the book, but I don't know if spells in the spellbook are affected by any requirement.
10-09-2004, 09:14 AM#3
websee
you can use a modified abilitymetadata.slk to allow you to place more then 11 abilities into the spellbook and then turn them on/off using the techtree trigger. then u can place all abilities you ever want to have into the spellbook, turn all off, and trun those on you want the player to use.
10-10-2004, 05:10 AM#4
Panto
I'd like to point out that websee's suggestion is simply glorious, if it works.
10-10-2004, 06:02 AM#5
Rafael Br
Quote:
Originally Posted by Panto
I'd like to point out that websee's suggestion is simply glorious, if it works.
Agreed, I never knew anithing about slk, but it is good to learn more with it...If it really works, I would be the first one to give him a rep.
10-11-2004, 12:09 AM#6
High Loremaster
Ok, thanks. But now I have a new question. When I level up the ability "Spellbook A" on a hero, is there a way to level up all the abilities inside the spellbook too?
10-11-2004, 12:15 AM#7
Guest
Do you mean that when he levels up all his stats go up one level? If so you could make the same abilitys that you used and copy them with better stats everytime and make another spellbook with the upgrades.
01-14-2005, 07:50 AM#8
fr0ggE
if the unit abilities inside the spellbook have levels, then you can have them affected by an upgrade which raises the level of the unit ability by 1, and then when you level up the spell book ability have a trigger that sets the tech level for all those unit spells to be the current tech level +1. I believe you need the unit who has the spellbook to use those upgrades tho. Didn't work for me until i added that.