• 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's doing my head in ><

Status
Not open for further replies.
Level 2
Joined
Apr 15, 2008
Messages
17
Ok, so i'm trying to work on some spellbooks. (I'm aware not many people like them :p)
I try to add spells, and its not working. I've followed this guide:
http://world-editor-tutorials.thehelper.net/cat_usersubmit.php?view=34530
and got the FIRST spell to show up, when i went to add another spell... It just didn't work... all spellbooks use the same 'Data - Base Order ID'
Since trying a couple things to make it work.. Its turned worse.. The first spell doesn't even show up now. When i open the spellbook ingame, its just blank.
To test the spellbooks, i had the following CUSTOM options:

Spellbook
Data - Maximum Spells: 11
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : (blank)
Stats - Item Ability: False
Text - Editor Suffix: (Level 1 Burrower)

dummy (level1)
Data - Maximum Spells: 11
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level1)
Stats - Item Ability: False
Text - Editor Suffix: (Level 1 Burrower)
Text - Name: dummy

dummy (level3)
Data - Maximum Spells: 11
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level1), Bloodlust
Stats - Item Ability: False
Text - Editor Suffix: (Level 3 Burrower)
Text - Name: dummy

dummy (level10)
Data - Maximum Spells: 11
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level10), Bloodlust
Stats - Item Ability: False
Text - Editor Suffix: (Level 10 Burrower)
Text - Name: dummy

Here's my triggers

  • Hero Spawn
    • Events
      • Unit - A unit enters Burrower <gen>
    • Conditions
    • Actions
      • Unit - Create 1 Burrower for (Owner of (Entering unit)) at (Center of Hero Spawn <gen>) facing Default building facing degrees
      • Player - Disable dummy (Level 3 Burrower) for (Owner of (Entering unit))
      • Player - Disable dummy (Level 10 Burrower) for (Owner of (Entering unit))
      • Unit - Remove (Entering unit) from the game
      • Camera - Pan camera for (Owner of (Entering unit)) to (Center of Hero Spawn <gen>) over 1.00 seconds
  • Level 3
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • ((Unit-type of (Leveling Hero)) Equal to Burrower) and ((Level of (Leveling Hero)) Equal to 3)
    • Actions
      • Player - Disable dummy (Level 1 Burrower) for (Owner of (Leveling Hero))
      • Player - Enable dummy (Level 3 Burrower) for (Owner of (Leveling Hero))
  • Level 10
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • ((Unit-type of (Leveling Hero)) Equal to Burrower) and ((Level of (Leveling Hero)) Equal to 10)
    • Actions
      • Player - Disable dummy (Level 3 Burrower) for (Owner of (Leveling Hero))
      • Player - Enable dummy (Level 10 Burrower) for (Owner of (Leveling Hero))
 
You don't need to follow this tuto for your purpose. It explains how to add spells in a spellbook in a non-predefined order (if you wanted to let the player choose his spells, it would have been usefull).
But you just can swap spellbooks.
Also, you should never have the fields "Maximum Spells" and "Minimum Spells" on different values since it's quiet bugged.

dummy (level1)
Data - Maximum Spells: 1
Data - Minimum Spells: 1
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level1)
Stats - Item Ability: False
Text - Editor Suffix: (Level 1 Burrower)
Text - Name: Burrower's spells

dummy (level3)
Data - Maximum Spells: 2
Data - Minimum Spells: 2
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level1), Bloodlust
Stats - Item Ability: False
Text - Editor Suffix: (Level 3 Burrower)
Text - Name: Burrower's spells

dummy (level10)
Data - Maximum Spells: 2
Data - Minimum Spells: 2
Data - Shared Spell Cooldown: False
Data - Spell List : Envenomed Weapons (level10), Bloodlust
Stats - Item Ability: False
Text - Editor Suffix: (Level 10 Burrower)
Text - Name: Burrower's spells

  • Level 3
    • Events
      • Unit - A unit Gains a level
    • Conditions
      • ((Unit-type of (Leveling Hero)) Equal to Burrower) and ((Level of (Leveling Hero)) Equal to 3)
    • Actions
      • Unit - Remove the ability (Burrower's spells (Level 1 Burrower)) from (Leveling Hero)
      • Unit - Add the ability (Burrower's spells (Level 3 Burrower)) to (Leveling Hero)
With this, you don't have to use "Enable/disable ability", your hero should have the lvl1 spellbook at start and you do a similar trigger for lvl 10.
 
Level 2
Joined
Apr 15, 2008
Messages
17
Will try that tomorrow. Off to bed now. Thanks for the advice :)

Edit: Tried this and it worked perfectly! Thank you very much!
 
Last edited:
Status
Not open for further replies.
Top