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

Reducing duration time for an ability casted multiple times

Status
Not open for further replies.
Level 6
Joined
Sep 24, 2015
Messages
174
hi, in my map i want to make an ability reducing the duration time if it's casted multiple times on a specific unit.

I tried to make it but it's kinda hard to make it, if someone could help me it would be nice :)

Thanks.

here's the trigger.

  • SlayerGrip
    • Events
      • Unit - A unit Begins casting an ability
    • Conditions
      • (Ability being cast) Equal to Grom's grumpy Grip
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
        • Then - Actions
          • For each (Integer A) from 1 to (Number of players), do (Actions)
            • Loop - Actions
              • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
                • Loop - Actions
                  • Unit - For Unit (Picked unit), Set cooldown of ability Grom's grumpy Grip , Level: (Number of Negative buffs considered Magic or physical on Vamp1 (Include expiration timers, Include auras)) to 5.00
                  • Unit - For Unit (Picked unit), Set cooldown of ability Grom's grumpy Grip , Level: (Number of Negative buffs considered Magic or physical on Vamp2 (Include expiration timers, Include auras)) to 5.00
        • Else - Actions
edit : NVM i just reduced the spell duration for every players (easier i think)
 
Last edited:
Status
Not open for further replies.
Top