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

Status
Not open for further replies.
Level 8
Joined
Apr 30, 2009
Messages
338
The heroes on my map each have 3 spellbooks as hero abilities with several unit abilities in each one. Is there a way to level every ability in a spellbook when that spellbook is levelled without having to trigger each ability level as a single action?

My map is based on Guild Wars and here is a sample trigger of the Necromancer's Blood spells levelling when the player levels his Blood spellbook:

  • Untitled Trigger 002
    • Events
      • Unit - A unit Learns a skill
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • (Learned Hero Skill) Equal to Blood Magic (Nec)
        • Then - Actions
          • Unit - Set level of Vampiric Gaze (Nec - Blood) for (Triggering unit) to (Level of Blood Magic (Nec) for (Triggering unit))
          • Unit - Set level of Vampiric Touch (Nec - Blood) for (Triggering unit) to (Level of Blood Magic (Nec) for (Triggering unit))
          • Unit - Set level of Siphon Life (Nec - Blood) for (Triggering unit) to (Level of Blood Magic (Nec) for (Triggering unit))
          • Unit - Set level of Blood Renewal (Nec - Blood) for (Triggering unit) to (Level of Blood Magic (Nec) for (Triggering unit))
        • Else - Actions
 
Status
Not open for further replies.
Top