F
flyingphippo
Guest
ever tried refreshing the cooldown for every spell without the spell itself being refreshed?
when finding out how to do this, i searched the forums and found some people unable to do this. so i tried to find a solution on my own. hope this thread helps those who couldnt do it!
heres my spell. For 10 seconds, all of the spells for the hero has no cooldown! and the skill itself cant be used for 2 minutes.
the inner fire buff is a buff that is called "cant concentrate for 2minutes"
this makes no cooldown
this makes the hero unable to learn it again when the spell is deleted
when finding out how to do this, i searched the forums and found some people unable to do this. so i tried to find a solution on my own. hope this thread helps those who couldnt do it!
heres my spell. For 10 seconds, all of the spells for the hero has no cooldown! and the skill itself cant be used for 2 minutes.
Code:
concentration
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Concentration
Actions
Set unit = (Triggering unit)
Unit - Remove Concentration from unit
Trigger - Turn on conceffect <gen>
Trigger - Turn on conc level up <gen>
Wait 10.00 seconds
Trigger - Turn off conceffect <gen>
Unit - Create 1 dummy for (Owner of unit) at (Position of unit) facing Default building facing degrees
Unit - Add Cooldown to (Last created unit)
Unit - Order (Last created unit) to Human Priest - Inner Fire unit
Unit - Add a 1.50 second Generic expiration timer to (Last created unit)
Wait 110.00 seconds
Trigger - Turn off conc level up <gen>
Unit - Add Concentration to unit
Code:
conceffect
Events
Time - Every 0.01 seconds of game time
Conditions
Actions
Unit - Reset ability cooldowns for unit
Code:
conc level up
Events
Unit - A unit Learns a skill
Conditions
(Learned Hero Skill) Equal to Concentration
Actions
Unit - Remove Concentration from unit
Hero - Modify unspent skill points of unit: Add 1 points