主角立绘显示修改
parent
3bf11cf24b
commit
f1746010d1
|
|
@ -36,9 +36,9 @@ function MonsterView:onCreate(go, role, position, root)
|
||||||
end
|
end
|
||||||
if role.roleData.id == 20100 then
|
if role.roleData.id == 20100 then
|
||||||
if role.sex == ROLE_SEX.BOY then
|
if role.sex == ROLE_SEX.BOY then
|
||||||
self.livePath = "live2d_npc_boy"
|
self.livePath = "live2d_caomaolufei"
|
||||||
else
|
else
|
||||||
self.livePath = "live2d_npc_girl"
|
self.livePath = "live2d_namei"
|
||||||
end
|
end
|
||||||
-- 确定是主角
|
-- 确定是主角
|
||||||
self.isMainPlayer = true
|
self.isMainPlayer = true
|
||||||
|
|
|
||||||
|
|
@ -54,9 +54,9 @@ function PlayerView:onCreate(go, role, position, root)
|
||||||
if self.roleId == 21061 then
|
if self.roleId == 21061 then
|
||||||
self.skinId = 0
|
self.skinId = 0
|
||||||
if NameManager.roleSex == ROLE_SEX.BOY then
|
if NameManager.roleSex == ROLE_SEX.BOY then
|
||||||
self.livePath = "live2d_npc_boy"
|
self.livePath = "live2d_caomaolufei"
|
||||||
else
|
else
|
||||||
self.livePath = "live2d_npc_girl"
|
self.livePath = "live2d_namei"
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
local live=HeroConfig[role.roleData.roleId].Live
|
local live=HeroConfig[role.roleData.roleId].Live
|
||||||
|
|
|
||||||
|
|
@ -14,10 +14,10 @@ this.curAreaID = 0
|
||||||
local lastResName
|
local lastResName
|
||||||
local lastLive2d
|
local lastLive2d
|
||||||
--- 男主立绘
|
--- 男主立绘
|
||||||
this.boyRes = "live2d_npc_boy"
|
this.boyRes = "live2d_caomaolufei"
|
||||||
|
|
||||||
--- 女主立绘
|
--- 女主立绘
|
||||||
this.bitchRes = "live2d_npc_girl"
|
this.bitchRes = "live2d_namei"
|
||||||
|
|
||||||
|
|
||||||
function this.Initialize()
|
function this.Initialize()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue