Gui?Jass?vJass?: Gui
Difficulty: Easy
Fun: idk
Leaks: Totally, (needs fixing)
Difficulty: Easy
Fun: idk
Leaks: Totally, (needs fixing)
Code:
The Effect is to Alternate the Right and Left Arrow keys to deal Damage around the Caster.
Code:
Spell
Events
Unit - A unit starts an a effect of an a Ability
Conditions
(Ability Being Cast) Equal to Spell
Actions
Set Caster = (Triggering Unit)
Set EffectPoint = (Position of Caster offset by 500
Unit - Pause Caster
Set EffectIsOn = True
Turn on Spell Effect
Wait 5 Seconds
Turn off Spell Effect
Set EffectIsOn = False
Custom Script: call RemoveLocation(udg_EffectPoint)
Unit - Unpause Caster
Code:
Left Click
Events
Owner of Caster presses the Left Arrow Key
Conditions
EffectIsOn equal to True
Actions
Set LeftClick = True
Code:
Left Release
Events
Owner of Caster releases the Left Arrow Key
Conditions
EffectisOn equal to True
LeftClick equal to True
Actions
Set LeftRelease equal to True
Code:
Right Click
Events
Owner of Caster presses the Right Arrow Key
Conditions
EffectisOn equal to True
LeftClick equal to True
LeftRelease equal to True
Actions
Set RightClick equal to True
Code:
Right Release
Events
Owner of Caster releases the Right Arrow Key
Conditions
EffectisOn equal to True
LeftClick equal to True
LeftRelease equal to True
RightClick equal to True
Actions
Unit - Create 1 Dummy at (Random point of Effect Point) for Owner of Caster facing (Default building degrees)
Unit - Order (Last Created Unit) to Human Mountain King - Thunder Clap
Unit - Add a 0.50 second generic expiration timer to Last Created Unit
Set LeftClick equal to False
Set LeftRelease equal to False
Set RightClick equal to False