- Joined
- Jun 18, 2004
- Messages
- 136
need to make a spell like windwalk but when the unit attacks it casts shadow strike instead of the damage bonus that normall happens. please tell me how to do this.
ok something isnt working this is how i did it:
-made an ability based off orb of slow.
-i made it do shadow strike 100% then i made a trigger that gives the ability whenever wind walk is cast.
-made a trigger that takes away orb ability after wind walk runs out.
-made the trigger i was given me:
A unit is attacked
If
Attacking unit has buff of type: WindWalk = true
Then
Remove ability from attacking unit
but when i attack it instantly takes ability and wont let you cast it.
-so i made a wait action. this worked (i used wind walk and attacked. it cast shadow strike and took ability in .5 secs). heres the problem:if i used wind walk again it waited two secs and took it even though i didnt attack anything!!
please help me! ive gotten everything to work but this!
ok something isnt working this is how i did it:
-made an ability based off orb of slow.
-i made it do shadow strike 100% then i made a trigger that gives the ability whenever wind walk is cast.
-made a trigger that takes away orb ability after wind walk runs out.
-made the trigger i was given me:
A unit is attacked
If
Attacking unit has buff of type: WindWalk = true
Then
Remove ability from attacking unit
but when i attack it instantly takes ability and wont let you cast it.
-so i made a wait action. this worked (i used wind walk and attacked. it cast shadow strike and took ability in .5 secs). heres the problem:if i used wind walk again it waited two secs and took it even though i didnt attack anything!!
please help me! ive gotten everything to work but this!