And now, I have a question.
Since I am able to count how many Delayed Fireballs I have created and also able to calculate how long spells last, I am wondering if I can bring those two together and be able to figure out how long Delayed Fireballssss (emphasis on the plural!) are going to last?
Hm hm! Let me do it in steps!
1) "^(You|> You) feel a small stone materalise\.$"
A trigger will match on that and do "world.setvariable "delayed", Cint(getvariable("delayed")) +1" and "world.setvariable "SpellDelayedTimer", now".
NOW, if I am only casting one Delayed Fireball, I will be fine. I can just set an alias that displays a variable of the result of "CLng(GetVariable("SpellDelayedDuration"))-CLng(Datediff("s", getvariable("SpellDelayedTimer"), now))", except I will be casting more than one! I want this alias to be able display the time left of the OLDEST Delayed Fireball. If the oldest one disappears, I want this alias then to display the time left for the next oldest one. :( |