修改战斗编辑器
parent
734cb92be9
commit
15e6d575d0
|
@ -86,7 +86,7 @@ function SkillSetView:Show(camp, pos, BattleView)
|
||||||
self.nt10.text = nCombat.AttackDisplaceoffset==nil and "" or (nCombat.AttackDisplaceoffset[1][1].."#"..nCombat.AttackDisplaceoffset[1][2])
|
self.nt10.text = nCombat.AttackDisplaceoffset==nil and "" or (nCombat.AttackDisplaceoffset[1][1].."#"..nCombat.AttackDisplaceoffset[1][2])
|
||||||
self.nt11.text = nCombat.ActionTime
|
self.nt11.text = nCombat.ActionTime
|
||||||
self.nt12.text = nCombat.SkillNumbetTime[1][1]==0 and "" or self:SetStr(nCombat.SkillNumbetTime)
|
self.nt12.text = nCombat.SkillNumbetTime[1][1]==0 and "" or self:SetStr(nCombat.SkillNumbetTime)
|
||||||
self.nt13.text = nCombat.Offset and nCombat.Offset[1].."#"..nCombat.Offset[2] or ""
|
-- self.nt13.text = nCombat.Offset and nCombat.Offset[1].."#"..nCombat.Offset[2] or ""
|
||||||
|
|
||||||
local sCId = BattleManager.GetCombatIdBySkin(sSkillId, self.role.roleData.skinId)
|
local sCId = BattleManager.GetCombatIdBySkin(sSkillId, self.role.roleData.skinId)
|
||||||
local sCombat = BattleManager.GetSkillCombat(sCId)
|
local sCombat = BattleManager.GetSkillCombat(sCId)
|
||||||
|
@ -102,7 +102,7 @@ function SkillSetView:Show(camp, pos, BattleView)
|
||||||
self.st10.text = sCombat.AttackDisplaceoffset==nil and "" or (sCombat.AttackDisplaceoffset[1][1].."#"..sCombat.AttackDisplaceoffset[1][2])
|
self.st10.text = sCombat.AttackDisplaceoffset==nil and "" or (sCombat.AttackDisplaceoffset[1][1].."#"..sCombat.AttackDisplaceoffset[1][2])
|
||||||
self.st11.text = sCombat.ActionTime
|
self.st11.text = sCombat.ActionTime
|
||||||
self.st12.text = sCombat.SkillNumbetTime[1][1]==0 and "" or self:SetStr(sCombat.SkillNumbetTime)
|
self.st12.text = sCombat.SkillNumbetTime[1][1]==0 and "" or self:SetStr(sCombat.SkillNumbetTime)
|
||||||
self.st13.text = sCombat.Offset and sCombat.Offset[1].."#"..sCombat.Offset[2] or ""
|
-- self.st13.text = sCombat.Offset and sCombat.Offset[1].."#"..sCombat.Offset[2] or ""
|
||||||
end
|
end
|
||||||
function SkillSetView:SetStr(table)
|
function SkillSetView:SetStr(table)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue