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

Raid Specific Support Summons? #208

Closed NullTamer closed 5 years ago

NullTamer commented 5 years ago

Is it possible to tie in a specific support summon to a certain raid instead of the blanket summon?

also having trouble with this script using the sample script from the other thread.

if enemy_1.name == "Qilin" then
  local qilin = require("Qilin.lua")
  qilin.DoActions(turn, battle)
else if enemy_1.name == "Ultimate Bahamut" then
  local ultimate_bahamut = require("Basic Conjunction 2.lua")
  ultimate_bahamut.DoActions(turn, battle)
  end
end

No errors occur but it seems to just ignore the script and attack refresh when inputting the script block. Syntax error when using the script call up form.

Masuzu commented 5 years ago

Hello, It is not yet possible to conditionally choose a summon depending on the raid. I added a better explanation as to how to load other scripts, which you will find here: https://github.com/Masuzu/SarasaBot/wiki/Lua-scripts#loading-different-scripts-depending-on-the-current-raid