Basically, Sarsa bot is refusing to autoattack after using skills and it terminates the battle right away.
if turn == 1 then
Summon(1)
character_2:UseSkill(2)
character_1:UseSkill(1)
character_1:UseSkill(2)
end
TerminateBattle()
This is what I have written. I am not sure what's wrong but this is for mechanic so I have to have it press the attack button after using the skills :/
Is there a command to let it press the attack button?
I've also tried adding extra turns but it seems like if then -> end doesn't trigger attack as it does in zooey bot?
edit: just tested and adding extra turns such as if turn == n doesn't do anything, the skills get used in turn 1 and the battle gets terminated. why?
Basically, Sarsa bot is refusing to autoattack after using skills and it terminates the battle right away.
if turn == 1 then Summon(1) character_2:UseSkill(2) character_1:UseSkill(1) character_1:UseSkill(2) end
TerminateBattle()
This is what I have written. I am not sure what's wrong but this is for mechanic so I have to have it press the attack button after using the skills :/ Is there a command to let it press the attack button?
I've also tried adding extra turns but it seems like if then -> end doesn't trigger attack as it does in zooey bot?
edit: just tested and adding extra turns such as if turn == n doesn't do anything, the skills get used in turn 1 and the battle gets terminated. why?