-
Editing mas san script
i wanna edit this script to attack mas san if someone is on safelist "local safelist = {"cachero", "buuble"}" but need to add lower function to do it, someone can help me?
Code:
auto(100)
-- mobs/retro
local pvp = getuseroption("pvp")
local safelist = {"cachero", "buuble"}
local mobs = {"Retching Horror", "Demon Outcast", "Choking Fear", "Plaguesmith", "Nightmare", "Blightwalker", "Silencer", "Energy Elemental"}
-- use mas san..
local UseMasSan = getuseroption("UseMasSan")
local MinMasSan = getuseroption("MinMasSan")
if $looting then
if cancastspell('exevo mas san') and maroundspell("exevo mas san", "any", unpack(mobs)) >= MinMasSan and (not pvp or $timems - $playerlastseen > 8000) and $mppc > 50 and UseMasSan and $hppc > 50 then
pausewalking(600)
cast('exevo mas san')
wait(200)
end
end
-
ok no need i do it from script https://forums.tibiawindbot.com/show...p?151#post1049
thx anyway ;** love you all brothers ;P