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

Adding spells into the Spellbook

Status
Not open for further replies.
Level 5
Joined
Aug 27, 2007
Messages
138
You can't. You make the spellbook more than one level with different abilities for each level. When a hero reaches X level, set its level of the spellbook spell one level higher.
 
Level 5
Joined
Jun 18, 2008
Messages
146
ok i did it, but how do i set the level of the spell which is ALRDY in the book? i know how to add it but how do i make it level 2!?! and level 3 etc...
 
Thats easy, first set the real spellbook's base order ID to somthing like acidbomb with the minimum and maximum spells set to 11. I'll call that spellbook SpellBook 1. Then, create a spellbook with the spell you want added into SpellBook 1 inside of it, with it's minimum and maximum spells set to 11 and it's base order ID to acidbomb. I'll call that SpellBook 2. Next, in the initilization trigger, disable SpellBook 2. Next, give the unit you want to have a spellbook SpellBook 1. Finally, when you want to add the spells, simply in a trigger use this:
  • Unit - SpellBook 2 to (Your unit)
I hope this helps.
 
Level 5
Joined
Jun 18, 2008
Messages
146
Thats easy, first set the real spellbook's base order ID to somthing like acidbomb with the minimum and maximum spells set to 11. I'll call that spellbook SpellBook 1. Then, create a spellbook with the spell you want added into SpellBook 1 inside of it, with it's minimum and maximum spells set to 11 and it's base order ID to acidbomb. I'll call that SpellBook 2. Next, in the initilization trigger, disable SpellBook 2. Next, give the unit you want to have a spellbook SpellBook 1. Finally, when you want to add the spells, simply in a trigger use this:
  • Unit - SpellBook 2 to (Your unit)
I hope this helps.

It helps but, can you show me an example :grin:
 
Status
Not open for further replies.
Top