• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[General] Skill Refresh Chance by only using Demolish Skill

Status
Not open for further replies.
Level 8
Joined
Oct 6, 2022
Messages
213
How to make a "skill refresh chance" where there is a chance that the triggering unit skill refreshes after being casted by only using the passive skill that has no buff like "Demolish"?
 
Sorry i didn't make it clear, what i mean is when the time triggering unit learned the skill demolished there's a chance like 15-45% that when the triggering unit cast a skill like for example firebolt or shockwave the cooldown of the firebolt or shockwave would be refresh.
 
Right, so when a unit casts an ability check if it has demolish leveled and if the chance was successful, then reset the cooldown:
  • Events
    • Unit - A unit Starts the effect of an ability
  • Conditions
    • (Level of Demolish for (Triggering unit)) Greater than 0
    • (Random integer number between 1 and 100) Less than or equal to 45
  • Actions
    • Unit - For Unit (Triggering unit), end cooldown of ability (Ability being cast)
exx.png


You should have this Action in 1.31.
 
Status
Not open for further replies.
Back
Top