This is the logfile text:
\#FFFF00Cewtie Irewater begins cascading damage at a radius of 10m. Watch out!We want to joust out however many meters it is, plus one additional meter. In this case, we need to joust 11 meters. The distance can vary up into the hundreds, at which time you're probably gonna wipe anyway, so here's what I have thus far:
<Trigger R="begins cascading damage at a radius of (?<DISTANCE>([1-9]|[1-9][0-9]|[1-9][0-9][0-9]))m" SD="joust ${DISTANCE}" ST="3" CR="T" C="Mahngavi Wastes: The Engulfing Night [Raid]" T="F" TN="" Ta="F" />
This seems to correctly return the distance number, which TTS pronounces as "ten", which is good.
What would be even better would be if I could set up a conditional statement:
IF the number is 10
THEN TTS "eleven"
ELSE IF the number is 20
THEN TTS "twenty-one"
ELSE IF the number is 30
THEN TTS "thirty-one"
ELSE IF the number is 40
THEN TTS "forty-one"
ELSE IF the number is 45
THEN TTS "forty-six"
ELSE IF the number is 75
THEN TTS "Take the wipe"
Is such a thing possible? I'm not sure what distances Cewtie? can generate, my log from last night went 10, 20, 30, 45, 75. I'd like the same trigger to work on the Cewtie Irewater fight, which seems to just advance by tens, 10, 20, 30, 40, etc.
Comments