What exactly do you want to do? Under which condition you want to shoot GFB?
well in my case what i wanted was to shoot "Area Rune" if more than X monsters, but if less monsters than X then shoot strike spells..... but the thing is that the target list should be attacked with diferent types of strikes, example: demon skeleton with exori frigo, bonebeast with exori flam and water elemental with ex. vis.....
i want the same like joraanpe
init start
local CREATURES = {"earth elemental", "nightstalker"}
local ATK_TYPE = {RUNE = {NAME = "great fireball rune", COUNT = 2}}
init end
local m = $target.name
if maround(7, unpack(CREATURES)) >= ATK_TYPE.RUNE.COUNT then
shootarearune(ATK_TYPE.RUNE.NAME, ATK_TYPE.RUNE.COUNT, true, unpack(CREATURES))
waitping()
else
if $targetingtarget.isshootable and table.find(CREATURES, $target.name) and cancastspell(beststrike(m)) then
cast(beststrike(m))
waitping()
end
end
edit: just retested your code and seems like its not retriving and shooting the beststrike, so does nothing when you have the min amount of monsters on you. I think ill keep using my rudimentary code hehe