• 🏆 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!

Caster Upgrade Properties

Status
Not open for further replies.
I have units that have ability upgrades that are researched individually. With upgrades such as Shaman Adept Training the upgrade number that is displayed on the UI tells which abilities have been unlocked. If you do individual upgrades you are still able to increase the number, but the text description will not necessarily match the order you research. This means it might list a spell other than the upgraded spell. This property is controlled in the unit properties and this can't be manipulated via triggers. The only solution I have is to have duplicates of the unit and trigger unit replacement to match the current upgrade order. This is not feasible when considering AI. Is there another solution?
 
It's a melee map so MUI is in place.

Imagine taking Defend A and having it act as a Caster Upgrade to increase the value to 1. This works because there is only one upgrade. Now research Defend B. The value will jump to 2. At 1 the Caster Upgrade displays Defend A under spells. At 2 it displays Defend A and B. This is correct. Now research Defend B first and it will still list Defend A under spells.

This is the issue.
 
Status
Not open for further replies.
Top