• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

A diverse brilliance aura request

Status
Not open for further replies.
Level 4
Joined
Apr 28, 2017
Messages
112
Only way I can think of, is that you make a copy of briliance aura, make it affect only enemy units, and make mana regeneration bonus negative (using shit + click in object editor you can add negative values). Then create a spellbook which contains that new aura. In map initialization make a trigger that disables the spellbook for the player on start.

Then make an trigger:

Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Brilliance Aura
Actions
Player - Enable SPELL BOOK for (Triggering player)
Unit - add SPELL BOOK for (Triggering Player)
Unit - Set level of CustomAura for (Triggering unit) to (Level of Brilliance Aura for (Triggering unit))
Player - Disable SPELL BOOK for (Triggering player)

I think this should do it, but have someone more expirienced than me check it.

EDIT: here I uploaded map with the ability. Like I said before, someone should re-check it if it's 100% legit
 

Attachments

  • Mana degeneration spell.w3x
    17.2 KB · Views: 70
Last edited:
Status
Not open for further replies.
Top