Fluffball
Well-Known Member
- Reaction score
- 35
Code:
Jump
Events
Unit - A unit Starts the effect of an ability
Conditions
Actions
Set TempPoint = (Target point of ability being cast)
Set TempPoint2 = (Position of (Casting unit))
Set Angle = ((Angle from TempPoint to TempPoint2) - 180.00)
Set TempReal = (Distance between TempPoint and TempPoint2)
Unit - Add Jump(CrowForm) to (Casting unit)
Unit - Set level of Jump(CrowForm) for (Casting unit) to 1
Unit - Order (Casting unit) to Night Elf Druid Of The Talon - Storm Crow Form
Unit - Add classification of A flying unit to (Casting unit)
For each (Integer A) from 1 to 100, do (Actions)
Loop - Actions
Set TempPoint3 = (TempPoint2 offset by (TempReal / (250.00 + Gravity)) towards Angle degrees)
Animation - Change (Casting unit) flying height to ((Current flying height of (Casting unit)) + (1.00 x Gravity)) at 99999.00
Set Gravity = (Gravity + 0.04)
Unit - Move (Casting unit) instantly to TempPoint3
Set TempPoint2 = (Position of (Casting unit))
Wait 0.01 seconds
Set Gravity = 1.00
For each (Integer A) from 1 to 40, do (Actions)
Loop - Actions
Set TempPoint3 = (TempPoint2 offset by (TempReal / (500.00 + Gravity)) towards Angle degrees)
Unit - Move (Casting unit) instantly to TempPoint3
Animation - Change (Casting unit) flying height to ((Current flying height of (Casting unit)) + (0.25 x Gravity)) at 99999.00
Wait 0.02 seconds
For each (Integer A) from 1 to 100, do (Actions)
Loop - Actions
Set TempPoint3 = (TempPoint2 offset by (TempReal / (250.00 + Gravity)) towards Angle degrees)
Animation - Change (Casting unit) flying height to ((Current flying height of (Casting unit)) - (1.00 x Gravity)) at 99999.00
Set Gravity = (Gravity - 0.04)
Unit - Move (Casting unit) instantly to TempPoint3
Set TempPoint2 = (Position of (Casting unit))
Wait 0.01 seconds
Ok, so Jump, is a shockwave ability (with all the effects, dmgs, etc nulled) and Jump(CrowForm) is just crow form. The caster doesn't seem to move and moves choppily (moves a large amount at a time, doesn't slide). Please tell me what is wrong, or if i should give up and try to make a JASS version... or just use Emiljrs one.