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

replace ability problem

Status
Not open for further replies.
Level 8
Joined
Jun 25, 2010
Messages
153
I need help. I was working on a Trigger that would replace a unit ability on a hero without removing a buff and while I was working and tested it the previous ability would be removed but the ability that would replace it never appears. Im still new at triggering :grin: Here my trigger.
  • Female AllowDisallow
    • Events
      • Unit - A unit Begins casting a ability
    • Conditions
    • Actions
      • If (all conditions are true) then do (then actions) else do (else actions)
        • If - Conditions
          • (ability being cast) Equal to Allow/Disallow *disallow*
      • Then - Actions
        • Unit - Remove (Ability being cast) from (Casting unit)
        • Unit - Add Allow/Disallow *allow* to (Casting unit)
      • Else - Actions
        • Do Nothing
 
Last edited by a moderator:
Status
Not open for further replies.
Top