diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/View/RoleView.lua b/Assets/ManagedResources/~Lua/Modules/Battle/View/RoleView.lua index 43eb4cfd88..e8d73390df 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/View/RoleView.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/View/RoleView.lua @@ -1,4 +1,4 @@ -require("Modules.Battle.Logic.Misc.BattleDefine") +require("Modules.Battle.Logic.Misc.BattleDefine") local FEAConfig = require("Modules/Battle/Config/FightEffectAudioConfig") RoleView = {} RoleView.__index = RoleView @@ -310,6 +310,7 @@ function RoleView:LoopFunc(time, count, func) if not self._LoopFuncList then self._LoopFuncList = {} end + local timer = nil local ctr = 0 timer = Timer.New(function () @@ -1373,7 +1374,8 @@ function RoleView:OnDamaged(atkRole, dmg, bCrit, finalDmg, damageType, dotType, end -- function RoleView:OnceDamaged(atkRole, dmg, bCrit, finalDmg, damageType, dotType, skill) - if self.isDead then return end + --王振兴注释,为了解决英雄死亡多段伤害显示不完整 2020/8/17 + --if self.isDead then return end if dotType then if dotType == DotType.Poison then self:ArtFloating(ArtFloatingType.PoisonDamage, ArtFloatingColor.Poison, dmg)