mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
Added new stats to the skills module, fixed minor market error.
* Added Offline Training information. * Added Regeneration Time information. * Added Speed information. * Added base stats/skills information (will show the players increase in a skill e.g. magic level 43 = 40 + 3 bonus from an item). * Fixed the game feature constants in const.lua. * Fixed a market error when logging out. * Added removeTooltip function.
This commit is contained in:
@@ -92,6 +92,10 @@ function UIWidget:setTooltip(text)
|
||||
self.tooltip = text
|
||||
end
|
||||
|
||||
function UIWidget:removeTooltip()
|
||||
self.tooltip = nil
|
||||
end
|
||||
|
||||
function UIWidget:getTooltip()
|
||||
return self.tooltip
|
||||
end
|
||||
|
Reference in New Issue
Block a user