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

Duo Aura Ability

Status
Not open for further replies.
Level 24
Joined
Aug 1, 2013
Messages
4,657
Make one a unit ability. (or both)
Then you can have a trigger that runs when you level up an ability.
If that ability is devotion aura (hero ability) then you set endurance aura (unit ability) to the same level.
Be aware that you have to manually check if the unit doesnt have endurance aura and add it when he levels up devotion aura to level 1.
 
Level 9
Joined
Jun 10, 2013
Messages
473
Make one a unit ability. (or both)
Then you can have a trigger that runs when you level up an ability.
If that ability is devotion aura (hero ability) then you set endurance aura (unit ability) to the same level.
Be aware that you have to manually check if the unit doesnt have endurance aura and add it when he levels up devotion aura to level 1.

but then the endurance aura will be added to his command set wouldn't it?
 
Level 24
Joined
Aug 1, 2013
Messages
4,657
Yea, it actually would.
To avoid this, you can make a spell book and add the endurance aura in there.
Then you have to add the spell book to the unit instead (the levels still have to be applied on the endurance aura which is added automatically via the spell book).

This will make the endurance aura be added in a subset hidden on the command chart of the unit.
The only way to access it is by clicking (or hotkey) on the spell book.
If you disable the spell book via triggers, you still make use of the endurance aura but do not use the spell book.

Make a trigger that runs on map init that loops through all players in the game.
Then you disable the spell book ability for the picked players.
(You can add additional spell books to this trigger if any.)
 
Status
Not open for further replies.
Top