Ir para conteúdo

Tricoder

Héroi
  • Registro em

  • Última visita

Tudo que Tricoder postou

  1. Valor do Script: US$ 7,00 | TibiaKing: Download Grátis Informação do Script: Level Recomendado: 110+ Dificuldade: Fácil Exp/h: 180k à 320k Loot/h: 0k à 20k Versão: 1.0.2 Necessário: Aceitar a missão 8 da quest The New Frontier Quest Monstro(s): Lizard High Guard + Lizard Zaogum + Lizard Legionnaire + Lizard Dragon Priest + Killer Caiman Características do Script Opção de Caçar no North Opção de UE Opção de usar Strong Strike Opção de Atalho Opção de Haste Refil da Soft Boots Loot GP ( ativado / desativado ) Montaria Automática Depositer Reabrir Backpack Configuração da Supply Banco Seguro Área Especial HUDs Hotkey(s) Exuri Frigo Exura Exura Gran Exura Vita Strong Mana Potion / Great Mana Potion Avalanche Rune ( on crosshair ) Exori Gran Vis Exevo Gran Mas Vis ( opcional ) Sudden Death Rune ( on Target ) Exani Hur "Up Exani Hur "Down Backpack(s) Localização DOWNLOAD TIBIABRBOT - MAGE Muggy Plains AVA by CroiX v1.0.2..xml
  2. Valor do Script: R$ 20,00 | TibiaKing: Download Grátis Informação Testado em: 118MS Dificuldade: 110+ Exp/h: 150k à 250k Loot/h: -5k à 30k Necessário: The New Frontier Quest ( missão 8 ) Monstro(s): Lizard Legionnaire + Lizard Dragon Priest + Lizard High Guard + Draken Warmaster Hotkey(s) Exura Vita Strong Mana Potion Exori Frigo Exura Gran Exura Exori Gran Vis Avalanche Rune (on crosshair) Exevo Gran Mas Vis Download TIBIABRBOT - M 110+ Midnight - Isle of strife.xml
  3. Valor do Script: US$ 7,00 | Tibia King: Download Grátis Informação do Script Level Recomendado: 100+ Dificuldade: Médio para Dificil Exp/h: 180k à 450k Loot/h: -25k à 15k Versão: 1.2 Monstro(s): Frost Dragon + Frost Dragon Hatchiling Necessário: Glacier Set + Pshycal Set ( Recomendado ) Onde Iniciar: Deport de Svarground Características do Script Usar Strong Strike ( Sim / Não ) Usar UE ( Sim / Não ) SDs Pegar Gold ( Sim / Não ) Opção de Andar Cada Respaw disponível Refil da Soft Boots Respaw HardCore PVP Seguro Banco Seguro Montaria Automática Reabrir Backpack Opção de Escolher as Supply HUD Muito mais... Hotkey(s) Exura Exura Gran Exura Vita Strong/Great Mana Potion Exori Vis Exevo Gran Mas Vis Exevo Mas Vis Rope Pick (opcional) Backpack(s) Localização Download TIBIABRBOT - [Mage] Frost Dragons West. V1.2.xml
  4. NOVIDADES Sistema de Loteria [100%] Sistema de Cassino [100%] Sistema de Reborn [100%] Sistema de Emoticon [100%] Sistema de Skills por stages [100%] Trade System [100%] Party System [100%] Transformações [100%] +300 monstros [100%] Max skills e Max Magic Level 90 [100%] Missões e sagas [100%] Esferas do dragão [100%] Novos Monstros [100%] Novas sprites [100%] Novas quests [100%] Novas talkactions [100%] Premium Acess [100%] Double exp pra premium [100%] Bonus drop [100%] Bonus spells [100%] _________________________________________ INFORMAÇÕES A pasta do servidor está acompanhada com: Website [100%] Mapa Editor [100%] Client [100%] Sources [100%] _________________________________________ SCREENSHOTS In-game Mapa Website _________________________________________ Download Tamanho do arquivo: 81,6 MB. Clique aqui Scan https://www.virustotal.com/pl/file/b6b888876ad5c10b87723b85abc02328137e103f43c5748159658ee7d56c6278/analysis/1438891990/ _________________________________________ Créditos Ri Ku Ru Mistrz Azuu elora1992 Royalz Twórca DBViolent Oskarowi Placek
  5. http://www.tibiaking.com/forum/topic/61908-erro-no-distro/?do=findComment&comment=358149
  6. init start -- local SCRIPT_VERSION = '1.0.0' local goldIds = {itemid('gold coin'), itemid('platinum coin')} init end auto(200, 300) local cont, item for i = 0, 15 do cont = getcontainer(i) if cont.isopen then for j = 0, cont.itemcount do item = cont.item[j] if item.count == 100 and table.find(goldIds, item.id) then useitem(item.id, i, j) waitping() end end end end Créditos: windbotbr
  7. Tricoder postou uma resposta no tópico em WindBot
    init start -- local SCRIPT_VERSION = '1.1.1' local charList = { {'account1', 'password1', 'char1', 'skill1'}, {'account2', 'password2', 'char2', 'skill2'}, {'account3', 'password3', 'char3', 'skill3'}, {'account4', 'password4', 'char4', 'skill4'}, {'account5', 'password5', 'char5', 'skill5'}, {'account6', 'password6', 'char6', 'skill6'}, {'account7', 'password7', 'char7', 'skill7'} } -- DO NOT EDIT BELOW THIS LINE -- local skills = {'sword', 'axe', 'club', 'distance', 'magic'} local randTime = math.random(-110, 10) for i, v in ipairs(charList) do table.insert(charList[i], $botdb:getvalue('offtrainlast', v[3]) or 0) table.insert(charList[i], $botdb:getvalue('offtraintime', v[3]) or 0) end init end auto(10000, 30000) for _, v in ipairs(charList) do if (os.time() - v[5]) / 60 > v[6] + (12 * 60) + randTime then randTime = math.random(-110, 10) connect(v[1], v[2], v[3]) waitping() v[5] = os.time() v[6] = $offlinetraining $botdb:setvalue('offtrainlast', v[3], v[5]) $botdb:setvalue('offtraintime', v[3], v[6]) if $offlinetraining > 10 then local skill = v[4] if skill == 'auto' then if $voc == VOC_DRUID or $voc == VOC_SORCERER then skill = 'magic' elseif $voc == VOC_PALADIN then skill = 'distance' else if $axe > $sword and $axe > $club then skill = 'axe' elseif $sword > $axe and $sword > $club then skill = 'sword' else skill = 'club' end end end local id = 16197 + table.find(skills, skill) reachgrounditem(id) wait(200, 500) useitem(id, 'ground') else logout() end wait(1000, 1500) press('[ESC]') wait(1000, 1500) end endEdite o charList com as informações do seu char/conta. Créditos: windbotbr
  8. Tricoder postou uma resposta no tópico em WindBot
    while itemcount('piggy bank') >= 1 do useitem('piggy bank') end Créditos: windbotbr
  9. Tricoder postou uma resposta no tópico em WindBot
    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
  10. Tricoder postou uma resposta no tópico em WindBot
    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
  11. Tricoder postou uma resposta no tópico em WindBot
    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
  12. Tricoder postou uma resposta no tópico em WindBot
    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
  13. Tricoder postou uma resposta no tópico em WindBot
    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
  14. 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
  15. Tricoder postou uma resposta no tópico em WindBot
    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
  16. 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
  17. Tricoder postou uma resposta no tópico em WindBot
    --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
  18. Tricoder postou uma resposta no tópico em WindBot
    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
  19. Tricoder postou uma resposta no tópico em WindBot
    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
  20. Tricoder postou uma resposta no tópico em WindBot
    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
  21. Tricoder postou uma resposta no tópico em WindBot
    -- 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
  22. Tricoder postou uma resposta no tópico em WindBot
    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
  23. Tricoder postou uma resposta no tópico em WindBot
    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
  24. Tricoder postou uma resposta no tópico em WindBot
    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
  25. if $cavebot then setsetting('Cavebot/Enabled', 'no') else setsetting('Cavebot/Enabled', 'yes') end Créditos: windbotbr

Informação Importante

Confirmação de Termo