PaladinWhite
Member
Is there a way to check the current round number in a combat script?
There's been a bunch of discussion on the game forums about motives for delaying a fight. In particular, this month's IoTM intergnat familiar makes it profitable to extend fights to 5 rounds in some cases. So I'd like to do this:
Obviously, if that initial STUFF takes a predetermined number of rounds, this is trivial. But if that STUFF takes a variable number of turns, then I need to be able to see the current round number. Can I?
EDIT: Oh, I guess I can parse the page for "Combat: Round X!" So I'll go ahead and do that, but I'm still interested in hearing if there's a simpler (prebuilt) way.
There's been a bunch of discussion on the game forums about motives for delaying a fight. In particular, this month's IoTM intergnat familiar makes it profitable to extend fights to 5 rounds in some cases. So I'd like to do this:
Code:
[do some STUFF]
while(roundnumber < 5) {
delay (eg. by using a seal tooth)
}
[finish the fight]
Obviously, if that initial STUFF takes a predetermined number of rounds, this is trivial. But if that STUFF takes a variable number of turns, then I need to be able to see the current round number. Can I?
EDIT: Oh, I guess I can parse the page for "Combat: Round X!" So I'll go ahead and do that, but I'm still interested in hearing if there's a simpler (prebuilt) way.
Last edited: