this
init start
-- local SCRIPT_VERSION = '1.0.1'
local invisCreatures = {'Stalker'}
local stuckTime = 1000 -- Set to 0 to always attack
local spellToUse = 'great fireball rune'
-- DO NOT EDIT BELOW THIS LINE --
table.lower(invisCreatures)
local spellToUseInfo, spellType = spellinfo(spellToUse), 'spell'
if spellToUseInfo.castarea == 'None' then
spellToUseInfo, spellType = runeinfo(spellToUse), 'rune'
end
init end
auto(100)
if $standtime >= stuckTime and ($wptsection == "Hunt" or $wptsection == "Leave" or $wptsection == "ToHunt") then
foreach newmessage m do
if m.type == MSG_STATUSLOG then
local _, _, name = m.content:match(REGEX_DMG_TAKEN)
if (name and table.find(invisCreatures, name:lower())) then
if spellType == 'spell' and cancastspell(spellToUseInfo) then
cast(spellToUseInfo.words)
waitping()
elseif spellType == 'rune' then
if $standtime < 5000 then
pausewalking(5000)
end
wait(200)
if maround(10, "Demon Skeleton", "Green Djinn") > 0 then
useoncreature("avalanche rune", $self)
else
useoncreature("great fireball rune", $self)
end
wait(400)
pausewalking(0)
end
end
end
end
end
work fo me before the update, after update im dead 2 times this script dont shoot any GFB!