Okay, so here I am setting up skills in my game when I run into an issue.
I'm tying to make a sort of immolate skill, which inflicts burning or constant damage on touch while it lasts.
So what I did was set up a skill that inflicts a custom state "immolate" on target, and set that state to last 10 seconds (as per Blizz ABS) and to dissipate 100% after the 10 seconds is up. I set the skill to also call a common event that turns on switch "immolate"
I then created a page on the Battler Events that's turned on by the "immolate" switch, and set the player touch trigger using Comment: Trigger:PlayerTouch. Then I set a call script to execute $BlizzABS.enemy_change_state(@SELF, ADD, 2) which inflicted a burning condition on the battler.
This worked to inflict the condition; however, if I kept on touching the event the battler would freeze, and eventually when the status "immolate" was done, the game would freeze if I was still touching the event.
So I set up a self switch on the event that turns on after the burning status is inflicted on the event.
I then created a new page whose condition was that same self switch. I set a conditional branch that checked whether or not the event had burning on, by using $BlizzABS.enemy_has_state?(@SELF, 2). If it's inflicted, nothing happens, if it's not inflicted, the self switch will turn off, and it'll go back to the previous event page and be able to be burned again. The only problem is that this can only be checked by conditions that don't work. If I use player touch, then I can freeze the game like I did previously (same with event touch), and the battler remains frozen as long as I'm touching it.
Is there any way to have a parallel process trigger on the event (without making a new event constantly checking all the battlers on the map) that checks if the battler has the burned condition and if not, turns off the self switch so the battler can be burned again?
I know this is complicated... please ask questions if you don't quite follow... I don't know if I even quite follow. Haha.
Anyway, if I can get this working, it'll just prove that there are some even cooler than expected things you can do with your ABS.
Thanks.