Masuzu / SarasaBot

A GBF bot for automated raid farming with scriptable behaviour
https://gbtools.azurewebsites.net/SarasaBot/en/Home
27 stars 4 forks source link

error popup when trying to use kengo's rending flash #274

Closed trungpro95 closed 5 years ago

trungpro95 commented 5 years ago

error

Script : kengo's split>flash>use all shiva's skill>lyria's buff>use 2 summons then ougi turn 1 and just attack in turn 2 and quit raid

if booleans["assault_time"] == nil then if turn == 1 then character_1:UseSkill(2):WithWaitTime(2000) end if character_1.charge_gauge == 100 and turn == 1 then character_1:UseSkill(3):WithWaitTime(2000) --[[Use Shiva]] characters["Shiva"]:UseSkill(3):WithWaitTime(1000)
characters["Shiva"]:UseSkill(2):WithWaitTime(1000) characters["Shiva"]:UseSkill(1):WithWaitTime(1000) Summon(1) --[[Use Lyria buffs--]] characters["Lyria"]:UseSkill(2):WithWaitTime(1000) Summon(6) end if turn = 2 then end TerminateBattle() end

trungpro95 commented 5 years ago

So i check again and everytime it try to cast 2nd action alway lead to error

trungpro95 commented 5 years ago

ok i make it work to the summon call part now , but the bot can't click ok on summon and try to spam back button while summon popup still up after that it show error message .

ErogeSeiyuu commented 5 years ago

Skill formatting changed a while ago. It's character_1:WithWaitTime(2000):UseSkill(3) now

There's also the weird turn==2 then end TerminateBattle() end ?????

What happens to _if booleans["assaulttime"] == nil then? Did you set booleans up already?

if turn == 1 then
 if character_1.charge_gauge == 100 then
    character_1:WithWaitTime(2000):UseSkill(2)
 end
    characters["Shiva"]:WithWaitTime(1000):UseSkill(3)
    characters["Shiva"]:WithWaitTime(1000):UseSkill(2)
    characters["Shiva"]:WithWaitTime(1000):UseSkill(1)
    Summon(1)
    characters["Lyria"]:WithWaitTime(1000):UseSkill(2)
    Summon(6)
end
if turn = 2 then
  TerminateBattle()
end

Is this what you mean?