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