Formula

CommonFun.calcBuff_7880

function CommonFun.calcBuff_7880(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local NoStiff = targetUser:GetProperty("NoStiff")
  local Str2 = targetUser:GetProperty("Str")
  local A = 0
  if targetUser:GetNpcID() == 0 and NoStiff == 0 then
    A = (Str2 * 0.01 + 3) * a
  elseif targetUser:GetNpcID() == 0 and NoStiff == 1 then
    A = Str2 * 0.01 * a
  end
  return A
end