HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Problem

07-10-2004, 02:55 PM#1
Hound Archon
Ive got a strange problem with my spell
when i cast it the caster dies.....
This is it:
07-10-2004, 03:14 PM#2
th15
First of all there isn't really a "target point of issued ability" because it seems that you're using an untargeted spell.

Next, you're SETTING life to -200. Which means you're setting the life of all units within 800 of of target point to NEGATIVE 200 (i.e. quite dead). What you want to do is use the arithmetic function to set life to (current life of picked unit - 200)
07-10-2004, 03:41 PM#3
Hound Archon
Quote:
Originally Posted by th15
First of all there isn't really a "target point of issued ability" because it seems that you're using an untargeted spell.

Next, you're SETTING life to -200. Which means you're setting the life of all units within 800 of of target point to NEGATIVE 200 (i.e. quite dead). What you want to do is use the arithmetic function to set life to (current life of picked unit - 200)
wuhu! thanks
it needs 3 levels though...is there any way of doing that:??
07-10-2004, 03:55 PM#4
Anitarf
Yeah. For example, if you want it to be -200 life on first level, -400 on second... then instead of 200 use another arithmetic function (200 * (convert integer to real(level of ability for unit))).

If you want it to be 200 at level 1 and then go up by 100 each level, then modify the equation to (100 + (100 * (real(level of ability))))...
07-10-2004, 03:57 PM#5
th15
Put if-then-else loops infront of the actual damage action.

Either that or apply a multiplier based off the level of the skill being used to the damage/damage radius bits of the trigger (using more arithmetic functions).
07-10-2004, 10:58 PM#6
Vexorian
Quote:
Originally Posted by >†ReapeR†<
Ive got a strange problem with my spell
when i cast it the caster dies.....
This is it:
Hey, next time use right click to copy the trigger as text and pasting it between [code] tags, it will help us help you