Formula

CommonFun.calcBuff_3460

function CommonFun.calcBuff_3460(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
  local Str = srcUser:GetProperty("Str")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local A = 70
  if 12 <= RefineLv then
    A = A + math.floor(Str / 10) * 2 + math.floor(Dex / 10) * 2 + math.floor(Luk / 10) * 2
  end
  return A
end