From efb7a41337580fa0f56168f52c09963b10e701b7 Mon Sep 17 00:00:00 2001 From: dg <dg@51575b47-30f0-44d4-a5cc-537603b46e54> Date: Wed, 13 Jun 2012 21:22:25 +0000 Subject: [PATCH] plop git-svn-id: http://svn.net-core.org/repos/t-engine4@5235 51575b47-30f0-44d4-a5cc-537603b46e54 --- game/modules/tome/dialogs/Levelup2Dialog.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/game/modules/tome/dialogs/Levelup2Dialog.lua b/game/modules/tome/dialogs/Levelup2Dialog.lua index b6ecbf0f37..459634af05 100644 --- a/game/modules/tome/dialogs/Levelup2Dialog.lua +++ b/game/modules/tome/dialogs/Levelup2Dialog.lua @@ -509,7 +509,7 @@ function _M:generateList() if self.actor:getStat(sid, nil, nil, true) >= self.actor.level * 1.4 + 20 or self.actor:isStatMax(sid) or self.actor:getStat(sid, nil, nil, true) >= 60 + math.max(0, (self.actor.level - 50)) then - return {255, 0, 0} + return {0, 255, 0} else return {175,175,175} end @@ -518,7 +518,7 @@ function _M:generateList() if self.actor:getStat(sid, nil, nil, true) >= self.actor.level * 1.4 + 20 or self.actor:isStatMax(sid) or self.actor:getStat(sid, nil, nil, true) >= 60 + math.max(0, (self.actor.level - 50)) then - return tstring{{"color", 0xFF, 0x00, 0x00}, tostring(self.actor:getStat(sid))} + return tstring{{"color", 175, 175, 175}, tostring(self.actor:getStat(sid))} else return tstring{{"color", 0x00, 0xFF, 0x00}, tostring(self.actor:getStat(sid))} end -- GitLab