• 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.

[Trigger] i need an ability to reduce stun time

Status
Not open for further replies.
Level 1
Joined
Jan 31, 2018
Messages
3
hi guys
i need to create an ability to reduce stun time for heroes like status resastince from dota 2 i tried to use resistant skin but it doesnt work on heroes already please help
 
Level 14
Joined
Sep 28, 2011
Messages
968
Normal abilities that works on an unit have two durations: one for regular units and one for heroes.
Resistant skin makes the unit with it use the hero duration for abilities so it is redundant with being an hero.
If you want to globally reduce all stun durations on heroes you can merely edit all the hero duration fields on stunning abilities.
If you want to reduce stun duration for a specific unit then I suggest you make so that all stuns are triggered instead of effects of abilities(so you have to replace all stunning abilities with abilities that do not stun and make so that the stun is triggered) then in the triggers that applies the stun make so that the duration depends on if the stunned unit have the stun duration reduction ability or not and if they are heroes or not.
 
Level 1
Joined
Jan 31, 2018
Messages
3
Normal abilities that works on an unit have two durations: one for regular units and one for heroes.
Resistant skin makes the unit with it use the hero duration for abilities so it is redundant with being an hero.
If you want to globally reduce all stun durations on heroes you can merely edit all the hero duration fields on stunning abilities.
If you want to reduce stun duration for a specific unit then I suggest you make so that all stuns are triggered instead of effects of abilities(so you have to replace all stunning abilities with abilities that do not stun and make so that the stun is triggered) then in the triggers that applies the stun make so that the duration depends on if the stunned unit have the stun duration reduction ability or not and if they are heroes or not.
y thats the problem i cant rly trigger this so i needed help:/
 
Level 14
Joined
Sep 28, 2011
Messages
968
For people to help you then you would need to make a list of all the abilities with stun you use.
There is a lot of abilities that already have a triggered version or a system that allows to simulate them such as bash (battle passives) or impale (forgot the name of that system to make wave like skills).
 
Last edited:
Status
Not open for further replies.
Top