mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 14:43:27 +02:00
Updated to OTCv8 3.1 rev 138
This commit is contained in:
@@ -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
|
||||
|
@@ -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 ]
|
||||
|
Reference in New Issue
Block a user