mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 19:44:54 +02:00
add chat panel, send text messages, guard forbidden functions with an ifdef
This commit is contained in:
@@ -43,4 +43,7 @@ end
|
||||
function Game.setSkill(id, level, percent)
|
||||
local skillPanel = skillWindow:getChildById('skillPanel')
|
||||
local levelLabel = skillPanel:getChildById('skillLevel' .. id)
|
||||
end
|
||||
end
|
||||
|
||||
connect(Game, { onLogin = Skills.create,
|
||||
onLogout = Skills.destroy })
|
@@ -9,10 +9,6 @@ Module
|
||||
|
||||
onLoad: |
|
||||
require 'skills'
|
||||
Skills.create()
|
||||
return true
|
||||
|
||||
onUnload:
|
||||
Skills.destroy()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user