HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Any help with Lightning Shield?

02-17-2004, 03:24 PM#1
GreyArchon
Does anyone know how I can make a custom spell based off of Lightning Shield damage the one unit which HAS the lightning shield casted upon him? I'm trying to do this, but there's no option in the editor, and I can figure out how to do it with triggers.
02-17-2004, 03:54 PM#2
Alakafizz
You could either:

1) Disable all damage on Lightning Shield, and make a trigger that detects this spell cast, and then deals damage to the unit periodically (every second)

2) Disable all damage on Lightning Shield, create an invis unit with a modified Life Drain to deal the exact amount of damage you want each second.
02-17-2004, 04:48 PM#3
GreyArchon
Quote:
Originally posted by Alakafizz
You could either:

1) Disable all damage on Lightning Shield, and make a trigger that detects this spell cast, and then deals damage to the unit periodically (every second)

2) Disable all damage on Lightning Shield, create an invis unit with a modified Life Drain to deal the exact amount of damage you want each second.


Thanks! What trigger should I use for the first solution? There's no "reduce health with (number) of unit" trigger anywhere! :/
02-17-2004, 05:05 PM#4
Alakafizz
Yes there is =)

Do something along these lines:
Code:
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 50.00)
02-17-2004, 05:16 PM#5
GreyArchon
Quote:
Originally posted by Alakafizz
Yes there is =)

Do something along these lines:
Code:
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 50.00)


I tried, but I can't come further than...
Code:
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit))


Nowhere I can set the -50 of it all. emote_sweat
02-17-2004, 05:19 PM#6
dexllgamer
you have to use the arithmitic option to subtract the 50 hp from the original life.
02-17-2004, 05:23 PM#7
GreyArchon
Quote:
Originally posted by dexllgamer
you have to use the arithmitic option to subtract the 50 hp from the original life.


And.. that's the point where you've lost me. :O
02-17-2004, 05:28 PM#8
volatile
it's the top option, you select it from the drop down menu lol, plain as day. Life of triggering unit - 50 right there... look around, it's where you chose unit - property, under same drop down menu, very top.
02-17-2004, 05:43 PM#9
dexllgamer
Dam this guy has ultra facncy avatars for the forum but doesnt know how to use the arithmitic function?? SHESHHH.

Just kidding buddy, I couldn't find the circle of power for a long time. Some things are just hidden.

Could you make one of those cool avatars for me?