| 04-21-2007, 01:56 AM | #1 |
I wanted to create a blink strike with a micro stun so i used a storm bolt with a desired stun duration as the base spell and have a trigger to do the blink part, however it doesnt work as i want. Trigger: Untitled Trigger 001
Also i want to vary the damage according to the level of the spell being casted. |
| 04-21-2007, 02:12 AM | #2 |
base it off blink and use a dummy casting stormbolt. |
| 04-21-2007, 03:24 AM | #3 | |
Quote:
Trigger: Unit - A unit Begins casting an abilityTrigger: Unit - A unit Begins an effect of an ability2nd, Trigger: Unit - Move (Triggering unit) instantly to (Position of (Targeted unit)) |
| 04-21-2007, 03:24 AM | #4 |
Uh.. what exactly is going wrong? Heres a few things you may be doing wrong/need to change: 1) Make sure the condition is using your ability. If you have the ability off storm bolt and just didnt change the name, your fine. If you made a custom ability based off stormbolt, you have to use that ability. 2) For events, use 'A unit Starts the Effect of an ability. The way you have it now, it will move the unit even if you don't cast the ability, you just need to order it to do it and the trigger will run (even if your out of range) 3) To make the damage go up as it levels. Do this: First, go to arithmatic instead of 5000. For the first piece, make another arithmatic. Now its this: ((1+1)+1) Then, for the first one, do Convert Integer to Real For integer, do (level of ability for unit) and do Level of Stoem Bolt for Triggering Unit. Then, make it multiply by whatever you want each level to go up by. Finally, for the last one, do an addition so you will end up with this: (Pretending you want it to start at 5000 and go up by 2500 (((Integer (Level of Storm Bolt of Triggering Unit)) x 2500) + 2500) Im doing this without looking at editor, so it may be slightly different. Edit: Damn you, zen! Posted 10 seconds before me. |
| 04-21-2007, 04:07 AM | #5 |
It still doesnt seem to work. Could i get a actually example? |
| 04-21-2007, 04:29 AM | #6 |
you can use "wait until unit has buff of type stunned[paused]" but if the unit dies to the spell it wont move the caster. It also has a minimum of a .10 second wait which is noticable. probably best to just use a dummy ability for the move and a dummy unit for the stun. |
| 04-21-2007, 06:32 AM | #8 |
ya, forget what I said about blink, you need a targeted spell. what you just posted looks ok, but you need to change (targeted unit) to (target unit of ability being cast). targeted unit refers units aquiring a target events. And you wont need the wait now that your not using stormbolt. |
| 04-21-2007, 07:52 AM | #9 |
Targeted Unit should be Target Unit of Ability Being Cast if I remember my GUI correctly. |
| 04-21-2007, 10:44 AM | #10 |
Yeah its working now :D |
