Skip to content
Snippets Groups Projects
Commit efb7a413 authored by dg's avatar dg
Browse files

plop

git-svn-id: http://svn.net-core.org/repos/t-engine4@5235 51575b47-30f0-44d4-a5cc-537603b46e54
parent 1abfd152
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment