Formula

CommonFun.calcBuff_8780

function CommonFun.calcBuff_8780(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Master = srcUser:GetMasterUser()
  local Buf = 0
  if Master ~= nil and Master:HasBuffID(181530_ATTENDANT_BUFF_:MAX_STACK_0) then
    Buf = 1
  end
  local A = Buf * a
  return A
end