Formula

CommonFun.calcBuff_9010

function CommonFun.calcBuff_9010(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local A = 0
  local skilllv_1 = targetUser:GetLernedSkillLevel(2956_MERCHANT:END_OF_EVERYTHING)
  if skilllv_1 ~= 0 then
    A = a
  else
    A = b
  end
  return A
end