Path of the Sun
Lvl: 5 Attack Physical CD: 1.5 sec Skill Delay: 1 sec SP: 50 Range: 6

Deals DMG to distant enemies 5 times in an instant. Each kick deals 800%*P.ATK as P.DMG and grants 1 [Solar Power] stack. When [Solar Power] stacks reach 60, this skill grants a 50% chance to flee P.DMG and M.DMG. Lasts 1s. When in [Scorching Realm], [Path of the Sun] launches doubled attacks.

Lvl: 4 Attack Physical CD: 1.5 sec Skill Delay: 1 sec SP: 48 Range: 6
• Deals DMG to distant enemies 5 times in an instant. Each kick deals 720%*P.ATK as P.DMG and grants 1 [Solar Power] stack. When [Solar Power] stacks reach 60, this skill grants a 50% chance to flee P.DMG and M.DMG. Lasts 1s. When in [Scorching Realm], [Path of the Sun] launches doubled attacks.
Lvl: 3 Attack Physical CD: 1.5 sec Skill Delay: 1 sec SP: 46 Range: 6
• Deals DMG to distant enemies 5 times in an instant. Each kick deals 640%*P.ATK as P.DMG and grants 1 [Solar Power] stack. When [Solar Power] stacks reach 60, this skill grants a 50% chance to flee P.DMG and M.DMG. Lasts 1s. When in [Scorching Realm], [Path of the Sun] launches doubled attacks.
Lvl: 2 Attack Physical CD: 1.5 sec Skill Delay: 1 sec SP: 44 Range: 6
• Deals DMG to distant enemies 5 times in an instant. Each kick deals 560%*P.ATK as P.DMG and grants 1 [Solar Power] stack. When [Solar Power] stacks reach 60, this skill grants a 50% chance to flee P.DMG and M.DMG. Lasts 1s. When in [Scorching Realm], [Path of the Sun] launches doubled attacks.
Lvl: 1 Attack Physical CD: 1.5 sec Skill Delay: 1 sec SP: 42 Range: 6
• Deals DMG to distant enemies 5 times in an instant. Each kick deals 480%*P.ATK as P.DMG and grants 1 [Solar Power] stack. When [Solar Power] stacks reach 60, this skill grants a 50% chance to flee P.DMG and M.DMG. Lasts 1s. When in [Scorching Realm], [Path of the Sun] launches doubled attacks.

Formula

function CommonFun.calcDamage_77502(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 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 skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local GemValue = srcUser:GetGemValue(217151_FOR_EVERY_10_MOV_SPD_PATH_OF_THE_SUN_DMG_PERCENTAGE)
  local MoveSpd = srcUser:GetProperty("MoveSpd")
  local MoveRatio = 1 + MoveSpd * 10 * GemValue / 100000
  local layer_taiyang = srcUser:GetBuffLayer(139610_POWER_OF_THE_SUN_:MAX_STACK_0)
  local yanghui = 1
  if targetUser:GetNpcID() ~= 0 and srcUser:HasBuffID(139680_SUNNY_:MAX_STACK_0) then
    local skill_xuri = srcUser:GetLernedSkillLevel(4707_SHADOW_CHASER:SUNLIGHT_RITUAL)
    yanghui = 1 + skill_xuri * 0.001 * layer_taiyang
  end
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * MoveRatio * yanghui
  if A <= 1 then
    return 1
  end
  return A
end

Self

{
  "id": 139620,
  "BuffName": "积累太阳之力",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AddBuff",
    "layer": [
      {
        "id": 139610,
        "layer": {
          "type": 9070
        }
      }
    ],
    "always_calc": 1
  }
}

Self

{
  "id": 139621,
  "BuffName": "积累太阳之力",
  "BuffRate": {
    "Odds": 100
  }
}

Self

{
  "id": 139625,
  "BuffName": "连环脚(增加太阳之力)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AddBuff",
    "layer": [
      {
        "id": 139610,
        "layer": 1
      }
    ]
  }
}

Self

{
  "id": 139630,
  "BuffName": "连环脚(闪避伤害)",
  "BuffRate": {
    "Odds": {
      "a": 139610,
      "b": 40,
      "type": 6850
    }
  }
}

Formula

{
  "CD": 1.5,
  "id": 4704005,
  "Buff": {
    "self": [
      139620,
      139621,
      139625,
      139630
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 4704000,
      "params": [
        800
      ]
    }
  ],
  "Icon": "skill_4704001",
  "Camps": "Enemy",
  "Level": 5,
  "Logic": "SkillTargetPoint",
  "Damage": [
    {
      "type": 77502,
      "damChangePer": 8
    }
  ],
  "DescId": "##42617615",
  "NameZh": "##42617519",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      139620,
      139621,
      139625,
      139630
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill3"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/sfx_skill_sun_sunlight_attack_01",
  "SkillCost": {
    "sp": 50
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "emit": {
      "type": 1,
      "speed": 30,
      "effect": "sfx_sunshine_Lhj_Bullet_01_prf"
    },
    "count": 5,
    "range": 0.1,
    "interval": 0.1,
    "no_select": 1,
    "range_num": 1,
    "isCountTrap": 1,
    "passive_fire": 1
  },
  "Launch_Range": 6,
  "FashionAttackAct": "use_skill4_taekwondo"
}