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

[Trigger] Disabling a skill

Status
Not open for further replies.
Level 17
Joined
Jul 15, 2009
Messages
632
So, I have this skill that uses a dummy skill to change it.
More detailed : a devotion aura that can be switched between giving a armor buff to allies and a armor debuff to enemies.
But when it switches from e.g. buff to debuff, the hero is able to learn the debuff skill again.

Is there a way to disable that?
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
The time for it to change from (+) to (-) has some slight delay, but that won't be a problem :)
But from (-) to (+), there's no delay at all
You forgot to set Boolean Variable when the unit learns that skill
I have edited your map, check it out

EDIT:
It can be bugged if you Learn the skill while you're in the (-) form because natural form is (+)
I'm lazy to fix this, haha

EDIT 2:
Fixed that bug
Also, (-) increases linearly with (+)
 

Attachments

  • PaladinAura.w3x
    20.2 KB · Views: 44
Last edited:
Status
Not open for further replies.
Top