HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Life stealing chain lighting

09-25-2007, 01:45 AM#1
Dooblivion
Hi,
I want to make a life stealing chain lighting.
Each unit struck by it will be damaged and the
number of damage suffered will be transfered
to the Hero.
Chain of Blood <chain lightning>
Level1: 100 damage from 2 targets ( Steals 200 life)
Level2: 100 damage from 3 targets ( Steals 300 life)
Level3: 150 damage from 3 targets ( Steals 450 life)
Etc...

The tricky thing for me is how to make the variable. Even the base of it.
But what I have most problem is to make a heal for each unit; example
he onlys hit 1 (at level1) he will be healed only 100 life and not 200...


----> If you need me to clarify, please ask. <----
09-25-2007, 02:25 AM#2
Castlemaster
Sorry man, that thing is going to have to be fully triggered as far as I can tell. There's a good tutorial on here about making GUI chain spells.

The damage part is no problem, but I do not know how to detect lightning jumps. As far as I know, there is no way to do it.
09-25-2007, 02:31 AM#3
Dooblivion
awww i knew something like that would come up. Your probably right because I tried about 40 minutes how to figure how it would work but i never did...
09-25-2007, 02:32 AM#4
moyack
this can be done, definitely, but it must be triggered 110%

I did this spell for the Mana burn spell contest. There I used triggered lightning, so it's not perfect, but probably this is the idea that Dooblivion wants, but with life.
Attached Files
File type: w3x(1)Magic Absorption.w3x (59.4 KB)
09-25-2007, 02:46 AM#5
Dooblivion
wow...cant believe someone managed this spell. thanks alot :D . It might not be 'perfect' but its enough for me :)

I still have to try and understand the trigger language you use though... I use default trigger type
09-25-2007, 03:54 AM#6
Dil999
If you want, you can use this chain lightning system made by me. Currently one of the spells does exactly what you described, just with different stats (30 damage to 10 units, 0.01 seconds between bounces). If you know any jass you can easily modify that system to do what you want. If not, I would be happy to do it for you.