Cooldown Help Could This Be Easily Done The JASS Way?

Status
Not open for further replies.

Jazradel

Helping people do more by doing less.
Reaction score
102
Not sure if I quite get the gist of your problem, but this might solve it:
call UnitMakeAbilityPermanent( <your unit>, true, <ability id> )
Replace the bits in <>. That will make an ability remain on the hero when he morphs.

Edit: Okay, I think I understand your problem fully now and no, there is no easy way. You can either trigger it completely, or trigger the morph so the original unit is hidden/paused for the duration.
 

Tom_Kazansky

--- wraith it ! ---
Reaction score
157
@FhelZone, so, you want to change the transform ability without reset cooldown of the old ability ?
If so, I think you can use the Engineering Upgrade ability,this ability must upgrade from the Chemical Rage to Metamorphosis, (put it in a disabled spell book, of couse) then when you add that unique ability to a unit, add this too. This unit will get the Metamorphosis with current cooldown of the Chemical Rage
 

FhelZone

Have a drink of a nice cold mellowberry juice!
Reaction score
103
No, if you play my game, you should be able to purchase some spells. Transforming will remove the spell that you have purchased. Now my trigger that keeps it alive is every second it returns the skill. By the way Jazradel, is that trigger of yours right if yes well it should be the answer, Maybe. And the skills are stored in a variable, how should I use the skill ID.
 

SFilip

Gone but not forgotten
Reaction score
634
You already have a thread on this subject, don't open another just to link to it.
 
Status
Not open for further replies.
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top