CommonFun.calcDamage_19302
function CommonFun.calcDamage_19302(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  local Vit = srcUser:GetProperty("Vit")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local DamIncrease = srcUser:GetProperty("DamIncrease")
  local IgnoreDef = 0
  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
  if targetUser.boss or targetUser.mini then
    IgnoreDef = IgnoreDef1
  else
    IgnoreDef = IgnoreDef1 + IgnoreDef2
  end
  if 1 <= IgnoreDef then
    IgnoreDef = 1
  end
  local Refine = srcUser:GetProperty("Refine")
  local Def2 = targetUser:GetProperty("Def")
  local DefPer2 = targetUser:GetProperty("DefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local damChangePer = damageParam.damChangePer
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
  local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  local skilllv_rh = srcUser:GetLernedSkillLevel(2426_:UNIVERSE_FUSION)
  if srcUser:HasBuffID(136100_UNIVERSE_FUSION_:MAX_STACK_0) and targetUser:GetNpcID() ~= 0 and skillID == 2400_:AUTO_ATTACK then
    A = A * (1 + skilllv_rh * 0.06)
  end
  if skillID == 2425_:WARMTH_OF_STARS then
    local Num = srcUser:GetRunePoint(193024_AESIR_WARMTH_OF_STARS_S_DMG_6)
    local Value = srcUser:GetGemValue(193041_WARMTH_OF_STARS_DAMAGE_PERCENTAGE)
    A = A * (1 + Num * 0.06) * (1 + Value / 100000)
  end
  local Grid = srcUser:GetTimeDiskGrid()
  if skillID == 2438_:FLAME_KICK or skillID == 2439_:SUN_EXPLOSION_:SUN_EXPLOSION or skillID == 2440_:CRESCENT_KICK_:CRESCENT_KICK or skillID == 2441_:FULLMOON_KICK_:FULLMOON_KICK then
    if Grid == 1 or Grid == 5 then
      A = A * 1.5
    elseif Grid == 2 or Grid == 4 then
      A = A * 2
    elseif Grid == 3 then
      A = A * 3
    end
  end
  if skillID == 2439_:SUN_EXPLOSION_:SUN_EXPLOSION then
    local Point = math.min(math.floor(Vit / 3), math.floor(Str / 3), math.floor(Dex / 3)) / 100
    local skilllv = srcUser:GetLernedSkillLevel(2453_:SUN_EXPLOSION_SUN_SPLENDOR)
    local Ratio = 1
    if Grid == 3 and 0 < skilllv then
      Ratio = 1 + skilllv * 0.05
    end
    A = A * (1 + Point) * Ratio
  end
  if skillID == 2441_:FULLMOON_KICK_:FULLMOON_KICK then
    local Point = math.min(math.floor(Vit / 3), math.floor(Str / 3), math.floor(Dex / 3)) / 100
    A = A * (1 + Point)
  end
  if skillID == 2440_:CRESCENT_KICK_:CRESCENT_KICK then
    local Hiding = srcUser:GetProperty("Hiding")
    local skilllv = srcUser:GetLernedSkillLevel(2454_:CRESCENT_KICK_BREAKING_DAWN)
    if Hiding == 1 and 0 < skilllv then
      A = A * (skilllv * 0.05 + 1)
    end
  end
  if A <= 1 then
    return 1
  end
  return A
end