SKIN.libColor改名为minoColor并且从SKIN模块移到list

This commit is contained in:
MrZ626
2021-03-04 15:14:50 +08:00
parent ecf899f610
commit 088800c769
11 changed files with 37 additions and 36 deletions

View File

@@ -933,7 +933,7 @@ function draw.demo(P)
gc_pop()
local blockImg=TEXTURE.miniBlock
local libColor=SKIN.libColor
local libColor=minoColor
local skinSet=ENV.skin
--Draw hold
local N=1

View File

@@ -107,7 +107,7 @@ function Player.createBeam(P,R,send,color)
else x2,y2=R.x+308*R.size,R.y+450*R.size
end
local r,g,b=unpack(SKIN.libColor[color])
local r,g,b=unpack(minoColor[color])
r,g,b=r*2,g*2,b*2
local a=GAME.modeEnv.royaleMode and not(P.type=="human"or R.type=="human")and .2 or 1