Tudo que Tricoder postou
-
Usar Piggy Bank
while itemcount('piggy bank') >= 1 do useitem('piggy bank') end Créditos: windbotbr
-
Rod to Weapon Changer
local Rod = 3070 -- Id of Rod local Sword = 3271 -- Id of Weapon auto(1000) if ($mppc < 40 and $rhand.id == Rod) then --at less than 40% mana changes to weapon equipitem('Sword', 'rhand') wait(200, 300) elseif ($mppc > 55 and $rhand.id == Sword) then -- at more than 55% mana it changes back to rod equipitem('Rod', 'rhand') wait(200, 300) end Créditos: windbotbr
-
Rune Heal Friend
init start -- Friends to heal local friends = { "Eternal Oblivion", "Bubble" } local healHPPC = 90 -- Minimum HPPC to heal table.lower(friends) init end auto(100) foreach creature m 'pt' do if m.hppc < healHPPC and table.find(friends, m.name:lower()) then useoncreature("ultimate healing rune", m.name:lower()) wait(300, 500) return end end Créditos: windbotbr
-
Safe stamina
init start local lowstamina = (14*60) + 30 -- 14:30 stamina init end auto(2000,3000) if($pzone and lowstamina >= $stamina) then xlog(true) end Créditos: windbotbr
-
Duração Soft Boots
Persistent init start local function getsecs(msg) local times, temp = {m = 60, h = 3600, s = 1}, 0 for n, t in msg:gmatch('(%d+)%s(%a)') do temp = temp + (tonumber(n) * times[t] or 0) end return temp end -- SCRIPT VERSION: 1.1.0 init end auto(1000) -- do not change it! if not softTime then if $feet.id == 3549 then contextmenu("Look", $feet.id, "feet") waitping() end foreach newmessage m do if m.type == MSG_INFO then local name, duration = m.content:match(REGEX_ITEM_DURATION) if duration then softTime = getsecs(duration) end end end end if $feet.id ~= 3549 then softTime = false end if softTime then softTime = softTime - 1 end HUDinit start local fontsize = 7 local fontspacing = fontsize + 6 setfontstyle("Tahoma", fontsize, 99, 0xE4B31B, 1) setmaskcolorxp(0) setposition($clientwin.left + 7, $worldwin.top + 5) init end softDuration = time(softTime) or 0 drawtext("Soft Duration: "..softDuration or 0, 2, 2 + fontspacing) Créditos: tibiawindbot
-
Engine States
init start -- local SCRIPT_VERSION = '1.0.0' local header, closeButton, closed, moving local cursorPosition = {} local engines = {'Cavebot', 'Looting', 'Targeting', 'Spell Healer', 'Potion Healer', 'Condition Healer', 'Mana Trainer'} filterinput(false, true, false, false) function inputevents(e) if e.type == IEVENT_LMOUSEUP then if e.elementid == closeButton then closed = true return end for _, v in ipairs(engines) do if e.elementid == v.shape then toggle(v.name:gsub(' ', '') .. '/Enabled') return end end elseif e.elementid == header then if e.type == IEVENT_MMOUSEDOWN then moving = true cursorPosition.x = $cursor.x cursorPosition.y = $cursor.y return elseif e.type == IEVENT_MMOUSEUP then moving = false return end end end -- Taken from Sirmate's MMH local blueGradient = {0.0, color(36, 68, 105, 20), 0.23, color(39, 73, 114, 20), 0.76, color(21, 39, 60, 20)} local blackGradient = {0.0, color(75, 75, 75, 20), 0.23, color(45, 45, 45, 20), 0.76, color(19, 19, 19, 20)} local redGradient = {0.0, color(136, 35, 12, 20), 0.23, color(139, 37, 13, 20), 0.76, color(92, 6, 6, 20)} local greenGradient = {0.0, color(65, 96, 12, 20), 0.23, color(67, 99, 13, 20), 0.76, color(36, 52, 6, 20)} for k, v in ipairs(engines) do engines[k] = { name = v, shape = nil } end setposition($clientwin.right - 424, $worldwin.top + 300) setfontstyle('Tahoma', 8, 75, 0xFFFFFF, 1, 0x000000) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) setbordercolor(color(0, 0, 0, 50)) setantialiasing(true) init end auto(100) if moving then auto(10) local curPosition = getposition() setposition( curPosition.x + ($cursor.x - cursorPosition.x), curPosition.y + ($cursor.y - cursorPosition.y) ) cursorPosition.x = $cursor.x cursorPosition.y = $cursor.y end if closed then return end addgradcolors(table.unpack(blueGradient)) header = addshape('roundrect', 0, 0, 150, 20, 3, 3) addtext('ENGINE STATES', 24, 3) addgradcolors(table.unpack(blackGradient)) closeButton = addshape('roundrect', 130, 0, 20, 20, 3, 3) addtext('X', 137, 3) local isEnabled for k, v in ipairs(engines) do addgradcolors(table.unpack(blackGradient)) addshape('roundrect', 0, k * 23, 150, 20, 3, 3) addtext(v.name, 6, k * 23 + 3) isEnabled = get(v.name:gsub(' ', '') .. '/Enabled') == 'yes' addgradcolors(table.unpack(tern(isEnabled, greenGradient, redGradient))) engines[k].shape = addshape('roundrect', 120, k * 23, 30, 20, 3, 3) addtext(tern(isEnabled, 'ON', 'OFF'), 126 + tern(isEnabled, 2, 0), k * 23 + 3) end Créditos: tibiawindbot
-
Hultins HudSimple Life/Mana Percent Show
setfontstyle('Tahoma', 7, 75, 0xFFFFFF, 1, color(0, 0, 0, 20)) setposition($clientwin.right - 130 , $worldwin.top) if $hppc < 100 then drawtext($hppc..'%', 17, 119) else drawtext($hppc..'%', 15, 119) end if $mppc < 100 then drawtext($mppc..'%', 17, 134) else drawtext($mppc..'%', 15, 133) end Créditos: tibiawindbot
-
Hultins Hud
init start -- Hultin's Hud v2.0.0 -- Last update: 8th April 2014 -- Script author - This is where you put your name. -- The rest of the script info is entered into Cavebot->Edit useroptions. local ScriptAuthor = "Hultin" -- Set to true if you are developing a script. Remember to set to false when you release/sell it. local Development = false -- Configuration for width/height local FieldConfig = { Height = 22, -- Optimized for 22px. Sizes lower than 20 looks weird and narrow, keep that in mind if you set the height lower. Width = 260, -- Total width of the HUD. Value/Field widths are automatically calculated. } -- You can add more color points to create a gradient. The current implementation is just a flat gradient. -- First value is graident point, color(r, g, b, a) -- Alpha is 0-100, 0 is non-transparent 100 is fully see through (no color!) local Colors = { HeaderColor = {1, color(41, 79, 109, 10)}, HeaderInnerBorder = color(58, 106, 140, 10), FieldColor = {1, color(40, 40, 40, 10)}, FieldInnerBorder = color(74, 74, 74, 10), ValueNeutral = {1, color(158, 104, 0, 10)}, NeutralInnerBorder = color(166, 124, 44, 10), ValuePositive = {1, color(67, 99, 13, 10)}, PositiveInnerBorder = color(94, 119, 53, 10), ValueNegative = {1, color(139, 37, 13, 10)}, NegativeInnerBorder = color(150, 72, 54, 10), Transparent = {1, color(0, 0, 0, 100)}, NoInnerBorder = color(0, 0, 0, 100) } -- This value configures the width of the valuefield. FieldConfig.ValueWidth = FieldConfig.Width/2.2 -- This variables controlls the "Toggle all on/off" button & it's text local AllOn = true -- Enginestates are treated and created diffrently than other elements are. local Engines = { {Name = 'Cavebot', Element = 0}, {Name = 'Looting', Element = 0}, {Name = 'Targeting', Element = 0}, {Name = 'Spell Healer', Element = 0}, {Name = 'Potion Healer', Element = 0}, {Name = 'Condition Healer', Element = 0} } -- Toggles all state on/off. function togglestates(state) for _, e in ipairs(Engines) do setsetting(e.Name:gsub(' ', '') .. '/Enabled', state) end end -- Input events. -- Keys, Mouseclicks, Mousemoves, Stealfocus filterinput(false, true, false, false) -- Allows interaction with hud, aswell as adds the ability to move the HUD. function inputevents(e) if e.type == IEVENT_LMOUSEUP then for _, v in ipairs(Engines) do print(v) print(e.elementid) if e.elementid == v.Element then toggle(v.Name:gsub(' ', '') .. '/Enabled') return end end if(e.elementid == Toggleall) then if(AllOn) then togglestates("no") AllOn = false else togglestates("yes") AllOn = true end end end end local Elements = {} init end --[[ Functions ]]-- -- Returns a formated textstring for your vip and such. function viptext() local total = 0 local online = 0 foreach vipentry v do total = total +1 if(v.isonline) then online = online + 1 end end return total..' ('..online..')' end -- Works like PHPs ucfirst() -- http://www.php.net/manual/en/function.ucfirst.php function firstToUpper(str) return (str:gsub("^%l", string.upper)) end -- Credit to SIRMATE function WeaponSkill() local SkillTypes = { ['axe'] = {type = 'axe', skill = $axe, skillpc = $axepc}, ['club'] = {type = 'club', skill = $club, skillpc = $clubpc}, ['sword'] = {type = 'sword', skill = $sword, skillpc = $swordpc}, ['bow'] = {type = 'distance', skill = $distance, skillpc = $distancepc}, ['distance weapon'] = {type = 'distance', skill = $distance, skillpc = $distancepc}, ['no weapon'] = {type = 'fist', skill = $fist, skillpc = $fistpc}, ['rod'] = {type = 'magic', skill = $mlevel, skillpc = $mlevelpc}, ['wand'] = {type = 'magic', skill = $mlevel, skillpc = $mlevelpc}, } return SkillTypes[findweapontype()] end -- String used for Weaponskill/Magiclevel section of the HUD. local TypeSkill = WeaponSkill() or {type = 'magic', skill = $mlevel, skillpc = $mlevelpc} -- Default values to not leave any field/values blank. local ScriptName = getuseroption('scriptname') local ScriptVersion = getuseroption('scriptversion') if(string.len(ScriptName) == 0) then ScriptName = 'Script name' end if(string.len(ScriptVersion) == 0) then ScriptVersion = "1.0.0" end -- Sections, you can add/remove elements as you please. local Sections = { { Name = ScriptName, Display = true, Items = { {"Created by", ScriptAuthor}, {"Version", ScriptVersion} } }, { Name = "Engine states", Display = true, Items = { -- This category is special, uses Engines table for Items. } }, { Name = "Character stats", Display = true, Items = { {"Experience", num($exp)..' exp'}, {"Experience/hour", num($exphour)}, {"Experience left", num(exptolevel())..' exp'}, {"Experience gained", num($expgained)..' exp'}, {"Time online", time(math.floor($timems / 1000))}, {"Time to level", time(timetolevel())}, {"Ping", $ping .. ' (avg: ' .. $pingaverage .. ')'}, } }, { Name = "Botting stats", Display = true, Items = { {"Level", $level .. ' (' .. 100 - math.floor(($exp - expatlvl($level)) * 100 / (expatlvl($level + 1) - expatlvl($level))) .. '%)'}, {firstToUpper(TypeSkill.type)..' level', TypeSkill.skill .. ' (' .. 100 - TypeSkill.skillpc .. '%)'}, {"Balance", num($balance)}, {"Stamina", time($stamina)}, {"Softboots duration", 0}, {"Vip (Online)", viptext()} } }, { Name = "Development toolkit", Display = Development, Items = { {"Position", $posx..'/'..$posy..'/'..$posz}, {"Mouseover item", $cursorinfo.id}, {"Mouse position", $cursorinfo.x..'/'..$cursorinfo.y..'/'..$cursorinfo.z} } } } --[[ Functions ]]-- function y(v) return v + (FieldConfig.Height + 5) end -- Weapon skills function WeaponSkill() local SkillTypes = { ['axe'] = {type = 'axe', skill = $axe, skillpc = $axepc}, ['club'] = {type = 'club', skill = $club, skillpc = $clubpc}, ['sword'] = {type = 'sword', skill = $sword, skillpc = $swordpc}, ['bow'] = {type = 'distance', skill = $distance, skillpc = $distancepc}, ['distance weapon'] = {type = 'distance', skill = $distance, skillpc = $distancepc}, ['no weapon'] = {type = 'fist', skill = $fist, skillpc = $fistpc}, ['rod'] = {type = 'magic', skill = $mlevel, skillpc = $mlevelpc}, ['wand'] = {type = 'magic', skill = $mlevel, skillpc = $mlevelpc}, } return SkillTypes[findweapontype()] end -- Creates a header function DrawHeader(posx, posy) addgradcolors(table.unpack(Colors.Transparent)) setbordercolor(color(0, 0, 0, 10)) drawrect(posx, posy, FieldConfig.Width+2, FieldConfig.Height+2) addgradcolors(table.unpack(Colors.HeaderColor)) setbordercolor(Colors.HeaderInnerBorder) drawrect(posx+1, posy+1, FieldConfig.Width, FieldConfig.Height) end -- Creates a field function DrawField(posx, posy) posx = posx addgradcolors(table.unpack(Colors.Transparent)) setbordercolor(color(0, 0, 0, 10)) drawrect(posx, posy, (FieldConfig.Width-FieldConfig.ValueWidth)-1, FieldConfig.Height+2) addgradcolors(table.unpack(Colors.FieldColor)) setbordercolor(Colors.FieldInnerBorder) drawrect(posx+1, posy+1, FieldConfig.Width-FieldConfig.ValueWidth-3, FieldConfig.Height) end -- Creates a value function DrawValue(posx, posy, valueType) if(valueType == "positive") then Border = Colors.PositiveInnerBorder Background = Colors.ValuePositive elseif(valueType == "negative") then Border = Colors.NegativeInnerBorder Background = Colors.ValueNegative else Border = Colors.NeutralInnerBorder Background = Colors.ValueNeutral end addgradcolors(table.unpack(Colors.Transparent)) -- This will not show, anyways. setbordercolor(color(0, 0, 0, 10)) drawrect(FieldConfig.Width-FieldConfig.ValueWidth+posx, posy, FieldConfig.ValueWidth+2, FieldConfig.Height+2) addgradcolors(table.unpack(Background)) setbordercolor(Border) return drawrect((FieldConfig.Width-FieldConfig.ValueWidth)+1+posx, posy+1, FieldConfig.ValueWidth, FieldConfig.Height) end -- Draws special buttons - used for toggle all & show/hide function DrawButton(posx, posy, valueType, Width) local Width = Width or FieldConfig.ValueWidth if(valueType == "positive") then Border = Colors.PositiveInnerBorder Background = Colors.ValuePositive elseif(valueType == "negative") then Border = Colors.NegativeInnerBorder Background = Colors.ValueNegative else Border = Colors.NeutralInnerBorder Background = Colors.ValueNeutral end addgradcolors(table.unpack(Colors.Transparent)) -- This will not show, anyways. setbordercolor(color(0, 0, 0, 10)) drawrect(FieldConfig.Width-FieldConfig.ValueWidth+posx, posy, Width, FieldConfig.Height+2) addgradcolors(table.unpack(Background)) setbordercolor(Border) return drawrect((FieldConfig.Width-FieldConfig.ValueWidth)+1+posx, posy+1, Width, FieldConfig.Height) end -- Draws text function DrawText(text, x, y, fieldtype) -- Field type is shorthand functionality to place it over the VALUE elements. if(fieldtype == "value") then x = ((FieldConfig.Width-FieldConfig.ValueWidth)+x) end addtext(text, x+6, y+6) end -- Hud definitions setposition($clientwin.left + 5, $worldwin.top+2) setfontstyle('Tahoma', 8, 75, 0xcfebfd, 1, 0x000000) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) setantialiasing(true) -- local yPos = 0 local isEnabled = nil -- Loop fields/values for _, s in ipairs(Sections) do if(s.Display) then DrawHeader(0, yPos) DrawText(s.Name, 0, yPos) if(s.Name == 'Engine states') then -- Toggle all local ToggleallState = tern(AllOn, "negative", "positive") local ToggleallText = tern(AllOn, "TOGGLE ALL OFF", "TOGGLE ALL ON") Toggleall = DrawButton(0, yPos, ToggleallState) DrawText(ToggleallText, 0+10, yPos, "value") --yPos = y(yPos) for i, engine in ipairs(Engines) do yPos = y(yPos) local F, V = engine.Name isEnabled = get(F:gsub(' ', '') .. '/Enabled') == 'yes' fieldColor = tern(isEnabled, "positive", "negative") Value = tern(isEnabled, "ON", "OFF") xOffset = tern(isEnabled, (FieldConfig.ValueWidth/2)-12, (FieldConfig.ValueWidth/2)-14) DrawField(0, yPos) Engines[i].Element = DrawValue(0, yPos, fieldColor) DrawText(F, 0 ,yPos) DrawText(Value, 0+xOffset, yPos, "value") end else for k, v in ipairs(s.Items) do local Field, Value = v[1], v[2] local fieldColor = nil local xOffset = 0 yPos = y(yPos) -- Increment yPos if(Field == "Stamina") then if($stamina > 40*60) then fieldColor = "positive" end DrawValue(0, yPos, fieldColor) else DrawValue(0, yPos) end DrawField(0, yPos) DrawText(Field, 0 ,yPos) DrawText(Value, 0+xOffset, yPos, "value") end end yPos = y(yPos) end end -- Footer should NEVER be edited or changed. It's theft if you do so without permission! DrawHeader(0, yPos) DrawText("Hultin's HUD", 0, yPos) DrawText("v2.0.0", FieldConfig.Width-45, yPos) -- Thank you for using Hultin's Hud V2. Créditos: tibiawindbot
-
Show Special Areas - Mostrar áreas especiais
init start -- local SCRIPT_VERSION = '1.2.1' local function deleteSpecialAreaCall(menu) removespecialarea(menu.specialAreaName) end local function moveSpecialAreaName() if resizedSP == nil then return tern(draggedSP == nil, 'Move Special Area', 'Stop Moving') end end local function moveSpecialAreaCall(menu) if draggedSP == nil then draggedSP = menu.specialArea else draggedSP = nil end end local function resizeSpecialAreaName() if draggedSP == nil then return tern(resizedSP == nil, 'Resize Special Area', 'Stop Resizing') end end local function resizeSpecialAreaCall(menu) if resizedSP == nil then resizedSP = menu.specialArea else resizedSP = nil end end registermessagehandler('contextMenu_specialArea', moveSpecialAreaName, moveSpecialAreaCall) registermessagehandler('contextMenu_specialArea', resizeSpecialAreaName, resizeSpecialAreaCall) registermessagehandler('contextMenu_specialArea', 'Delete Special Area', deleteSpecialAreaCall) registermessagehandler('contextMenu_specialArea', MENU_SEPARATOR, nil) local worldWidth, worldHeight, x, y, z, width, height, avoidance, name, policy, areaType local specialAreaRect = {} local innerRect = {} local function gettilepos(x, y, z) local tile = getobjectarea(x, y, z) if tile == nil then local xDiff, yDiff = x - $posx, y - $posy if math.abs($posx - x) <= 7 then tile = getobjectarea(x, $posy, $posz) xDiff = 0 elseif math.abs($posy - y) <= 5 then tile = getobjectarea($posx, y, $posz) yDiff = 0 else tile = getobjectarea($posx, $posy, $posz) end -- Some strange stuff happens when you go from 0 to -1, so I'm -- adding this as a precaution. if tile ~= nil then local width, height = $worldwin.width, $worldwin.height tile.left = tile.left + (width * xDiff) tile.right = tile.right + (width * xDiff) tile.centerx = tile.centerx + (width * xDiff) tile.top = tile.top + (height * yDiff) tile.bottom = tile.bottom + (height * yDiff) tile.centery = tile.centery + (height * yDiff) end end return tile end local function getAreaRect(x, y, w, h) local ret = {x = 0, y = 0, w = 0, h = 0} local topLeftTilePos = gettilepos(x, y, $posz) local botRightTilePos = gettilepos(x + w - 1, y + h - 1, $posz) if topLeftTilePos and botRightTilePos then ret.x = math.max(topLeftTilePos.left, 0) ret.y = math.max(topLeftTilePos.top, 0) ret.w = math.min(botRightTilePos.right, worldWidth) - ret.x ret.h = math.min(botRightTilePos.bottom, worldHeight) - ret.y end return ret end local function drawInnerRect(areaType, x, y, width, height) innerRect = {w = 0, h = 0} if areaType == 'Square (Border Only)' then innerRect = getAreaRect(x + 1, y + 1, width - 2, height - 2) elseif areaType == 'Square (Double Border)' then innerRect = getAreaRect(x + 2, y + 2, width - 4, height - 4) end if innerRect.w > 0 and innerRect.h > 0 then setfillstyle('color', 0xFF000000) drawroundrect(innerRect.x, innerRect.y, innerRect.w, innerRect.h, 10, 10) end end useworldhud() init end setfontstyle('Arial', 8, 75, 0xFFFFFF, 1, 0x000000) worldWidth, worldHeight = $worldwin.width - 2, $worldwin.height - 2 foreach settingsentry e 'Cavebot/SpecialAreas' do x, y, z = getsetting(e, 'Coordinates'):match('.-(%d+).-(%d+).-(%d+)') x, y, z = tonumber(x), tonumber(y), tonumber(z) if z == $posz then width, height = getsetting(e, 'Size'):match('(%d+).-(%d+)') width, height = tonumber(width), tonumber(height) specialAreaRect = getAreaRect(x, y, width, height) if specialAreaRect.w > 0 and specialAreaRect.h > 0 then avoidance = tonumber(getsetting(e, 'Avoidance')) areaType = getsetting(e, 'Type') name = getsetting(e, 'Name') policy = getsetting(e, 'Policy'):gsub('[^A-Z]', '') setfillstyle('color', color(255, 0, 0, math.round(100 - (avoidance / 4)))) drawroundrect(specialAreaRect.x, specialAreaRect.y, specialAreaRect.w, specialAreaRect.h, 10, 10) drawInnerRect(areaType, x, y, width, height) if specialAreaRect.w > 10 then drawtext( string.fit(name, specialAreaRect.w - 10, '...', true), specialAreaRect.x + 5, specialAreaRect.y + 3 ) drawtext( string.fit(policy, specialAreaRect.w - 10, '...', true), specialAreaRect.x + 5, specialAreaRect.y + 15 ) end end end end if contextmenuinfo() == nil then if draggedSP then set(draggedSP, 'Coordinates', string.format('x:%i, y:%i, z:%i', $cursorinfo.x, $cursorinfo.y, $cursorinfo.z)) elseif resizedSP then local x, y = get(resizedSP, 'Coordinates'):match(REGEX_COORDS) x, y = tonumber(x), tonumber(y) set(resizedSP, 'Size', string.format('%i x %i', math.max(1, 1 + ($cursorinfo.x - x)) , math.max(1, 1 + ($cursorinfo.y - y)))) end end Créditos: tibiawindbot
-
Flash Client HP/Mana Bar
--resize as you wish local size = 300 -- don't change nothing below this if u don't know what u're doing locationx = ($screenwin.width - 180) / 2 - size / 2 locationy = ($screenwin.height / 2) - (size/2) - 100 locationx2 = locationx + size - ((size + (size * 0.85)) / 2) locationy2 = locationy + size - ((size + (size * 0.85)) / 2) auto(100) hp = 90 / (100 / $hppc)* - 1 mp = 90 / (100 / $mppc) --both border setbordercolor(1) setfillstyle('color', -1) drawpie(locationx, locationy, size, size, 45, -90) drawpie(locationx, locationy, size, size, 135, 90) --manabar setfillstyle('color', 0x000099, 0) drawpie(locationx, locationy, size, size, -45, mp) --hpbar setfillstyle('color', 0x499900, 0) drawpie(locationx, locationy, size, size, 225, hp) --transparency setbordercolor(-1) setfillstyle('color', -1) drawcircle(locationx2, locationy2, size * 0.85, size * 0.85) setfillstyle('color', 0) setbordercolor(1) drawarc(locationx2, locationy2, (size * 0.85) - 1, size * 0.85, 135, 90) drawarc(locationx2, locationy2, size * 0.85, size * 0.85, 45, - 90) --drawtext(locationx, 423, resh / 2 - 60) Créditos: tibiawindbot
-
Mana Bar
init start local blueGradient = {0.0, color(0, 0, 205)} local blackGradient = {0.0, color(28, 28, 28)} init end setposition($clientwin.left + 2, $worldwin.top - 28) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 14) -- mp bar addgradcolors(table.unpack(blackGradient)) back = drawshape('rect', ($screenwin.width / 6.07) + 362, ($screenwin.height / 8.1) + 193.2, 100 * 0.25, 2) addgradcolors(table.unpack(blueGradient)) header = drawshape('rect', ($screenwin.width / 6.07) + 362, ($screenwin.height / 8.1) + 193.2, $mppc * 0.25, 2) Créditos: tibiawindbot
-
Monitorando minha hunting
init start -- -- 88 -- "" ,d -- 88 -- ,adPPYba, 88 8b,dPPYba, 88,dPYba,,adPYba, ,adPPYYba, MM88MMM ,adPPYba, -- I8[ "" 88 88P' "Y8 88P' "88" "8a "" `Y8 88 a8P_____88 -- `"Y8ba, 88 88 88 88 88 ,adPPPPP88 88 8PP""""""" -- aa ]8I 88 88 88 88 88 88, ,88 88, "8b, ,aa -- Author: `"YbbdP"' 88 88 88 88 88 `"8bbdP"Y8 "Y888 `"Ybbd8"' -- -- Monitor My Hunting! -- -- Version: 1.0 -- Created: 29.12.2013 -- Last update: 29.12.2013 -- local MMH = { SHOW_ALL_ITEMS = false, SHOW_ALL_SUPPLIES = false, } -- [[ Do not change anything below this line. ]] -- -- [[ COLORS ]] -- MMH.COLORS = {} MMH.COLORS.FONT_COLOR = color(255, 255, 255, 0) MMH.COLORS.SECTION_HEADER_BACKGROUND = {0.0, color(36, 68, 105, 20), 0.23, color(39, 73, 114, 20), 0.76, color(21, 39, 60, 20)} MMH.COLORS.ENTRY_NAME_BACKGROUND = {0.0, color(75, 75, 75, 20), 0.23, color(45, 45, 45, 20), 0.76, color(19, 19, 19, 20)} MMH.COLORS.ENTRY_VALUE_BACKGROUND = {0.0, color(145, 95, 0, 20), 0.23, color(158, 104, 0, 20), 0.76, color(84, 55, 0, 20)} MMH.COLORS.RESULT_POSITIVE_BACKGROUND = {0.0, color(65, 96, 12, 20), 0.23, color(67, 99, 13, 20), 0.76, color(36, 52, 6, 20)} MMH.COLORS.RESULT_NEGATIVE_BACKGROUND = {0.0, color(90, 12, 15, 20), 0.23, color(98, 13, 17, 20), 0.76, color(52, 6, 9, 20)} MMH.COLORS.RESET_BUTTON_BACKGROUND = MMH.COLORS.RESULT_POSITIVE_BACKGROUND -- [[ ELEMENTS ]] -- MMH.ELEMENTS = {} MMH.ELEMENTS.RESET_BUTTON = -1 MMH.ELEMENTS.SWITCH_ITEMS_LOOTED = -1 MMH.ELEMENTS.SWITCH_SUPPLIES_USED = -1 -- [[ SECTION STATES ]] -- MMH.SECTIONS = {} MMH.SECTIONS.ITEMS_LOOTED = true MMH.SECTIONS.SUPPLIES_USED = true -- [[ OTHERS ]] -- filterinput(false, true, false, false) local MOVING, TEMP, MOVED = false, {0, 0}, {0, 0} function inputevents(e) if (e.type == IEVENT_LMOUSEDOWN) then if (e.elementid == MMH.ELEMENTS.RESET_BUTTON) then resetcharactertime() resetlootcounter() resetexpcounter() elseif (e.elementid == MMH.ELEMENTS.SWITCH_ITEMS_LOOTED) then MMH.SECTIONS.ITEMS_LOOTED = not MMH.SECTIONS.ITEMS_LOOTED elseif (e.elementid == MMH.ELEMENTS.SWITCH_SUPPLIES_USED) then MMH.SECTIONS.SUPPLIES_USED = not MMH.SECTIONS.SUPPLIES_USED end end if (e.type == IEVENT_MMOUSEDOWN) then MOVING, TEMP = true, {$cursor.x - MOVED[1], $cursor.y - MOVED[2]} end if (e.type == IEVENT_MMOUSEUP) then MOVING = false end end init end if (MOVING) then auto(10) MOVED = {$cursor.x - TEMP[1], $cursor.y - TEMP[2]} end setposition($clientwin.right - 424 + MOVED[1], $worldwin.top + MOVED[2]) setfontstyle('Tahoma', 8, 75, MMH.COLORS.FONT_COLOR, 1, color(0, 0, 0, 20)) local ROW_QUANTITY, STRING_WIDTH, STRING_HEIGHT = 0, measurestring('TEMP') local ITEMS_LOOTED_WORTH, ITEM_LOOTED_QUANTITY, ITEM_LOOTED_WORTH = 0, 0, 0 local SUPPLIES_USED_WORTH, SUPPLY_USED_QUANTITY, SUPPLY_USED_WORTH = 0, 0, 0 setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) addgradcolors(unpack(MMH.COLORS.ENTRY_NAME_BACKGROUND)) drawroundrect(0, 0, 240, 20, 2, 2) drawtext('Monitor My Hunting v1.0', 6, 20 / 2 - STRING_HEIGHT * 0.5) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) addgradcolors(unpack(MMH.COLORS.RESET_BUTTON_BACKGROUND)) MMH.ELEMENTS.RESET_BUTTON = drawroundrect(196, 0, 44, 20, 2, 2) drawtext('RESET', 202, 20 / 2 - STRING_HEIGHT * 0.5) setfontsize(7) STRING_WIDTH, STRING_HEIGHT = measurestring('TEMP') setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_NAME_BACKGROUND)) drawroundrect(0, 23, 240, 15, 2, 2) drawtext('Looting Accuracy', 6, 23 + 15 / 2 - STRING_HEIGHT * 0.5 + 1) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_VALUE_BACKGROUND)) drawroundrect(130, 23, 110, 15, 2, 2) drawtext(string.format('%.2f', $lootaccuracy) .. '%', 136, 23 + 15 / 2 - STRING_HEIGHT * 0.5 + 1) setfontsize(8) STRING_WIDTH, STRING_HEIGHT = measurestring('TEMP') setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) addgradcolors(unpack(MMH.COLORS.SECTION_HEADER_BACKGROUND)) drawroundrect(0, 41, 240, 20, 2, 2) drawtext('ITEMS LOOTED', 6, 41 + 20 / 2 - STRING_HEIGHT * 0.5) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) if (MMH.SECTIONS.ITEMS_LOOTED) then addgradcolors(unpack(MMH.COLORS.RESULT_POSITIVE_BACKGROUND)) else addgradcolors(unpack(MMH.COLORS.RESULT_NEGATIVE_BACKGROUND)) end MMH.ELEMENTS.SWITCH_ITEMS_LOOTED = drawroundrect(220, 41, 20, 20, 2, 2) drawtext('X', 228, 41 + 20 / 2 - STRING_HEIGHT * 0.5) setfontsize(7) STRING_WIDTH, STRING_HEIGHT = measurestring('TEMP') foreach lootingitem ItemEntry do if (MMH.SHOW_ALL_ITEMS or ItemEntry.amountlooted > 0) then ITEM_LOOTED_QUANTITY = ItemEntry.amountlooted ITEM_LOOTED_WORTH = ItemEntry.sellprice * ITEM_LOOTED_QUANTITY if (MMH.SECTIONS.ITEMS_LOOTED) then setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_NAME_BACKGROUND)) drawroundrect(0, 64 + ROW_QUANTITY * 18, 240, 15, 2, 2) setcompositionmode(CompositionMode_SourceOver) drawitem(ItemEntry.id, 6, 64 + ROW_QUANTITY * 18, 50, 100) setcompositionmode(CompositionMode_Automatic) drawtext(((#ItemEntry.name > 16 and string.match(string.sub(ItemEntry.name, 1, 16), '(.-)%s?$') .. '...') or ItemEntry.name):capitalizeall(), 28, 64 + ROW_QUANTITY * 18 + 15 / 2 - STRING_HEIGHT * 0.5) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_VALUE_BACKGROUND)) drawroundrect(130, 64 + ROW_QUANTITY * 18, 110, 15, 2, 2) drawtext(num(ITEM_LOOTED_QUANTITY) .. ' (' .. math.floor(ITEM_LOOTED_WORTH / 100) / 10 .. 'K)', 136, 64 + ROW_QUANTITY * 18 + 15 / 2 - STRING_HEIGHT * 0.5) ROW_QUANTITY = ROW_QUANTITY + 1 end ITEMS_LOOTED_WORTH = ITEMS_LOOTED_WORTH + ITEM_LOOTED_WORTH end end setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_NAME_BACKGROUND)) drawroundrect(0, 64 + ROW_QUANTITY * 18, 240, 15, 2, 2) drawtext('Total: ' .. num(ITEMS_LOOTED_WORTH) .. ' GPs', 6, 64 + ROW_QUANTITY * 18 + 15 / 2 - STRING_HEIGHT * 0.5) ROW_QUANTITY = ROW_QUANTITY + 1 setfontsize(8) STRING_WIDTH, STRING_HEIGHT = measurestring('TEMP') setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) addgradcolors(unpack(MMH.COLORS.SECTION_HEADER_BACKGROUND)) drawroundrect(0, 64 + ROW_QUANTITY * 18, 240, 20, 2, 2) drawtext('SUPPLIES USED', 6, 64 + ROW_QUANTITY * 18 + 20 / 2 - STRING_HEIGHT * 0.5) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) if (MMH.SECTIONS.SUPPLIES_USED) then addgradcolors(unpack(MMH.COLORS.RESULT_POSITIVE_BACKGROUND)) else addgradcolors(unpack(MMH.COLORS.RESULT_NEGATIVE_BACKGROUND)) end MMH.ELEMENTS.SWITCH_SUPPLIES_USED = drawroundrect(220, 64 + ROW_QUANTITY * 18, 20, 20, 2, 2) drawtext('X', 228, 64 + ROW_QUANTITY * 18 + 20 / 2 - STRING_HEIGHT * 0.5) setfontsize(7) STRING_WIDTH, STRING_HEIGHT = measurestring('TEMP') foreach supplyitem ItemEntry do if (MMH.SHOW_ALL_SUPPLIES or ItemEntry.amountused > 0) then SUPPLY_USED_QUANTITY = ItemEntry.amountused SUPPLY_USED_WORTH = ItemEntry.buyprice * SUPPLY_USED_QUANTITY if (MMH.SECTIONS.SUPPLIES_USED) then setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_NAME_BACKGROUND)) drawroundrect(0, 87 + ROW_QUANTITY * 18, 240, 15, 2, 2) setcompositionmode(CompositionMode_SourceOver) drawitem(ItemEntry.id, 6, 87 + ROW_QUANTITY * 18, 50, 100) setcompositionmode(CompositionMode_Automatic) drawtext(((#ItemEntry.name > 16 and string.match(string.sub(ItemEntry.name, 1, 16), '(.-)%s?$') .. '...') or ItemEntry.name):capitalizeall(), 28, 87 + ROW_QUANTITY * 18 + 15 / 2 - STRING_HEIGHT * 0.5) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_VALUE_BACKGROUND)) drawroundrect(130, 87 + ROW_QUANTITY * 18, 110, 15, 2, 2) drawtext(num(SUPPLY_USED_QUANTITY) .. ' (' .. math.floor(SUPPLY_USED_WORTH / 100) / 10 .. 'K)', 136, 87 + ROW_QUANTITY * 18 + 15 / 2 - STRING_HEIGHT * 0.5) ROW_QUANTITY = ROW_QUANTITY + 1 end SUPPLIES_USED_WORTH = SUPPLIES_USED_WORTH + SUPPLY_USED_WORTH end end if (MMH.SECTIONS.SUPPLIES_USED) then setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_NAME_BACKGROUND)) drawroundrect(0, 87 + ROW_QUANTITY * 18, 240, 15, 2, 2) setcompositionmode(CompositionMode_SourceOver) drawitem(3031, 6, 87 + ROW_QUANTITY * 18, 50, 100) setcompositionmode(CompositionMode_Automatic) drawtext('Money Spent', 28, 87 + ROW_QUANTITY * 18 + 15 / 2 - STRING_HEIGHT * 0.5) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_VALUE_BACKGROUND)) drawroundrect(130, 87 + ROW_QUANTITY * 18, 110, 15, 2, 2) drawtext(num($moneyspent) .. ' (' .. math.floor($moneyspent / 100) / 10 .. 'K)', 136, 87 + ROW_QUANTITY * 18 + 15 / 2 - STRING_HEIGHT * 0.5) ROW_QUANTITY = ROW_QUANTITY + 1 end SUPPLIES_USED_WORTH = SUPPLIES_USED_WORTH + $moneyspent setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMH.COLORS.ENTRY_NAME_BACKGROUND)) drawroundrect(0, 87 + ROW_QUANTITY * 18, 240, 15, 2, 2) drawtext('Total: ' .. num(SUPPLIES_USED_WORTH) .. ' GPs', 6, 87 + ROW_QUANTITY * 18 + 15 / 2 - STRING_HEIGHT * 0.5) ROW_QUANTITY = ROW_QUANTITY + 1 setfontsize(8) STRING_WIDTH, STRING_HEIGHT = measurestring('TEMP') setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) if (ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH) then addgradcolors(unpack(MMH.COLORS.RESULT_POSITIVE_BACKGROUND)) else addgradcolors(unpack(MMH.COLORS.RESULT_NEGATIVE_BACKGROUND)) end drawroundrect(0, 87 + ROW_QUANTITY * 18, 240, 20, 2, 2) drawtext(((ITEMS_LOOTED_WORTH >= SUPPLIES_USED_WORTH and ('PROFIT: ')) or ('WASTE: ')) .. num(ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH) .. ' GPs (' .. math.abs(math.floor(((ITEMS_LOOTED_WORTH - SUPPLIES_USED_WORTH) * 3600) / ($charactertime / 1000) / 100) / 10) .. ' k/h)', 6, 87 + ROW_QUANTITY * 18 + 20 / 2 - STRING_HEIGHT * 0.5) Créditos: tibiawindbot
-
Monitorando meus Cooldowns
init start -- ██████╗ ██╗██╗ ██╗██╗ ██╗███████╗ ██████╗██████╗ ██╗██████╗ ████████╗███████╗ -- ██╔══██╗██║██║ ██╔╝██║ ██║██╔════╝██╔════╝██╔══██╗██║██╔══██╗╚══██╔══╝██╔════╝ -- ██████╔╝██║█████╔╝ ██║ ██║███████╗██║ ██████╔╝██║██████╔╝ ██║ ███████╗ -- ██╔══██╗██║██╔═██╗ ██║ ██║╚════██║██║ ██╔══██╗██║██╔═══╝ ██║ ╚════██║ -- ██║ ██║██║██║ ██╗╚██████╔╝███████║╚██████╗██║ ██║██║██║ ██║ ███████║ -- ╚═╝ ╚═╝╚═╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝ ╚══════╝ -- -- Monitor My Cooldowns v1.0! -- -- Creation date: 14/02/2015 -- Last udpate: 21/02/2015 local MMC = { SHOW_HEALING = true, SHOW_BUFF = true, SHOW_ATTACK = true, } -- [[ DO NOT EDIT ANYTHING BELOW ]] -- -- [[ COLORS ]] -- MMC.COLORS = {} MMC.COLORS.HEADER_FONT_COLOR = color(255, 255, 255, 0) MMC.COLORS.SPELL_TYPE_FONT_COLOR = color(255, 255, 255, 0) MMC.COLORS.SPELL_NAME_FONT_COLOR = color(255, 255, 255, 0) MMC.COLORS.SPELL_TIMER_FONT_COLOR = color(255, 255, 255, 0) MMC.COLORS.SECTION_HEADER_BACKGROUND = {0.0, color(75, 75, 75, 20), 0.23, color(45, 45, 45, 20), 0.76, color(19, 19, 19, 20)} MMC.COLORS.SECTION_TYPE_BACKGROUND = {0.0, color(75, 75, 75, 20), 0.23, color(45, 45, 45, 20), 0.76, color(19, 19, 19, 20)} MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND = {0.0, color(75, 75, 75, 20), 0.23, color(45, 45, 45, 20), 0.76, color(19, 19, 19, 20)} MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND = {0.0, color(0, 0, 203, 20), 0.23, color(0, 0, 214, 20), 0.76, color(0, 0, 143, 20)} MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND = {0.0, color(0, 203, 0, 20), 0.23, color(0, 214, 0, 20), 0.76, color(0, 143, 0, 20)} MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND = {0.0, color(203, 0, 0, 20), 0.23, color(214, 0, 0, 20), 0.76, color(143, 0, 0, 20)} MMC.COLORS.SPELL_TRIAL_COOLDOWN_BACKGROUND = {0.0, color(69, 69, 69, 20), 0.23, color(255, 255, 255, 20), 0.76, color(40, 40, 40, 0)} MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND = {0.0, color(69, 69, 69, 20), 0.23, color(255, 255, 255, 20), 0.76, color(40, 40, 40, 0)} MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND = {0.0, color(69, 69, 69, 20), 0.23, color(255, 255, 255, 20), 0.76, color(40, 40, 40, 0)} MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND = {0.0, color(69, 69, 69, 20), 0.23, color(255, 255, 255, 20), 0.76, color(40, 40, 40, 0)} filterinput(false, true, false, false) local Moving, Temp, Moved = false, {0, 0}, {0, 0} function inputevents(e) if (e.type == IEVENT_MMOUSEDOWN) then Moving, Temp = true, {$cursor.x - Moved[1], $cursor.y - Moved[2]} end if (e.type == IEVENT_MMOUSEUP) then Moving = false end end setmaskcolorxp(0) init end if (Moving) then auto(10) Moved = {$cursor.x - Temp[1], $cursor.y - Temp[2]} end local ROW_QUANTITY, STRING_WIDTH, STRING_HEIGHT = 0, measurestring('TEMP') local NEW_ROW, NEW_ROW_AMOUNT = 5, 18 local SPELL_TIME_BACKGROUND, SPELL_TIME_COOLDOWN, SPELL_TIME_SIZE = 135, 139, 34 local SPELL_NAME_BACKGROUND, SPELL_NAME, SPELL_NAME_COOLDOWN, SPELL_NAME_BAR_SIZE, TRIAL_X = 0, 6, 0, 134, 104.7 setcompositionmode(CompositionMode_HardLight) setposition($clientwin.left+20+Moved[1], $worldwin.top+20+Moved[2]) setfontstyle('Tahoma', 8, 75, MMC.COLORS.HEADER_FONT_COLOR, 1, color(0, 0, 0, 20)) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 21) addgradcolors(unpack(MMC.COLORS.SECTION_HEADER_BACKGROUND)) drawroundrect(0, 0, 169, 20, 2, 2) drawtext("Monitor My Cooldowns v1.0", 6, 20 / 2 - STRING_HEIGHT * 0.5) if (MMC.SHOW_HEALING) then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TYPE_FONT_COLOR, 1, color(0, 0, 0, 20)) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SECTION_TYPE_BACKGROUND)) STRING_WIDTH, STRING_HEIGHT = measurestring('TEMP') drawroundrect(0, NEW_ROW, 105, 15, 2, 2) drawspellicon(1, 6, (NEW_ROW - 2) + 20 / 2 - STRING_HEIGHT * 0.5, 65) drawtext('Healing Spells', 25, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_TRIAL_COOLDOWN_BACKGROUND)) drawroundrect(TRIAL_X, NEW_ROW, math.abs(cooldown("exura") / 16), 15, 2, 2) if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exura ico") / 7.45), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exura Ico', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exura ico") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exura gran ico") / 4462), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exura Gran Ico', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exura gran ico") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") or ($vocshort == "D") or ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exura") / 7.45), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exura', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exura") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") or ($vocshort == "D") or ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exura gran") / 7.45), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exura Gran', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exura gran") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") or ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exura vita") / 7.45), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exura Vita', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exura vita") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("Heal Friend") / 7.45), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exura Sio (Heal Frie..)', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("Heal Friend") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exura gran mas res") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exura Gran Mas Res', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exura gran mas res") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exura san") / 7.45), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exura San', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exura san") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exura gran san") / 7.45), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exura Gran San', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exura gran san") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") or ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utura") / 447), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utura', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("utura") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") or ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_HEAL_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utura gran") / 447), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.HEAL_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utura Gran', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("utura gran") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end end if (MMC.SHOW_BUFF) then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TYPE_FONT_COLOR, 1, color(0, 0, 0, 20)) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SECTION_TYPE_BACKGROUND)) STRING_WIDTH, STRING_HEIGHT = measurestring('TEMP') drawroundrect(0, NEW_ROW, 105, 15, 2, 2) drawspellicon(16, 6, (NEW_ROW - 2) + 20 / 2 - STRING_HEIGHT * 0.5, 65) drawtext('Buff Spells', 25, NEW_ROW + 20 / 2 - STRING_HEIGHT * 0.5) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_TRIAL_COOLDOWN_BACKGROUND)) drawroundrect(TRIAL_X, NEW_ROW, math.abs(cooldown("utani gran hur") / 32), 15, 2, 2) if ($vocshort == "K") or ($vocshort == "D") or ($vocshort == "S") or ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utani hur") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utani Hur', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', $hastetime / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") or ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utani gran hur") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utani Gran Hur', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', $hastetime / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utani tempo hur") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utani Tempo Hur', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', $hastetime / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utamo tempo san") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utamo Tempo San', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', $hastetime / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") or ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utamo vita") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utamo Vita', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', $mshieldtime / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exeta res") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exeta Res', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exeta res") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utamo tempo") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utamo Tempo', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("utamo tempo") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utito tempo") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utito Tempo', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("utito tempo") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_BUFF_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("utito tempo san") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.BUFF_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Utito Tempo San', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("utito tempo san") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end end if (MMC.SHOW_ATTACK) then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TYPE_FONT_COLOR, 1, color(0, 0, 0, 20)) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SECTION_TYPE_BACKGROUND)) STRING_WIDTH, STRING_HEIGHT = measurestring('TEMP') drawroundrect(0, NEW_ROW, 105, 15, 2, 2) drawspellicon(64, 6, (NEW_ROW - 2) + 20 / 2 - STRING_HEIGHT * 0.5, 65) drawtext('Attack Spells', 25, NEW_ROW + 20 / 2 - STRING_HEIGHT * 0.5) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_TRIAL_COOLDOWN_BACKGROUND)) drawroundrect(TRIAL_X, NEW_ROW, math.abs(cooldown("attack") / 32), 15, 2, 2) if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori ico") / 44.7), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Ico', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori ico") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori gran ico") / 223.5), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Gran Ico', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori gran ico") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori hur") / 44.7), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Hur', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori hur") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori") / 29.8), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori gran") / 44.7), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Gran', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori gran") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori min") / 44.7), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Min', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori min") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "K") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori mas") / 59.6), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Mas', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori mas") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori con") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Con', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori con") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori gran con") / 59.6), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Gran Con', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori gran con") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori san") / 14.9), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori San', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori san") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "P") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo mas san") / 29.8), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Mas San', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo mas san") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") or ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori vis") / 29.8), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Strike Spells', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori vis") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") or ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori gran vis") / 59.6), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Strong Strike Spells', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori gran vis") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori amp vis") / 59.6), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Amp Vis', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori amp vis") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori max vis") / 223.5), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Max Vis', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori max vis") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori max flam") / 223.5), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Max Flam', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori max flam") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "NV") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo flam hur") / 29.8), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Flam Hur', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo flam hur") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori max frigo") / 223.5), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Max Frigo', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori max frigo") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exori max tera") / 223.5), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exori Max Tera', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exori max tera") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo vis lux") / 29.8), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Vis Lux', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo vis lux") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo gran vis lux") / 44.7), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Gran Vis Lux', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo gran vis lux") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo vis hur") / 59.6), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Vis Hur', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo vis hur") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo gran mas vis") / 298), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Gran Mas Vis', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo gran mas vis") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "S") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo gran mas flam") / 298), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Gran Mas Flam', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo gran mas flam") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "NV") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo frigo hur") / 29.8), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Frigo Hur', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo frigo hur") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo gran frigo hur") / 59.6), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Gran Frigo Hur', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo gran frigo hur") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo tera hur") / 29.8), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Tera Hur', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo tera hur") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo gran mas tera") / 298), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Gran Mas Tera', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo gran mas tera") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end if ($vocshort == "D") then NEW_ROW = NEW_ROW + NEW_ROW_AMOUNT setfillstyle('gradient', 'linear', 2, 0, 0, 0, 16) addgradcolors(unpack(MMC.COLORS.SPELL_ATTACK_COOLDOWN_BACKGROUND)) drawroundrect(SPELL_NAME_COOLDOWN, NEW_ROW, math.abs(cooldown("exevo gran mas frigo") / 298), 15, 2, 2) addgradcolors(unpack(MMC.COLORS.ATTACK_SPELL_NAME_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_NAME_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_NAME_BACKGROUND, NEW_ROW, SPELL_NAME_BAR_SIZE, 15, 2, 2) drawtext('Exevo Gran Mas Frigo', SPELL_NAME, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) addgradcolors(unpack(MMC.COLORS.SPELL_TIMER_COOLDOWN_BACKGROUND)) setfontstyle('Tahoma', 7, 75, MMC.COLORS.SPELL_TIMER_FONT_COLOR, 1, color(0, 0, 0, 20)) drawroundrect(SPELL_TIME_BACKGROUND, NEW_ROW, SPELL_TIME_SIZE, 15, 2, 2) drawtext(string.format('%.1f', cooldown("exevo gran mas frigo") / 1000), SPELL_TIME_COOLDOWN, NEW_ROW + 15 / 2 - STRING_HEIGHT * 0.5 +2) end end Créditos: tibiawindbot
-
Waypoint Buttons
-- Waypoint Buttons by Forgee -- Inspired by Sirmate init start -- Buttons local Buttons = { {text = "Walk", id = -1, action = function() addwaypoint('walk', $posx, $posy, $posz) end}, {text = "Node", id = -1, action = function() addwaypoint('node', $posx, $posy, $posz) end}, {text = "Stand", id = -1, action = function() addwaypoint('stand', $posx, $posy, $posz) end}, {text = "Shovel", id = -1, action = function() addwaypoint('shovel', $posx, $posy, $posz) end}, {text = "Rope", id = -1, action = function() addwaypoint('rope', $posx, $posy, $posz) end}, {text = "Machete", id = -1, action = function() addwaypoint('machete', $posx, $posy, $posz) end}, {text = "Ladder", id = -1, action = function() addwaypoint('ladder', $posx, $posy, $posz) end}, {text = "Use", id = -1, action = function() addwaypoint('use', $posx, $posy, $posz) end}, {text = "Action", id = -1, action = function() addwaypoint('action', $posx, $posy, $posz) end}, {text = "Lure", id = -1, action = function() addwaypoint('lure', $posx, $posy, $posz) end}, {text = "North", id = -1, action = function() addwaypoint('stand', $posx, $posy-1, $posz) end}, {text = "South", id = -1, action = function() addwaypoint('stand', $posx, $posy+1, $posz) end}, {text = "East", id = -1, action = function() addwaypoint('stand', $posx+1, $posy, $posz) end}, {text = "West", id = -1, action = function() addwaypoint('stand', $posx-1, $posy, $posz) end}, } local lastPressed = {id = -1, time = $timems} local rectHeight, rectWidth = 20 + (#Buttons * 25), 100 setposition($clientwin.left, $clientwin.top) setfontsize(9) filterinput(false, true, false, false) local Moving, Temp, Moved = false, {0, 0}, {0, 0} function inputevents(e) if (e.type == IEVENT_LMOUSEDOWN) then for _, button in ipairs(Buttons) do if (e.elementid == button.id) then lastPressed = {id = button.id, time = $timems} button.action() end end end if (e.type == IEVENT_RMOUSEDOWN) then Moving, Temp = true, {$cursor.x - Moved[1], $cursor.y - Moved[2]} end if (e.type == IEVENT_RMOUSEUP) then Moving = false if math.abs(Moved[1]) <= 15 then Moved[1] = 0 end if math.abs(Moved[2]) <= 15 then Moved[2] = 0 elseif math.abs(($worldwin.bottom-20) - Moved[2]) <= 15 then Moved[2] = $worldwin.bottom-20 end end end init end if (Moving) then auto(10) Moved = {$cursor.x - Temp[1], $cursor.y - Temp[2]} end setposition($clientwin.left-1 + Moved[1], $clientwin.top + Moved[2]) setfillstyle('color', color(55, 55, 55, 50)) drawrect(0, 0, rectWidth, rectHeight) local spacing = 0 for i = 1, #Buttons do setfillstyle('gradient', 'linear', 2, 0, 0, 0, 25) if Buttons[i].id ~= lastPressed.id then addgradcolors(0, color(155, 155, 155), 1.0, color(50, 50, 50)) else addgradcolors(0, color(50, 50, 50), 1.0,color(155, 155, 155)) end Buttons[i].id = drawroundrect(10, 10 + spacing, rectWidth-20, 20) local w,h = measurestring(Buttons[i].text) drawtext(Buttons[i].text, (rectWidth/2) - (w/2), 20 + spacing - (h/2)) spacing = spacing + 25 end if $timems - lastPressed.time > 100 then lastPressed.id = -1 end Créditos: tibiawindbot
-
Skill Timer
Persistent Code init start -- Version 2.0.1 function GetWeaponPC() SkillType = findweapontype() local SkillNames = {'axe','sword','club','no weapon','distance weapon'} if table.find(SkillNames,SkillType) then if SkillType == 'axe' then return $axepc elseif SkillType == 'sword' then return $swordpc elseif SkillType == 'club' then return $clubpc elseif SkillType == 'no weapon' then return $fistpc elseif SkillType == 'distance weapon' then return $distancepc end else return $mlevelpc end end local Config = { {name = 'Weapon', _starttime = $timems, _skill = GetWeaponPC(), _traceskill = 0, _timers = {0}, _try = 0, _finalTime = {}}, {name = 'Magic', _starttime = $timems, _skill = $mlevelpc, _traceskill = 0, _timers = {0}, _try = 0, _finalTime = {}}, {name = 'Shielding', _starttime = $timems, _skill = $shieldingpc, _traceskill = 0, _timers = {0}, _try = 0, _finalTime = {}}, {name = 'Fishing', _starttime = $timems, _skill = $fishingpc, _traceskill = 0, _timers = {0}, _try = 0, _finalTime = {}} } init end auto(100) local Skills = { {name = 'Weapon', _skill = GetWeaponPC(), _left = _left or 0, _avgTime = _avgTime or 0, _advanceTime = _advanceTime or 0}, {name = 'Magic', _skill = $mlevelpc, _left = _left or 0, _avgTime = _avgTime or 0, _advanceTime = _advanceTime or 0}, {name = 'Shielding', _skill = $shieldingpc, _left = _left or 0, _avgTime = _avgTime or 0, _advanceTime = _advanceTime or 0}, {name = 'Fishing', _skill = $fishingpc, _left = _left or 0, _avgTime = _avgTime or 0, _advanceTime = _advanceTime or 0} } for ic = 1,#Config do for is = 1,#Skills do if Skills[is].name == Config[ic].name then if Config[ic]._skill ~= Skills[is]._skill then Config[ic]._traceskill = $timems - Config[ic]._starttime if Config[ic]._try > 0 then table.insert(Config[ic]._timers,Config[ic]._traceskill) end Config[ic]._starttime = $timems Config[ic]._skill = Skills[is]._skill for it = 1,#Config[ic]._timers do if it > 3 then table.remove(Config[ic]._timers,1) end end Config[ic]._try = Config[ic]._try + 1 end Skills[is]._left = 100 - Skills[is]._skill Skills[is]._avgTime = table.average(Config[ic]._timers) Skills[is]._advanceTime = Skills[is]._left * Skills[is]._avgTime Skills[is]._timeLeft = math.floor(Skills[is]._advanceTime / 1000) end end end function SkillTimer(skill) curTime = math.floor($charactertime / 1000) if Skills[1]._timeLeft ~= _Tracker.lastSkillPrediction then _Tracker.lastSkillPrediction = Skills[1]._timeLeft _Tracker.timeSkillPredictionChanged = curTime end if Skills[2]._timeLeft ~= _Tracker.lastMagicPrediction then _Tracker.lastMagicPrediction = Skills[2]._timeLeft _Tracker.timeMagicPredictionChanged = curTime end if Skills[3]._timeLeft ~= _Tracker.lastShieldingPrediction then _Tracker.lastShieldingPrediction = Skills[3]._timeLeft _Tracker.timeShieldingPredictionChanged = curTime end if Skills[4]._timeLeft ~= _Tracker.lastFishingPrediction then _Tracker.lastFishingPrediction = Skills[4]._timeLeft _Tracker.timeFishingPredictionChanged = curTime end if skill == 'Weapon' then return math.max(math.round(Skills[1]._timeLeft - curTime + _Tracker.timeSkillPredictionChanged), 1) elseif skill == 'Magic' then return math.max(math.round(Skills[2]._timeLeft - curTime + _Tracker.timeMagicPredictionChanged), 1) elseif skill == 'Shielding' then return math.max(math.round(Skills[3]._timeLeft - curTime + _Tracker.timeShieldingPredictionChanged), 1) elseif skill == 'Fishing' then return math.max(math.round(Skills[4]._timeLeft - curTime + _Tracker.timeFishingPredictionChanged), 1) end end if time(SkillTimer('Weapon')) ~= '1' then showWeapon = time(SkillTimer('Weapon')) else showWeapon = 'Calculating' end if time(SkillTimer('Magic')) ~= '1' then showMagic = time(SkillTimer('Magic')) else showMagic = 'Calculating' end if time(SkillTimer('Shielding')) ~= '1' then showShielding = time(SkillTimer('Shielding')) else showShielding = 'Calculating' end if time(SkillTimer('Fishing')) ~= '1' then showFishing = time(SkillTimer('Fishing')) else showFishing = 'Calculating' end HUD codeinit start -- DO NOT EDIT BELOW THIS LINE local HUD = { Restart = -1, Position = {$clientwin.left, $worldwin.bottom}, Auxiliar = {0, 0}, ColumnWidth = {125, 12}, Moving = false, Blue = {0.0, color(90, 12, 15, 20), 0.23, color(98, 13, 17, 20), 0.76, color(52, 6, 9, 20)}, Black = {0.0, color(75, 75, 75, 20), 0.23, color(45, 45, 45, 20), 0.76, color(19, 19, 19, 20)}, Orange = {0.0, color(120, 120, 120, 20), 0.23, color(100, 100, 100, 20), 0.76, color(35, 35, 35, 20)}, Green = {0.0, color(65, 96, 12, 20), 0.23, color(67, 99, 13, 20), 0.76, color(36, 52, 6, 20)}, Red = {0.0, color(90, 12, 15, 20), 0.23, color(98, 13, 17, 20), 0.76, color(52, 6, 9, 20)}, } showWeapon = showWeapon or 0 showShielding = showShielding or 0 showMagic = showMagic or 0 showFishing = showFishing or 0 local tempPos = $chardb:getvalue('SkillTimer.TH', 'POSITION') if tempPos then tempPos = tempPos:explode(":") HUD.Position = {tonumber(tempPos[1]), tonumber(tempPos[2])} end Time = Time or tosec(os.date("%X")) filterinput(false, true, false, false) setfontstyle('Tahoma', 8, 75) setfillstyle('gradient', 'linear', 2, 0, 0, 0, 14) setfontstyle('Tahoma', 8, 75, 0xFFFFFF, 1, color(0, 0, 0, 20)) function inputevents(e) if e.type == IEVENT_RMOUSEDOWN or e.type == IEVENT_MMOUSEDOWN then HUD.Moving, HUD.Auxiliar = true, {$cursor.x - HUD.Position[1], $cursor.y - HUD.Position[2]} elseif e.type == IEVENT_RMOUSEUP or e.type == IEVENT_MMOUSEUP then HUD.Moving = false elseif e.type == IEVENT_LMOUSEUP then if e.elementid == HUD.Restart then SkillTable = {} CalculateTry = 0 ShieldingTable = {} ShieldingCalculateTry = 0 MagicTable = {} MagicCalculateTry = 0 end end end local function displaytext(text, x, y, c) addgradcolors(unpack(c)) local w, h = measurestring(text) HUD.ColumnWidth[1], HUD.ColumnWidth[2] = math.max(HUD.ColumnWidth[1], w or 0), math.max(HUD.ColumnWidth[2], h or 0) local t = drawroundrect(x, y, HUD.ColumnWidth[1] + 7, HUD.ColumnWidth[2], 2, 2) drawtext(text, x + 2, y + math.floor(HUD.ColumnWidth[2] / 4) - 2.55) return t end init end if HUD.Moving then auto(10) HUD.Position = {$cursor.x - HUD.Auxiliar[1], $cursor.y - HUD.Auxiliar[2]} $chardb:setvalue('SkillTimer.TH', 'POSITION', table.concat(HUD.Position, ':')) end local x, y = 0, 0 displaytext(" Skill Timer", x, y, HUD.Blue) addgradcolors(unpack(HUD.Green)) w, h = measurestring("RESET") HUD.Restart = drawroundrect(x - w + HUD.ColumnWidth[1], y, w + 7, h, 2, 2) drawtext("RESET", 5 + x - w + HUD.ColumnWidth[1], y + math.floor(h / 4) - 2.4) y = y + 16 displaytext(' Weapon Timer: '..showWeapon, x, y, HUD.Black) y = y + 16 displaytext(' Shielding Timer: '..showShielding, x,y, HUD.Black) y = y + 16 displaytext(' Magic Level Timer: '..showMagic, x,y, HUD.Black) y = y + 16 displaytext(' Fishing Timer: '..showFishing, x,y, HUD.Black) setposition(unpack(HUD.Position)) Créditos: tibiawindbot
-
Health & Mana Bar
init start -- _________ _____ _ __ -- / ____/ (_) / ___/__________(_)___ / /______ -- / __/ / / / \__ \/ ___/ ___/ / __ \/ __/ ___/ -- / /___/ / / ___/ / /__/ / / / /_/ / /_(__ ) -- /_____/_/_/ /____/\___/_/ /_/ .___/\__/____/ -- /_/ -- Name: Health & Mana Bar -- Last Updated: 09/05/2015 -- Version: 1.0 -- you may change colors, I fuck gradients colors and I do not understand them at all. local BORDER = true local SIZE = 380 local HUD_Colors = { MANA = {0.0, color(3, 131, 183, 20), 0.23, color(3, 131, 183, 20), 0.76, color(3, 131, 183, 20)}, HEALTH = {0.0, color(0, 210, 0, 20), 0.23, color(0, 220, 0, 20), 0.76, color(0, 220, 0, 20)}, } init end if BORDER then setbordercolor(color(0,0,0)) end locationx = $worldwinrelative.left + ($worldwinrelative.width / 2) - (SIZE/2) - 18 locationy = $worldwinrelative.top + ($worldwinrelative.height / 2) - (SIZE/2) locationx2 = locationx + SIZE - ((SIZE + (SIZE * 0.85)) / 2) locationy2 = locationy + SIZE - ((SIZE + (SIZE * 0.85)) / 2) hp1 = 90 / (100 / $hppc)* - 1 mp1 = 90 / (100 / $mppc) setantialiasing(true) drawpie(locationx, locationy, SIZE, SIZE, 45, -90) drawpie(locationx, locationy, SIZE, SIZE, 135, 90) setfillstyle('gradient', 'linear', 1, 0, 0, 0, 150) addgradcolors(unpack(HUD_Colors.MANA)) drawpie(locationx, locationy, SIZE, SIZE, -45, mp1) setfillstyle('gradient', 'linear', 1, 0, 0, 0, 150) -- hp bar addgradcolors(unpack(HUD_Colors.HEALTH)) drawpie(locationx, locationy, SIZE, SIZE, 225, hp1) -- clear setbordercolor(-1) setfillstyle('color', -1) drawcircle(locationx2, locationy2, SIZE * 0.85, SIZE * 0.85) Créditos: tibiawindbot
-
Tile Items Spy
local tile = gettile($cursorinfo.x, $cursorinfo.y, $cursorinfo.z) for i=1, tile.itemcount do local dY = 100+(40*tile.itemcount) - (40*i); drawitem(tile.item[i].id, 30, dY, 100, tile.item[i].count, -1) drawtext(itemname(tile.item[i].id) .. ' count: ' .. tile.item[i].count .. ' (' .. tile.item[i].id .. ')', 30+40, dY) end Créditos: tibiawindbot
-
Se o cavebot está habilitado, desativá-lo. Se estiver desativado, habilitá-lo.
if $cavebot then setsetting('Cavebot/Enabled', 'no') else setsetting('Cavebot/Enabled', 'yes') end Créditos: windbotbr
-
Relogger & Backpack Reopener - Reloga, reabre as Backpacks e reativa as funções: 'cavebot / looting / targeting'
init start -- local SCRIPT_VERSION = '1.1.0' -- The bot will open these backpacks, in this order. The first item is the -- name of the backpack, the second the location and the third is whether -- it should be open as new, which defaults to true. local backpacks = { {'Backpack of Holding', 'back'}, {'Dragon Backpack' , '0' }, {'Expedition Backpack', '1' , false}, {'Brocade Backpack' , '1' }, {'Brown Bag' , '0' }, } local serverSaveWait = {15, 20} -- Wait time on server save, in minutes local nextTry = $timems init end auto(100) if not $connected and $timems >= nextTry then set('Cavebot/Enabled', 'no') set('Targeting/Enabled', 'no') set('Looting/Enabled', 'no') reconnect() while not $connected do wait(90, 110) end waitping() local bp, loc, new, count, parentCont for _, v in ipairs(backpacks) do bp, loc, new = table.unpack(v) new = tern(new ~= nil, new, true) count = #getopencontainers() openitem(bp, loc, new) if new then while #getopencontainers() ~= count + 1 do wait(90, 110) end else waitping() end resizewindows(0) end set('Cavebot/Enabled', 'yes') set('Targeting/Enabled', 'yes') set('Looting/Enabled', 'yes') end foreach newmessage m do if m.type == MSG_RED then local min = m.content:match(REGEX_SERVER_SAVE) if min then nextTry = $timems + (tonumber(min) + math.random(table.unpack(serverSaveWait))) * 60000 break end end end Créditos: windbotbr
-
Auto Responder - Respondendo automaticamente os players
init start local Config = { SafeList = {"Bubble", "Eternal Oblivion"}, MinLevel = 10, IgnoreMonsters = false, LogText = true, UseDatabase = false, } -- DO NOT EDIT BELOW -- local Responder = { MessageInfo = {}, Timer = os.time(), } Responder.Ignored = $chardb:getvalue('AUTO_RESPONDER', 'IgnoredGuys') if Config.UseDatabase and Responder.Ignored and Responder.Ignored ~= '{}' then Responder.Ignored = Responder.Ignored:totable() else Responder.Ignored = {} end Responder.SpeechWords = { { k = {"spanish?", "spanish ?", "span?", "spanol?", "spanol?", "spanol ?", "spanol ?"}, r = {{"no", "nope"}, {"nope man", "nopss", "no man bb"}} }, { k = {"hi", "hai", "hello", "sup", "yo", "yoo", "hiho", "HI", "HELLO", "SUP", "YO", "YOO", "HIHO", "HAI"}, r = {{"hi", "hello", "hiho", "yo", "sup"}, {"i said hi", "already said hi", "sup, again"}, {"ok man, this is getting boring", "this is boring man", "damn stop saying hi"}} }, { k = {"use bot?", "use bot ?", "use bot", "bot?", "bot", "botter", "bottter", "botterrr", "botting", "you are bot", "you're bot", "your bot"}, r = {{"me?", "me ? lol", "no man", "you wrong", "you're wrong", "i dont bot"}, {"leave plz", "stop dis or ignored", "gtfo", "stop plz", "annoying :["}} }, { k = {"auto respond", "auto responder", "auto respond ?", "auto respond?", "auto responder?", "auto responder ?", "auto-respond", "auto-responder", "auto-responder?", "auto-responder ?", "auto-respond?", "auto-respond ?", "auto talk", "auto-talk", "auto talk?", "auto talk ?", "auto-talk?"}, r = {{"no, just type and do enter", "lol man", "lol wtf is this?", "lol'ed now", "oh tibia have that ?", "hahaha"}, {"whatever", "stop dis pls", "byee"}, {"i'm sirious now", "stop or ignored"}} }, { k = {"no kill", "plz no kill", "dont kill", "i'm skilling", "im skilling", "im skill", "plz no kill", "i'm skill", "man no kill", "ks?", "ks", "ks lol", "dont ks", "don't ks"}, r = {{"sry i need exp", "i need all exp", "all exp is mine", "leave plz i need exp"}, {"i will kill everything", "i kill what i want", "ks is fun"}} }, { k = {"noob", "n00b", "nb", "noob -.-", "n00b -.-", "noobie", "newbie", "nb plz", "noob plz"}, r = {{"noob u", "noob you", "nab", "sure noob", "-.-"}, {"whatever", "w.e", "ok man bb", "noob gtfo"}, {"aff", "boring", "i'm mad now"}} }, { k = {"whats my name?", "what is my name ?", "what is my name?", "what's my name?", "what's my name ?"}, r = {{"look on your character lol", "your name is noob", "u dont know how to read ?"}, {"lol man u know your name", "u know your name stop spam", "stop spam man"}, {"look on your screen and read", "such a noob"}, {"ok now i'll ignore you"}} }, { k = {"going to delete you", "going to delete your char", "i'll delete your char", "i will delete your char", "i'll ban you", "i'll ban u", "going to ban you", "going to ban u"}, r = {{"omaiga", "so you're a gm..", "no you're not", "ok man do what u want"}, {"come back tomorrow", "stop man bb", "stop spam"}, {"next msg like this = ignore"}} }, { k = {"fuck you", "fuck u", "fuk you", "fuk u", "fak you", "fak u", "fak", "fuck", "damn you", ".i.", "..i..", ",,i,,", ",i,"}, r = {{"not nice man", "stop", "i dont like that"}, {"sounds like a you dont like me", "stop or ignore", "stop or reported", "reported"}} }, { k = {"leave", "leave plz", "leave man", "leave pls", "leavee"}, r = {{"nop", "sry no", "nonono", "can't", "i'll stay", "sry bb"}, {"no man byee", "i will hunt now", "i am here now begone"}, {"damn can't your see ? i'm here now", "B.Y.E"}} }, { k = {"lol", "rofl", "lmao", "ftw", "wtf", "haha", "hehe", "LMAO", "ROFL", "LOL", "loled", "lol'ed", "lul", "lool", "luls", "lulz", "lols"}, r = {{"haha", "lul", "lool", "hehehe", "rofl", "roflmao", ":)", "^^", ":]", ":>"}, {"haha", "lul", "lool", "hehehe", "rofl", "roflmao", ":)", "^^", ":]", ":>"}, {"haha", "lul", "lool", "hehehe", "rofl", "roflmao", ":)", "^^", ":]", ":>"}, {"haha", "lul", "lool", "hehehe", "rofl", "roflmao", ":)", "^^", ":]", ":>"}, {"ok, i like to smile but it's enough let me alone now", "ok but now let me alone", ":) well i'm going, cya"}} }, { k = {"how do you type?", "how do you type ?", "how you type ?", "how you type?", "how to type?", "how to type ?"}, r = {{"type text and do enter", "u need something special", "u need to be special", "with fingers", "with hands"}, {"lol stuff you said", "man i need to hunt alone", "bb or ignored"}} }, { k = {"whoa you're so fast", "wow you're so fast", "you type really fast", "you type fast", "so fast you type", "type fast", "you're so fast", "your fast", "so fast"}, r = {{"yeah i train a lot", "ye imma hell of a racemachine", "yes i do"}, {"i said that i'm fast", "ye already said that, i'm really fast", "i'm so fast that i can hunt and talk to you :)"}, {"ok man..", "ye you know", "true.."}, {"i'm getting tired of this", "ok man now bb"}} }, } table.insert(Config.SafeList, $name) table.lower(Config.SafeList) function table.findtext(self, v) local c = table.find(self, v) if not c then for i, k in pairs(self) do if v:find(k) or v:lower():find(k:lower()) then return i end end else return c end return nil end local fileName = sprintf('[%s] - Auto Responder.txt', $name) if Config.LogText and not file.exists(fileName) then file.clear(fileName) end init end auto(1000, 1200) foreach newmessage m do if table.find({MSG_DEFAULT, MSG_WHISPER, MSG_YELL, MSG_PVT}, m.type) and (not table.find(Config.SafeList, m.sender:lower())) and m.level >= Config.MinLevel and os.difftime(os.time(), Responder.Timer) >= 2 and (not Responder.Ignored[m.sender]) and #spellinfo(m.content).words == 0 then if Config.LogText then file.writeline(fileName, string.format("RECEIVED: [%s] VIA: %s FROM: %s CONTENT: %s", m.timestr, m.type == MSG_PVT and "Private" or "Local Chat", m.sender, m.content)) end for State, Entry in pairs(Responder.SpeechWords) do if table.findtext(Entry.k, m.content) then if Responder.MessageInfo[m.sender] then if Responder.MessageInfo[m.sender][State] then if not Responder.SpeechWords[State].r[Responder.MessageInfo[m.sender][State] + 1] then Responder.Ignored[m.sender] = true local msg = ({"ignored -.-", "ignored"})[math.random(1, 2)] if not Config.IgnoreMonsters then while maround(1, false) > 0 do wait(100, 200) end end if m.type ~= MSG_PVT then say("Local Chat", msg) else say("Local Chat", string.format("@%s@ %s", m.sender, msg)) end if Config.LogText then file.writeline(fileName, string.format("SENT: [%s] VIA: %s FROM: %s TO: %s CONTENT: %s", m.timestr, m.type == MSG_PVT and "Private" or "Local Chat", $name, m.sender, msg)) file.writeline(fileName, string.format("IGNORED PLAYER: [%s] NAME: %s", m.timestr, m.sender)) end $chardb:setvalue('AUTO_RESPONDER', 'IgnoredGuys', table.tostring(Responder.Ignored)) return end else Responder.MessageInfo[m.sender][State] = 0 end else Responder.MessageInfo[m.sender] = {} Responder.MessageInfo[m.sender][State] = 0 end if not Config.IgnoreMonsters then while maround(1, false) > 0 do wait(100, 200) end end local msg = Entry.r[Responder.MessageInfo[m.sender][State] + 1][math.random(1, #Entry.r[Responder.MessageInfo[m.sender][State] + 1])] if m.type ~= MSG_PVT then say("Local Chat", msg) else say("Local Chat", string.format("*%s* %s", m.sender, msg)) end if Config.LogText then file.writeline(fileName, string.format("SENT: [%s] VIA: %s FROM: %s TO: %s CONTENT: %s", m.timestr, m.type == MSG_PVT and "Private" or "Local Chat", $name, m.sender, msg)) end Responder.MessageInfo[m.sender][State], Responder.Timer = Responder.MessageInfo[m.sender][State] + 1, os.time() return end end end end Créditos: windbotbr
-
Spells Area Attacker - Atacar monstros usando spells específicos de acordo com as circunstancias
init start local Monsters = {"Swampling", "Snake", "Marsh Stalker", "Water Buffalo", "Salamander", "Emerald Damselfly"} local Players = { Consider = true, Distance = 10, FloorDifference = 1, SafeList = {"Bubble", "Eternal Oblivion"}, } local Spells = { {Name = "exori gran", Amount = 4}, {Name = "exori", Amount = 3}, {Name = "exori min", Amount = 2}, {Name = "exori ico", Hppc = 10}, {Name = "exori hur", Hppc = 10}, {Name = "utito tempo", Amount = 5}, } local SpecialAreas = { -- {min x, max x, min y, max y, z} } local UseTargetState = false -- DO NOT CHANGE ANYTHING BELOW THIS LINE local i, LastFloor, Exhaust = 1, $posz, $timems while Spells[i] ~= nil do Spells[i].Info = spellinfo(Spells[i].Name) if Spells[i].Info.words == 0 then table.remove(Spells, i) else Spells[i].Monsters = Spells[i].Monsters or Monsters Spells[i].NeedDirection = table.find({"WaveSmall", "WaveVerySmall", "WaveBig", "BeamSmall", "BeamBig", "Front", "Strike"}, Spells[i].Info.castarea) ~= nil Spells[i].AttackSupport = Spells[i].Info.group:match("Support") ~= nil table.lower(Spells[i].Monsters) i = i + 1 end end init end auto(200, 400) if $posz ~= LastFloor then LastFloor, Exhaust = $posz, $timems + 2000 return end if $timems >= Exhaust and ($targeting or not UseTargetState) then for _, Spell in ipairs(Spells) do if cancast(Spell.Info) and not isinsidearea(SpecialAreas) then if Spell.Amount and (not Players.Consider or paroundfloorignore(Players.Distance, Players.FloorDifference, unpack(Players.SafeList)) == 0) then local BestAmount, BestDir = 0, $self.dir if Spell.NeedDirection then for Dir, Amount in pairs({n = 0, e = 0, s = 0, w = 0}) do Amount = maroundspell(Spell.Name, Dir, unpack(Spell.Monsters)) if Amount > BestAmount or (Amount >= BestAmount and Dir == $self.dir) then BestAmount, BestDir = Amount, Dir end end else BestAmount = not Spell.AttackSupport and maroundspell(Spell.Name, BestDir, unpack(Spell.Monsters)) or maround(1, false, unpack(Spell.Monsters)) end if BestAmount >= math.max(Spell.Amount, 1) then while $self.dir ~= BestDir do turn(BestDir) waitping() end cast(Spell.Name) waitping() end elseif Spell.Hppc and $attacked.hppc >= math.max(Spell.Hppc, 1) and table.find(Spell.Monsters, $attacked.name:lower()) and cancast(Spell.Info, $attacked) then cast(Spell.Name) waitping() end end end end Créditos: windbotbr
-
Loot Logger - Registra e Salva todas as mensagens de loots
init start -- local SCRIPT_VERSION = '1.0.1' local filename = 'Loot - ' .. $name .. '.txt' local hideEmpty = false -- DO NOT EDIT BELOW THIS LINE -- init end auto(1000) local handler = nil foreach newmessage m do if m.type == MSG_INFO and not (hideEmpty and m.content:find('nothing')) then if handler == nil then handler = io.open(filename, 'a+') end handler:write(os.date('%H:%M') .. ' ' .. m.content .. '\n') end end if handler ~= nil then handler:close() end Créditos: windbotbr
-
Persistent Anti Idle ( Anti Disconnect ) - Se mexer para não dar disconnect
init start local lastStand = $standtime local randTime = math.random(300000, 600000) init end auto(100) if $standtime < lastStand then lastStand = $standtime end if $standtime - lastStand > randTime then local dirs = {'n', 'e', 's', 'w'} -- Makes sure it's random and not the same we're facing right now table.remove(dirs, table.find(dirs, $self.dir)) turn(dirs[math.random(1, 3)]) waitping() lastStand = $standtime randTime = math.random(300000, 600000) end Créditos: windbotbr
-
Persistent Alerts - Vai alertar caso algo aconteça
init start -- local SCRIPT_VERSION = '1.0.1' local alerts = { { name = 'Player on Screen', sound = 'playeronscreen.wav', playSound = false, pauseBot = false, logout = false, safelist = {'Bubble', 'Cachero'} }, { name = 'Player Attacking', sound = 'playerattacking.wav', playSound = false, pauseBot = false, logout = false, safelist = {'Bubble', 'Cachero'} }, { name = 'Monster Attacking', sound = 'monsterattacking.wav', playSound = false, pauseBot = false, logout = false, safelist = {'Rat', 'Bat'} }, { name = 'Private Message', sound = 'privatemessage.wav', playSound = false, pauseBot = false, logout = false, safelist = {'Bubble', 'Cachero'} }, { name = 'Default Message', sound = 'defaultmessage.wav', playSound = false, pauseBot = false, logout = false, safelist = {'Bubble', 'Cachero'} }, { name = 'GM Detected', sound = 'gmdetected.wav', playSound = false, pauseBot = false, logout = false }, { name = 'Disconnected', sound = 'disconnected.wav', playSound = false, pauseBot = false, logout = false }, { name = 'Character Stuck', sound = 'characterstuck.wav', playSound = false, pauseBot = false, logout = false, stuckTime = 30000 -- ms }, { name = 'Health Below', sound = 'lowhealth.wav', playSound = false, pauseBot = false, logout = false, pcBelow = 50 }, { name = 'Mana Below', sound = 'lowmana.wav', playSound = false, pauseBot = false, logout = false, pcBelow = 50 } } -- Do not edit below this line do local tests = { function(safelist) return paroundignore(10, table.unpack(safelist)) > 0 end, function(safelist) return $pattacker.id ~= 0 and not table.find(safelist, $pattacker.name:lower()) end, function(safelist) return $mattacker.id ~= 0 and not table.find(safelist, $mattacker.name:lower()) end, function(safelist) foreach newmessage m do if m.type == MSG_PVT then return true end end return false end, function(safelist) foreach newmessage m do if m.type == MSG_WHISPER or m.type == MSG_DEFAULT or m.type == MSG_YELL then return true end end return false end, function() foreach creature c do if c.name:starts('GM') or c.name:starts('CM') then return true end end return false end, function() return not $connected end, function(stuckTime) return $standtime > stuckTime end, function(pcBelow) return $hppc < pcBelow end, function(pcBelow) return $mppc < pcBelow end } for i = 1, #alerts do local alert = alerts[i] alert.test = tests[i] if alert.safelist then table.lower(alert.safelist) end end end init end auto(100) listas('Alerts') for _, v in ipairs(alerts) do if v.test(v.safelist or v.stuckTime or v.pcBelow) then if v.playSound then playsound(v.sound) end if v.pauseBot then pausebot(true) end if v.logout then xlog() end end end Créditos: windbotbr
-
Curar a si mesmo usando 'Exura Sio'
cast('exura sio "' .. $name) Créditos: windbotbr