【神兵】========被动,红点修改提交
parent
be9f720590
commit
f3639bf28e
|
@ -3245,6 +3245,9 @@ local passivityList = {
|
||||||
type=0
|
type=0
|
||||||
end
|
end
|
||||||
local onBeSkillCastEnd = function(atkRole, damage, bCrit, finalDmg, damageType, skill)
|
local onBeSkillCastEnd = function(atkRole, damage, bCrit, finalDmg, damageType, skill)
|
||||||
|
if skill==nil then
|
||||||
|
return
|
||||||
|
end
|
||||||
if type==0 and (skill.type~=BattleSkillType.Normal and skill.type~=BattleSkillType.ChaosNormal) then
|
if type==0 and (skill.type~=BattleSkillType.Normal and skill.type~=BattleSkillType.ChaosNormal) then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
|
@ -320,7 +320,7 @@ function this.InitListener()
|
||||||
SkillManager.AddMonsterSkill(skill)
|
SkillManager.AddMonsterSkill(skill)
|
||||||
end
|
end
|
||||||
for _, skill in ipairs(sortList) do
|
for _, skill in ipairs(sortList) do
|
||||||
LogError("添加技能到skillmanager")
|
--LogError("添加技能到skillmanager")
|
||||||
SkillManager.AddMonsterSkill(skill)
|
SkillManager.AddMonsterSkill(skill)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -29,6 +29,7 @@ function GodWeaponMainPanel:InitComponent()
|
||||||
Util.GetGameObject(this.btnShop, "redPoint"):SetActive(false)
|
Util.GetGameObject(this.btnShop, "redPoint"):SetActive(false)
|
||||||
this.btnFen = Util.GetGameObject(self.transform, "btnEndRoot/btnFen")
|
this.btnFen = Util.GetGameObject(self.transform, "btnEndRoot/btnFen")
|
||||||
this.btnFenRed = Util.GetGameObject(this.btnFen, "redPoint")
|
this.btnFenRed = Util.GetGameObject(this.btnFen, "redPoint")
|
||||||
|
this.btnFenRed:SetActive(false)
|
||||||
this.btnHand = Util.GetGameObject(self.transform, "btnEndRoot/btnHand")
|
this.btnHand = Util.GetGameObject(self.transform, "btnEndRoot/btnHand")
|
||||||
Util.GetGameObject(this.btnHand, "redPoint"):SetActive(false)
|
Util.GetGameObject(this.btnHand, "redPoint"):SetActive(false)
|
||||||
this.btn_he = Util.GetGameObject(self.transform, "btnEndRoot/btnHe")
|
this.btn_he = Util.GetGameObject(self.transform, "btnEndRoot/btnHe")
|
||||||
|
|
Loading…
Reference in New Issue