Formula

CommonFun.calcBuff_3770

function CommonFun.calcBuff_3770(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Num = srcUser:GetRunePoint(93030_AESIR_CLOSE_CONFINE_TARGET_LOSES_0_5_MAX_HP_PER_SEC)
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = -(Num * 0.5 / 100 * MaxHp)
  if targetUser.boss == true and targetUser.mini == true then
    A = 0
  end
  return A
end