[Duplicate] Not using spell defined by scripter
1. What OS you are at?
Windows 10
2. Real PC or VPS?
Notebook
3. Using WindAddons? Which version?
No
4. Which version of WindBot?
beta.34
5. Which version of Game Client?
11.03.4221
6. Do you have a Dedicated Graphics Card?
No
7. Detailed description of the problem.
The Script set the spells to be used in the following code:
Code:
if $targeting and $attacked.id ~= 0 then
if maround(10, unpack(monsters)) >= sdAmount and getuseroption('UseSD') and itemcount("sudden death rune") > 0 then
if $attacked.name == "Behemoth" then
useoncreature('sudden death rune', $attacked.id)
wait(300)
end
elseif cooleddown('attack') then
local besttile = getarearunetile(not pvp, unpack(monsters))
if besttile.amount >= gfbAmount and getuseroption('UseAVA') and ((paround(10) == 0 and pvp and $timems - $playerlastseen > 6000) or not pvp) and $hppc > 50 and itemcount("avalanche rune") > 0 then
pausewalking(500)
useitemon('avalanche rune', 0, besttile.tile)
wait(100,200)
elseif cancastspell('exori gran '..strikeType, $attacked) and getuseroption('usespells') and $attacked.name == "Behemoth" and $attacked.hppc > 15 then
cast('exori gran '..strikeType)
wait(100,200)
elseif cancastspell('exori frigo', $attacked) and $attacked.name == "Behemoth" then
cast('exori frigo')
wait(100,200)
end
end
end
But when it has only 1 monster, it doesn't use the 'exori frigo' spell. It uses avalanches correctly on 2+ monsters though.
8. If applicable, a GIF of the action hosted on imgur.com.
9. Debug Log.
10. Comments.
Not using 'gran' strikes, only avalanche, SD, and exori frigo