【神兵】========被动,红点修改提交

dev_chengFeng
wangzhenxing 2023-04-07 16:54:53 +08:00
parent be9f720590
commit f3639bf28e
3 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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)

View File

@ -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")