Merge branch 'china/dev' of http://60.1.1.230/gaoxin/JL_Client into china/dev
commit
5f926ebbce
|
@ -24,7 +24,6 @@ function Shield:SetData(...)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
if skill then --技能造成的直接伤害
|
if skill then --技能造成的直接伤害
|
||||||
LogError("damage=="..damage.." shiledv=="..self.shieldValue.." type=="..self.shieldType)
|
|
||||||
local rDamage = math.floor(damage*self.shieldValue)
|
local rDamage = math.floor(damage*self.shieldValue)
|
||||||
if rDamage ~= 0 then
|
if rDamage ~= 0 then
|
||||||
BattleUtil.ApplyDamage(nil,self.target,atkRole, rDamage)
|
BattleUtil.ApplyDamage(nil,self.target,atkRole, rDamage)
|
||||||
|
|
Loading…
Reference in New Issue