Mechanical Punch
Lvl: 10 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 240 Range: 6 Cast Time: 3

Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 3500% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.

Lvl: 9 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 225 Range: 6 Cast Time: 3
• Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 3300% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.
Lvl: 8 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 210 Range: 6 Cast Time: 3
• Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 3100% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.
Lvl: 7 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 195 Range: 6 Cast Time: 3
• Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 2900% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.
Lvl: 6 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 180 Range: 6 Cast Time: 3
• Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 2700% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.
Lvl: 5 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 165 Range: 6 Cast Time: 3
• Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 2500% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.
Lvl: 4 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 150 Range: 6 Cast Time: 3
• Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 2300% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.
Lvl: 3 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 135 Range: 6 Cast Time: 3
• Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 2100% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.
Lvl: 2 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 120 Range: 6 Cast Time: 3
• Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 1900% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.
Lvl: 1 Attack Magic CD: 10 sec Skill Delay: 1 sec SP: 105 Range: 6 Cast Time: 3
• Throws a Mechanical Punch to the target and other enemies within 5 meters in the distance, dealing (M. ATK +Self STR x Self VIT/5) x 1700% neutral M. DMG and gathering them together, immobilizing them for 2 seconds.

Formula

function CommonFun.calcDamage_63501(srcUser, targetUser, params, damageParam, logger)
  local Int = srcUser:GetProperty("Int")
  local Vit = srcUser:GetProperty("Vit")
  local Str = srcUser:GetProperty("Str")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local RangeDam = srcUser:GetProperty("RangeDam")
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
  if 1 <= IgnoreMDef then
    IgnoreMDef = 1
  end
  local MRefine = srcUser:GetProperty("MRefine")
  local RangeDam = srcUser:GetProperty("RangeDam")
  local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
  local MDef2 = targetUser:GetProperty("MDef")
  local MDefPer2 = targetUser:GetProperty("MDefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local Int2 = targetUser:GetProperty("Int")
  local IntPer2 = targetUser:GetProperty("IntPer")
  local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
  local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
  local damChangePer = damageParam.damChangePer
  local BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk + Str * Vit / 5) * raceparam * bossparam * bossparam2
  local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
  local skilllv_fsp = srcUser:GetLernedSkillLevel(2592_HIGH_PRIEST:INCENDIARY_GUN)
  local skilllv_lx = srcUser:GetLernedSkillLevel(2598_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN)
  local skilllv_lgp = srcUser:GetLernedSkillLevel(2600_HIGH_PRIEST:SPARK_FLOW)
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 2592_HIGH_PRIEST:INCENDIARY_GUN_HIGH_PRIEST:INCENDIARY_GUN and damageParam.elementparam == 1 and 1 <= skilllv_lgp and srcUser:HasBuffID(136910_THUNDERBOLT_CORE_:MAX_STACK_0) then
    damChangePer = (skilllv_fsp * 2.4 + 12) * skilllv_lgp * 0.1
  end
  if skillID == 2598_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN and damageParam.elementparam == 4 then
    local GemValue = srcUser:GetGemValue(203101_RECHARGEABLE_INCENDIARY_GUN_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    local Fifth = 1
    local MaxSp = srcUser:GetProperty("MaxSp")
    local Sp = srcUser:GetProperty("Sp")
    if srcUser:HasBuffID(90004734_VAULT_LIGHTNING_PUNCH_1_T5_:MAX_STACK_0) and srcUser:HasBuffID(136910_THUNDERBOLT_CORE_:MAX_STACK_0) then
      Fifth = Fifth + 0.15 * Sp / MaxSp
    end
    damChangePer = (skilllv_fsp * 2.4 + 12) * (skilllv_lx * 0.02 + 0.3) * GemDam * Fifth
  end
  if skillID == 2598_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN and damageParam.elementparam == 1 and 1 <= skilllv_lgp and srcUser:HasBuffID(136910_THUNDERBOLT_CORE_:MAX_STACK_0) then
    local GemValue = srcUser:GetGemValue(203101_RECHARGEABLE_INCENDIARY_GUN_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    local Fifth = 1
    local MaxSp = srcUser:GetProperty("MaxSp")
    local Sp = srcUser:GetProperty("Sp")
    if srcUser:HasBuffID(90004734_VAULT_LIGHTNING_PUNCH_1_T5_:MAX_STACK_0) and srcUser:HasBuffID(136910_THUNDERBOLT_CORE_:MAX_STACK_0) then
      Fifth = Fifth + 0.15 * Sp / MaxSp
    end
    damChangePer = (skilllv_fsp * 2.4 + 12) * (skilllv_lx * 0.02 + 0.3) * skilllv_lgp * 0.1 * GemDam * Fifth
  end
  local A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 * (1 + RangeDam) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)
  if targetUser:GetNpcID() ~= 0 and (skillID == 2592_HIGH_PRIEST:INCENDIARY_GUN_HIGH_PRIEST:INCENDIARY_GUN or skillID == 2598_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN_HIGH_PRIEST:RECHARGEABLE_INCENDIARY_GUN) then
    A = A * (1 + skilllv_fsp * 0.1)
  end
  if A <= 1 then
    return 1
  end
  return A
end

Enemy

{
  "id": 136940,
  "BuffName": "Mechanical Punch",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "AttrChange",
    "NoMove": 1,
    "NoEffectMove": 3
  },
  "BuffStateID": 184042
}

Formula

{
  "CD": 10,
  "id": 2597010,
  "Buff": {
    "enemy": [
      136940
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2597000,
      "params": [
        3500
      ]
    }
  ],
  "Icon": "skill_2597001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 63501,
      "damChangePer": 35,
      "elementparam": 5
    }
  ],
  "DescId": "##1272037",
  "NameZh": "##1266328",
  "CastAct": "reading",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "Pvp_buff": {
    "enemy": [
      136940
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_skill3"
  ],
  "Attack_EP": 5,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 3,
    "type": 2
  },
  "SE_attack": "Skill/Skill_Hero_Janos_Attack_05",
  "SkillCost": {
    "sp": 240
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 2,
  "HitEffects": [
    {
      "type": 1,
      "speed": 10,
      "distance": 5,
      "direction": "forward_locktarget",
      "randomDistance": 1
    }
  ],
  "Logic_Param": {
    "emit": {
      "type": 1,
      "speed": 30,
      "effect": "sfx_genos_quan_bullet_prf",
      "single_fire": false
    },
    "range": 5,
    "sub_fire": false,
    "range_num": 10
  },
  "Launch_Range": 6,
  "FashionAttackAct": "attack_Knuckle"
}