Yes it does use best strike spell for creature weakness according to Creatures.xml (Windbot > Tibiadata folder).
Printable View
Alright thanks
I'm trying some options for my newest scripts that's why i tried this, at sds settings i choosed to use rune at 3 Crystal Spiders the problem is that it isn't throwing them only to crystal spiders if there are 3+ crystal spiders at screen it'll throw sds to any creature i'm attacking is there a way to only shoot to crystal spiders? some lua expert can help me? :)
I need help how to set that used the exori vis gran vis 1 monster and when 3 uses tunderstorm rune and Exevo gran mas vis 6 I am grateful because it is quite complicated for a beginner like.
need help with the script, it goes smoothly but something appears this error and i have to reset the script, otherwise it wont work
16:37:23 error in Cavebot script attacking:
["if maround(7, unpack(targetRunes[1].monst..."]:attacking:119 attempt to index a nil value
So I am using your script and it's working perfectly but I was wondering whether I can do something like the following:
Simply if user checked option to cast exevo mas san, it will enable it in scripter and the only way I found to solve it is by inserting rows into table.Code:if getuseroption('useExevoMasSan') then
table.insert(spells, {name = "exevo mas san", amount = MinMonstersDC, monsters = {'Corym Charlatan', 'Corym Skirmisher', 'Corym Vanguard'}})
else
table.remove(spells, {name = "exevo mas san", amount = MinMonstersDC, monsters = {'Corym Charlatan', 'Corym Skirmisher', 'Corym Vanguard'}})
end
But unfortunately I couldnt make it to work ;/
Como resolver o erro
19:51:41 error in Cavebot script ava sd:
[" return dmg >= hp"]:ava sd:734 attempt to compare number with nil
stack traceback:
[" if wouldDieToAStrike(c) then"]:ava sd:742 in function [" return function()"]:ava sd:721
[" status = spell.shooter(currentMasks[spell.name],..."]:ava sd:886 in function [" local function tryCastSpell(spells, blac..."]:ava sd:883
[" tryCastSpell(unpack(pconfig))"]:ava sd:915 in user script