Phoenix Dragon Glacier Sword
Lvl: 10 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 200 Range: 6

Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (120% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.

Lvl: 9 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 190 Range: 6
• Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (114% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.
Lvl: 8 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 180 Range: 6
• Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (108% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.
Lvl: 7 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 170 Range: 6
• Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (102% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.
Lvl: 6 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 160 Range: 6
• Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (96% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.
Lvl: 5 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 150 Range: 6
• Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (90% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.
Lvl: 4 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 140 Range: 6
• Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (84% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.
Lvl: 3 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 130 Range: 6
• Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (78% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.
Lvl: 2 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 120 Range: 6
• Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (72% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.
Lvl: 1 LeadSkill Physical CD: 2 sec Skill Delay: 1 sec SP: 110 Range: 6
• Continuously guides the frozen beam towards the front rectangle, causing Water Physical Damage (66% *[Flame Dragon Blast]) to enemies in the range every 0.5 seconds, and has a 15% chance to freeze the target. Lasts 3 seconds. Cannot move during skill guidance.

Formula

function CommonFun.calcDamage_16103(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  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 Weapon = srcUser:GetEquipedID(7_WEAPON)
  local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
  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 LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
  local sizeCorrection = 1
  if nil ~= CommonFun.Shape then
    if CommonFun.Shape.S == targetUser.shape then
      sizeCorrection = 1.5
    elseif CommonFun.Shape.M == targetUser.shape then
      sizeCorrection = 1
    elseif CommonFun.Shape.L == targetUser.shape then
      sizeCorrection = 0.75
    end
  end
  if nil ~= CommonFun.Shape and CommonFun.Shape.L == targetUser.shape and srcUser:HasBuffID(90004784_DRAGON_KING_SWORD_1_T5_:MAX_STACK_0) then
    sizeCorrection = sizeCorrection + 0.25
  end
  local huimie = 1
  local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
  if srcUser:HasBuffID(90000647_DOOM_AXE_1_R8_:MAX_STACK_0) then
    if RefineLv7 < 15 then
      huimie = RefineLv7 * 0.01 + 1 + 0.05
    elseif 15 <= RefineLv7 then
      huimie = RefineLv7 * 0.01 + 1 + 0.05 + 0.1
    end
  end
  if srcUser:HasBuffID(90002657_WARRIOR_S_SWORD_1_R8_:MAX_STACK_0) then
    huimie = RefineLv7 * 0.01 + 1 + 0.15
  end
  if srcUser:HasBuffID(41940_SHATTERED_EARTH_:MAX_STACK_0) then
    if RefineLv7 < 15 then
      huimie = RefineLv7 * 0.01 + 1 + 0.05
    elseif 15 <= RefineLv7 then
      huimie = RefineLv7 * 0.01 + 1 + 0.05 + 0.1
    end
  end
  if srcUser:HasBuffID(43480_KING_S_SWORD_1_:MAX_STACK_0) then
    huimie = RefineLv7 * 0.02 + 1 + 0.15
  end
  local Num = srcUser:GetRunePoint(213015_AESIR_FLAME_DRAGON_BLAST_DMG_10)
  local RuneDamage = 1 + Num * 0.1
  local Card = 1
  if srcUser:HasBuffID(53310_MECHANICAL_HOUND_CARD_:MAX_STACK_0) then
    if 10 <= RefineLv7 then
      Card = Card + 0.1
    else
      Card = Card + 0.05
    end
  end
  local GemValue = srcUser:GetGemValue(61001_ARM_CANNON_DMG_PERCENTAGE)
  local GemDam = 1 + GemValue / 100000
  local Num_dy = srcUser:GetBuffLayer(20610121_ARM_CANNON_FILLER_:MAX_STACK_0)
  Num_dy = Num_dy + 1
  local recursion = 1
  local skilllv_dg = srcUser:GetLernedSkillLevel(1825_HUNTER:RECURSION)
  local skilllv_dg2 = srcUser:GetLernedSkillLevel(1829_HUNTER:RECURSION_ENERGY)
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if srcUser:HasBuffID(184081_RECURSION_ARM_CANNON_:MAX_STACK_0) and skillID == 1812_HUNTER:FLAME_DRAGON_BLAST then
    recursion = 1 + skilllv_dg * 0.03 + skilllv_dg2 * 0.02
  end
  if skillID == 1820_HUNTER:PHOENIX_DRAGON_GLACIER_SWORD then
    local skilllv_jn = srcUser:GetLernedSkillLevel(1812_HUNTER:FLAME_DRAGON_BLAST)
    local skilllv_gz = srcUser:GetLernedSkillLevel(1820_HUNTER:PHOENIX_DRAGON_GLACIER_SWORD)
    Num_dy = 1
    damChangePer = (skilllv_jn * 1.1 + 9.6) * (skilllv_gz * 0.06 + 0.6)
    if srcUser:HasBuffID(184082_RECURSION_PHOTON_CANNON_:MAX_STACK_0) then
      recursion = 1 + skilllv_dg * 0.03 + skilllv_dg2 * 0.02
    end
  end
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * sizeCorrection * huimie * RuneDamage * Card * GemDam * Num_dy * recursion
  if A <= 1 then
    return 1
  end
  return A
end

Self

{
  "id": 184082,
  "BuffDesc": "Phoenix Dragon Glacier Sword in Recursion",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Recursion (Photon Cannon)",
  "BuffRate": {
    "Odds": {
      "a": 1825,
      "b": 100,
      "c": 0,
      "type": 8
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "DelBuffID": [
    184081,
    184080
  ]
}

Enemy

{
  "id": 184110,
  "BuffDesc": "Reduce Wind Damage Reduc.",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Photon Cannon - Wind Damage Reduc.",
  "BuffRate": {
    "Odds": {
      "a": 1830,
      "b": 100,
      "c": 0,
      "type": 8
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "limit_layer": 6,
    "BeWaterDamPer": {
      "a": 1830,
      "b": -0.01,
      "c": 0,
      "type": 8
    }
  }
}

Formula

{
  "CD": 2,
  "id": 1820010,
  "Buff": {
    "self": [
      184082
    ],
    "enemy": [
      184110
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 1820000,
      "params": [
        120
      ]
    }
  ],
  "Icon": "skill_1820001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillDirectionRect",
  "Damage": [
    {
      "type": 16103,
      "damChangePer": 20.6,
      "elementparam": 3
    }
  ],
  "DescId": "##304935",
  "NameZh": "##304913",
  "SE_hit": "Skill/Skill_monster_Doram_carrotgun_hit",
  "CastAct": "use_skill4",
  "DamTime": {
    "type": 1,
    "value": 3
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "ItemCost": [
    {
      "id": 12903,
      "count": 2100
    }
  ],
  "Pvp_buff": {
    "self": [
      184082
    ],
    "enemy": [
      184110
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill4"
  ],
  "Attack_EP": 0,
  "Lead_Type": {
    "DCT": 3,
    "type": 4
  },
  "SE_attack": "Skill/wataru_SE_N14",
  "SkillCost": {
    "sp": 200
  },
  "SkillType": "LeadSkill",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "count": 6,
    "width": 3,
    "distance": 10,
    "interval": 0.5,
    "no_select": 1,
    "range_num": 10,
    "isCountTrap": 1,
    "point_effect": "Eff_Doram_Boar_buff",
    "forward_offset": 0,
    "del_hide_as_atk": 1,
    "ignoreEffectCulling": 1,
    "fieldarea_cannot_immune": 1
  },
  "Launch_Range": 6,
  "PreCondition": [
    {
      "id": 184005,
      "type": 6
    }
  ],
  "ExtraMaxLevel": 1
}