Updated to OTCv8 3.1 rev 138

This commit is contained in:
OTCv8
2022-02-24 13:30:08 +00:00
parent 59e865bf82
commit af00528e49
16 changed files with 5 additions and 879 deletions

View File

@@ -105,8 +105,6 @@ local experienceTooltip = 'You have %d%% to advance to level %d.'
local settings = {}
function init()
-- unfortunately won't work for mobile
if g_app.isMobile() then return end
connect(LocalPlayer, {
onHealthChange = onHealthChange,
@@ -127,8 +125,6 @@ function init()
end
function terminate()
-- unfortunately won't work for mobile
if g_app.isMobile() then return end
disconnect(LocalPlayer, {
onHealthChange = onHealthChange,
@@ -145,7 +141,7 @@ end
function setupTopBar()
local topPanel = modules.game_interface.getTopBar()
topBar = topBar or g_ui.loadUI('topbar', topPanel)
topBar = topBar or g_ui.loadUI('TopBar', topPanel)
topBar = topBar or g_ui.createWidget('TopBar', topPanel)
manaBar = topBar.stats.mana

View File

@@ -2,7 +2,7 @@ Module
name: game_topbar
description: Customizable Top Bar from Cipsoft's Tibia 12 Client
author: Vithrax
discord: Vithrax#5814
website: discord_Vithrax#5814
sandboxed: true
autoload: true
scripts: [ topbar ]