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

[JASS] Help me with some JASS coding plz

Status
Not open for further replies.

Van Damm

V

Van Damm

I need some feature for my map, but I don't know how to code it. So, here it goes:

How can I make the Spell's casting time change when the Hero's Agility changes?

(e.g. when the Hero has 10 Agi, the Spell's casing time is, for example, 10 sec. And when he has his Agi increased, the Spell's casting time reduces to, for example, 1 sec at 100 Agi)

Help me plz :roll:
 
change the "real" spell dur to 9999, make a trigger that checks the agility and start a timer check if the timer is stil running in a loop with Polledwait or TriggerSleepActions and exit when the timer is expired then order the channeling unit to stop.
 
Status
Not open for further replies.
Back
Top