| 10-03-2008, 08:41 PM | #1 |
Does anybody knows hoe to make chain spells like Healing Wave ,Chain Lightning using triggers ? I'm asking this because I want to use custom damage/heal with this spells ... |
| 10-03-2008, 08:47 PM | #2 |
a) unit casts spell like Thunder Bolt at target b) trigger catches target being hit, creates a dummy caster at the target's location to cast Thunder Bolt on any valid target within X range Repeat b) for however many iterations yoy need. Don't know how effective it'll be though... |
| 10-03-2008, 10:43 PM | #3 |
Even better, just trigger the whole thing, including the lightning effects. The only problem is that terrain height smoothing makes lightning not match properly to units with GetLocationZ(). It's better to use a Finger of Death-based dummy spell which does properly adjust. |
| 10-04-2008, 02:56 AM | #4 |
Ohmigosh you forgot about Daelin, thy creator of good special effects and great spells. http://www.wc3campaigns.net/showthread.php?t=86307 How to make chain spells, GUI-style. |
| 10-04-2008, 09:54 PM | #5 |
OMG. That tutorial is outdated and uses evil waits ! I just made a Chain spell a few weeks ago. Please have a look on: http://www.wc3campaigns.net/showthread.php?t=102706 It is vJASS and it follows JESP Standard, so it is really easy to change. On the other hand I also believe the code is very well divided into several sections thus making it easier to change and to apply a "Divide and Conquer" strategy. I believe you can make any kind of chain spells with my code. It uses timers, and it is reliable afaik. |
