Formula

CommonFun.calcBuff_6890

function CommonFun.calcBuff_6890(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local HpM = srcUser:GetProperty("Hp")
  local MaxHpM = srcUser:GetProperty("MaxHp")
  local hpperM = HpM / MaxHpM
  local A = math.floor((1 - hpperM) * 10) * 20
  return A
end