- Joined
- Jun 21, 2004
- Messages
- 148
I need a jump attack spell, 10 lvls, 100 dmg at lvl 1, 1000 dmg at lvl 10...if someone will make this for me ill be very greatful!
RaZoR said:basically, ziNv is right but don't forget to make different lvls, to add the damage and also don't forget to make your hero flying, because else the "change hflying high" functions won't work
event: generic unit event - unit learns an ability
condition: skill comparison - ability being learned equal to "your dummy spell"
acton: variable: set "real variable" = "real variable + 1"
event: generic unit event - unit starts casting an ability
condition: ability comparison - ability being cast equal too your "dummy spell"
action: set "1. unit variable" = triggering unit
set "2. unit variable" = targeted unit of ability being cast
unit - pause on "1. unit variable"
unit - pause on "2. unit variable"
unit - make "1. unit variable" invulnerable
animation - set "1. unit variable"'s flying high to 200 at 0
unit - move "1. unit variable" instantly to position of "2. unit variable"
unit - make "1. unit variable" face "2. unit variable" over 0 sec.
animation - set "1. unit variable"'s flying high to 0 at 2
wait 2 sec.
if/then/else multiple actions:
if condition: real comparison - "real variable" =1
then: unit - set life of "2. unit variable" to life of "2. unit variable" - 50 (or whatever)
if/then/else multiple actions:
if condition: real comparison - "real variable" =2
then: unit - set life of "2. unit variable" to life of "2. unit variable" - 100 (or whatever)
if/then/else multiple actions:
if condition: real comparison - "real variable" =3
then: unit - set life of "2. unit variable" to life of "2. unit variable" - 150 (or whatever)
unit - unpause "2. unit variable"
unit - unpause "1. unit variable"
unit - make "1. unit variable" vulnerable