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

Creating a spell book

Status
Not open for further replies.
Level 32
Joined
Oct 23, 2006
Messages
5,291
About Spellbooks

Spellbooks come in two types:
  • Item spellbooks are used as regular items and can pe picked up by any unit that has an inventory and used by any unit that possesses mana.
  • Unit spell books are abilities that are permanently attached to a specific unit.

To create an item spellbook:

1. Copy the existing spellbook item and spell book ability in the WE Object Editor and paste them as custom items/abilities.
2. Edit the following field values for the spell book ability: Data Minimum / Maximum Spells: These values should always be the same.
3. Edit the field value Data - Spell List to add spells.
4. Note- to possess more than one spellbook each one must have a unique Data - Base Order ID: change your custom ability to something else in that field.

To create a custom spell book ability:

1. Copy the existing spell book ability in the WE Object Editor and paste it as a custom ability.
2. Change the field value Stats - Item Ability to "true."
3. As above, keep the fields: Data Minimum / Maximum Spells identical.
4. As above, create a unique Data - Base Order ID
5. Also as above, add spells to the Data - Spell List field.
6. Add the newly created custom ability to the unit that you wish to posess the spell book.

Note well: If any Hero Abilities are added to a spellbook item or ability you must change the field value Stats - Hero Ability to "False" for each custom ability that is added to the spellbook.
 
Last edited:
Status
Not open for further replies.
Top