Warcraft III resources & community, 2003–2006 · archived

Damage Timing Equation, or...

7 posts
#1

Damage Timing Equation, or...

I'm making a spell that is based off of Acid Bomb. The problem is that I want to use the Unit-Damage Target function in the triggers for spell damage. I want the missile to hit and then deal damage, timed so that it looks spiffy.

I was thinking about just making it buff detection, but for some reason this doesn't work. I could be doing it wrong though. I used the wait until condition function, then dealt the damage, but it doesn't work. If anyone can give suggestions on how to do this it would be greatly appreciated.
#2
You mean; you want to do an Acis Bomb that deals initial damage and then deals secondary damage over time?

-Rui
#3
Not quite. I want the actual spell to deal no damage. The spell is there for missile art value, the damage is done by triggers. The problem is timing the triggered damage to fire right as the missile hits the target. I was thinking buff detection, but I've tried and somehow managed to fail. :roll:
#4
Calculate the missile speed and the time. For example if you use Transmute's missile speed, 1 second waiting should work...

-Rui
#5
Wait for (distance/missile speed) seconds.

you know that basic physics, s=v*t -> t=s/v
#6
e = mc.2?
#7
Joey.e = mc.2?

Ehm, thats another physic formula that has nothing to do with time and distance.