Fix to creature name formatting and scrollarea maximum option

This commit is contained in:
Henrique Santiago
2012-08-09 21:36:52 -03:00
parent 96af3d3fcc
commit 47f0d7f3a6
5 changed files with 59 additions and 20 deletions

View File

@@ -1,9 +1,14 @@
local currentRsa
local enableCreatureNameFormat = true
function g_game.getRsa()
return currentRsa
end
function g_game.isCreatureNameFormatEnabled()
return enableCreatureNameFormat
end
function g_game.chooseRsa(host)
if host:match('.*\.tibia\.com') or host:match('.*\.cipsoft\.com') then
g_game.setRsa(CIPSOFT_RSA)