Formula

CommonFun.calcBuff_8710

function CommonFun.calcBuff_8710(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv = srcUser:GetLernedSkillLevel(2928_MERCHANT:MOBILE_COOKING)
  local Str = targetUser:GetProperty("Str")
  local A = 0
  if a == 1 and b == 0 then
    A = 1 + Str / 300
  end
  if a == 0 and b == 1 then
    A = skilllv * Str * c
  end
  return A
end