完整显示多段伤害
parent
cdf78a9dcf
commit
cd5f26e8af
|
|
@ -1,4 +1,4 @@
|
||||||
require("Modules.Battle.Logic.Misc.BattleDefine")
|
require("Modules.Battle.Logic.Misc.BattleDefine")
|
||||||
local FEAConfig = require("Modules/Battle/Config/FightEffectAudioConfig")
|
local FEAConfig = require("Modules/Battle/Config/FightEffectAudioConfig")
|
||||||
RoleView = {}
|
RoleView = {}
|
||||||
RoleView.__index = RoleView
|
RoleView.__index = RoleView
|
||||||
|
|
@ -310,6 +310,7 @@ function RoleView:LoopFunc(time, count, func)
|
||||||
if not self._LoopFuncList then
|
if not self._LoopFuncList then
|
||||||
self._LoopFuncList = {}
|
self._LoopFuncList = {}
|
||||||
end
|
end
|
||||||
|
|
||||||
local timer = nil
|
local timer = nil
|
||||||
local ctr = 0
|
local ctr = 0
|
||||||
timer = Timer.New(function ()
|
timer = Timer.New(function ()
|
||||||
|
|
@ -1373,7 +1374,8 @@ function RoleView:OnDamaged(atkRole, dmg, bCrit, finalDmg, damageType, dotType,
|
||||||
end
|
end
|
||||||
--
|
--
|
||||||
function RoleView:OnceDamaged(atkRole, dmg, bCrit, finalDmg, damageType, dotType, skill)
|
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 then
|
||||||
if dotType == DotType.Poison then
|
if dotType == DotType.Poison then
|
||||||
self:ArtFloating(ArtFloatingType.PoisonDamage, ArtFloatingColor.Poison, dmg)
|
self:ArtFloating(ArtFloatingType.PoisonDamage, ArtFloatingColor.Poison, dmg)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue