Duple Light
Lvl: 15 Attack Physical Range: 1.5

Lvl: 14 Attack Physical Range: 1.5
Lvl: 13 Attack Physical Range: 1.5
Lvl: 12 Attack Physical Range: 1.5
Lvl: 11 Attack Physical Range: 1.5
Lvl: 10 Attack Physical Range: 1.5
Lvl: 9 Attack Physical Range: 1.5
Lvl: 8 Attack Physical Range: 1.5
Lvl: 7 Attack Physical Range: 1.5
Lvl: 6 Attack Physical Range: 1.5
Lvl: 5 Attack Physical Range: 1.5
Lvl: 4 Attack Physical Range: 1.5
Lvl: 3 Attack Physical Range: 1.5
Lvl: 2 Attack Physical Range: 1.5
Lvl: 1 Attack Physical Range: 1.5

Formula

function CommonFun.calcDamage_5401(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Int = srcUser:GetProperty("Int")
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  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 MRefine = srcUser:GetProperty("MRefine")
  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 BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local Num = srcUser:GetRunePoint(54080_AESIR_DUPLE_LIGHT_DAMAGE_5)
  local RuneDamage = 1 + Num * 0.05
  local A = (((AtkFinal + MAtkFinal) * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * RuneDamage
  if srcUser:HasBuffID(56440_MULTI_FIERCE_CARD_:MAX_STACK_0) or srcUser:HasBuffID(56450_MULTI_FIERCE_CARD_:MAX_STACK_0) then
    A = A * 1.3
  end
  local Cri = srcUser:GetProperty("Cri")
  local CriRes2 = targetUser:GetProperty("CriRes")
  local CriDamPer = srcUser:GetProperty("CriDamPer")
  local CriDefPer2 = targetUser:GetProperty("CriDefPer")
  local Rate = Cri - CriRes2
  if CommonFun.IsInRate(Rate, srcUser:GetRandom()) and srcUser:HasBuffID(56450_MULTI_FIERCE_CARD_:MAX_STACK_0) then
    return A * (1.5 + CriDamPer - CriDefPer2), CommonFun.DamageType.Crit
  end
  if A <= 1 then
    return 1
  end
  return A
end

Formula

{
  "id": 1232015,
  "Cost": 1,
  "Icon": "skill_1232001",
  "Camps": "Enemy",
  "Level": 15,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 5401,
      "damChangePer": 1,
      "elementparam": 6
    }
  ],
  "NameZh": "##158754",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "Fire_EP": 3,
  "RollType": 1,
  "SkillHit": 0.5,
  "Attack_EP": 3,
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "no_action": 1
  },
  "Launch_Range": 1.5
}