<ApplyToTile> GameModifier tests

Tactical Mode Testing

After a couple of days of trial-and-error testing, I have come to the conclusion that <ApplyToTile> does not work in Tactical mode, hence why the spell Wall of Fire is commented out in the fire-tactical spell xml.  Some have noted that there is a <GameModifier> in the CoreTile TD_Groundfire which might help it work, but this GM does nothing (as far as I can tell) on either the Tactical or Strategic layers.

Strategic Mode Testing

<ApplyToTile> does work to some extent on the Strategic layer: it only triggers the GameModifier when a unit moves onto the applied tile.  If the unit does not move from the tile, the GM does not trigger at the beginning of the next turn, so, for example, a unit could be sitting in the middle of a raging inferno, yet not taking damage.  Of course one could use a <PerTurn> DoT type effect to help alleviate this for damage type effects.  I have yet to discover a work-around to this movement issue.  <ApplyToTile> also works in all affected tiles when the spell is set with a Radius > 0.

 

I will keep testing and post more conclusions if I come across any.

8,145 views 5 replies
Reply #1 Top

Thanks for doing this. This post and the others like it you've made have been helpful references when I have time to write spell code.

Reply #2 Top

No problem.  I almost went postal trying to figure this one out, and I'm still working on it.

Reply #3 Top

I think you should look at the spell Wall of Fire or Create Vortex. What you will probably want to do is create a prop on the tile in question and apply your modifier to the prop.

Reply #4 Top

It doesn't work in tactical mode, and as far as the 'Vortex' in create vortex goes, there's not even a file called vortex.xml, so that definitely won't work.

Reply #5 Top

Hmmm...I have tried everything I can think of to make this work, but they all failed in tactical combat. I would imagine that the hooks for this in tactical combat have been either removed or are bugged. I will play around with it some more to see what happens.