Spells: Damage applied over multiple rounds?

Hey all, I'm curious if it's possible to apply damage over multiple rounds with a spell, doing a Calculate operation each round. I haven't come across code that does this in any of the v1.1 spells.

Anyone have any ideas about this?

5,110 views 9 replies
Reply #1 Top

I don't think it is possible. However, it would be conceivable to do an effect that deals damage starting high and ending low, by using multiple gamemodifiers.

Reply #2 Top

What are you calculating? 

 

EDIT: You can use calculate to derive the value, and use <Duration>, but I don't think it calculates each turn.

 

Reply #3 Top

Thanks guys.

For example, a spell that deals 2*N damage per round where N is the number of rounds it has been applied. Duration Int/5 (or something similar).

I'll take a look at multiple round effects and play around a bit. 

Reply #4 Top

Well, I know that you can't calculate to Duration. You can only use calculate to derive Value, MinValue, and MaxValue. I've been trying to think of a way to make the first part work, but without having a variable for the round (or not knowing what it is), I'm not sure you can do it.

Reply #5 Top

what about the poisonshot ability of the blackwidow spiders for ideas?

harpo

 

Reply #6 Top

Thanks for the help guys. I'll give the poisonshot ability a look today. If I can get it to work, I'll post the xml as a reference for others.

Reply #7 Top

There has to be a duration mechanic in there. Haste, slow, dominate, etc all have a duration on the tactical map as does the new flame spell that burns in a square for a nnumber of turns.

Reply #8 Top

The question is if he can do a spell that does different things in each subsequent round. You guys are confusing the issue.

 

Reply #9 Top

^ What he said. ^