• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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