Jump to content

Search the Community

Showing results for tags 'eye'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • A Cidade OTBR
    • OTServ Brasil
    • Atendimento
    • Taverna
  • Projetos Open Source
    • Canary
    • OTServBR-Global
    • Mehah OTClient
    • MyAAC
  • OpenTibia
    • Notícias e Discussões
    • Suporte - Dúvidas, Bugs, Erros
    • Downloads
    • Tutoriais
    • Show-Off
  • Outros
    • Design

Found 1 result

  1. [Revscriptsys][Modal] Boss Eye

    Boss Eye (Revscriptsys + Modal) Um script que você usa um item e ele abre um modal com tempo que falta para você poder matar o boss novamente. Script configurado com o servidor OTBR, para configurar basta colocar o storage que leva o tempo do boss. data/scripts/custom local bossDoll = Action() local bosseye = { -- Config mainTitle = "Boss Eye", mainMsg = "Status dos boss", } function bossDoll.onUse(player, item, fromPosition, itemEx, toPosition, isHotkey) player:sendBossWindow(bosseye) return true end bossDoll:id(18526) bossDoll:register() data/lib/lib.lua -- Boss eye dofile('data/lib/custom/boss_eye.lua') data/lib/custom/boss_eye.lua function Player:sendBossWindow(bosseye) -- Modal window design local window = ModalWindow { title = bosseye.mainTitle, -- Title of the modal window message = bosseye.mainMsg, -- The message to be displayed on the modal window } -- Add buttons to the window (Note: if you change the names of these you must change the functions in the modal window functionallity!) window:addButton("Cancel") -- Set what button is pressed when the player presses enter or escape window:setDefaultEscapeButton("Cancel") window:addChoice("-- Soul War Bosses --") if self:getStorageValue(Storage.AlavancaBosses.GoshnarsHatred) > os.time() then window:addChoice("Goshnars Hatred [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.GoshnarsHatred)) .."]") else window:addChoice("Goshnars Hatred [ON]") end if self:getStorageValue(Storage.AlavancaBosses.GoshnarsMalice) > os.time() then window:addChoice("Goshnars Malice [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.GoshnarsMalice)) .."]") else window:addChoice("Goshnars Malice [ON]") end if self:getStorageValue(Storage.AlavancaBosses.GoshnarsSpite) > os.time() then window:addChoice("Goshnars Spite [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.GoshnarsSpite)) .."]") else window:addChoice("Goshnars Spite [ON]") end if self:getStorageValue(Storage.AlavancaBosses.GoshnarsCruelty) > os.time() then window:addChoice("Goshnars Cruelty [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.GoshnarsCruelty)) .."]") else window:addChoice("Goshnars Cruelty [ON]") end if self:getStorageValue(Storage.AlavancaBosses.GoshnarsGreed) > os.time() then window:addChoice("Goshnars Greed [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.GoshnarsGreed)) .."]") else window:addChoice("Goshnars Greed [ON]") end if self:getStorageValue(Storage.AlavancaBosses.GoshnarsMegalomania) > os.time() then window:addChoice("Goshnars Megalomania [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.GoshnarsMegalomania)) .."]") else window:addChoice("Goshnars Megalomania [ON]") end window:addChoice("-----------------------") window:addChoice("-- Cobra Bastion --") if self:getStorageValue(Storage.GraveDanger.CobraBastion.ScarlettTimer) > os.time() then window:addChoice("Scarlett Etzel [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.GraveDanger.CobraBastion.ScarlettTimer)) .."]") else window:addChoice("Scarlett Etzel [ON]") end window:addChoice("-----------------------") window:addChoice("-- Kilmaresh --") if self:getStorageValue(Storage.Kilmaresh.UrmahlulluTimer) > os.time() then window:addChoice("Urmahlullu [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.Kilmaresh.UrmahlulluTimer)) .."]") else window:addChoice("Urmahlullu [ON]") end window:addChoice("-----------------------") window:addChoice("-- Falcons Bastion --") if self:getStorageValue(Storage.TheSecretLibrary.TheOrderOfTheFalcon.OberonTimer) > os.time() then window:addChoice("Oberon [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.TheSecretLibrary.TheOrderOfTheFalcon.OberonTimer)) .."]") else window:addChoice("Oberon [ON]") end window:addChoice("-----------------------") window:addChoice("-- Lions Bastion --") if self:getStorageValue(Storage.AlavancaBosses.Drume) > os.time() then window:addChoice("Drume [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.Drume)) .."]") else window:addChoice("Drume [ON]") end window:addChoice("-----------------------") window:addChoice("-- Warzone --") if self:getStorageValue(Storage.AlavancaBosses.TheBaronFromBelow) > os.time() then window:addChoice("The Baron From Below [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.TheBaronFromBelow)) .."]") else window:addChoice("The Baron From Below [ON]") end if self:getStorageValue(Storage.AlavancaBosses.Versperoth) > os.time() then window:addChoice("Versperoth [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.Versperoth)) .."]") else window:addChoice("Versperoth [ON]") end if self:getStorageValue(Storage.AlavancaBosses.TheDukeOfTheDepths) > os.time() then window:addChoice("The Duke Of The Depths [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.TheDukeOfTheDepths)) .."]") else window:addChoice("The Duke Of The Depths [ON]") end if self:getStorageValue(Storage.AlavancaBosses.Deathstrike) > os.time() then window:addChoice("Deathstrike [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.Deathstrike)) .."]") else window:addChoice("Deathstrike [ON]") end if self:getStorageValue(Storage.AlavancaBosses.Gnomevil) > os.time() then window:addChoice("Gnomevil [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.Gnomevil)) .."]") else window:addChoice("Gnomevil [ON]") end window:addChoice("-----------------------") window:addChoice("-- Forgotten Knowledge --") if self:getStorageValue(Storage.ForgottenKnowledge.LadyTenebrisTimer) > os.time() then window:addChoice("Lady Tenebris [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.ForgottenKnowledge.LadyTenebrisTimer)) .."]") else window:addChoice("Lady Tenebris [ON]") end if self:getStorageValue(Storage.AlavancaBosses.Lloyd) > os.time() then window:addChoice("Lloyd [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.Lloyd)) .."]") else window:addChoice("Lloyd [ON]") end if self:getStorageValue(Storage.ForgottenKnowledge.ThornKnightTimer) > os.time() then window:addChoice("Mounted Thorn Knight [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.ForgottenKnowledge.ThornKnightTimer)) .."]") else window:addChoice("Mounted Thorn Knight [ON]") end if self:getStorageValue(Storage.ForgottenKnowledge.DragonkingTimer) > os.time() then window:addChoice("Dragonking Zyrtarch [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.ForgottenKnowledge.DragonkingTimer)) .."]") else window:addChoice("Dragonking Zyrtarch [ON]") end if self:getStorageValue(Storage.ForgottenKnowledge.HorrorTimer) > os.time() then window:addChoice("Melting Frozen Horror [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.ForgottenKnowledge.HorrorTimer)) .."]") else window:addChoice("Melting Frozen Horror [ON]") end if self:getStorageValue(Storage.ForgottenKnowledge.TimeGuardianTimer) > os.time() then window:addChoice("The Time Guardian [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.ForgottenKnowledge.TimeGuardianTimer)) .."]") else window:addChoice("The Time Guardian [ON]") end if self:getStorageValue(Storage.ForgottenKnowledge.LastLoreTimer) > os.time() then window:addChoice("The Last Lore Keeper [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.ForgottenKnowledge.LastLoreTimer)) .."]") else window:addChoice("The Last Lore Keeper [ON]") end window:addChoice("-----------------------") window:addChoice("-- Bosses --") if self:getStorageValue(Storage.AlavancaBosses.KingZelos) > os.time() then window:addChoice("King Zelos [" .. os.date('%d/%m/%Y - %H:%M:%S', self:getStorageValue(Storage.AlavancaBosses.KingZelos)) .."]") else window:addChoice("King Zelos [ON]") end -- Send the window to player window:sendToPlayer(self) end
×