Machine Revolution
Lvl: 1 Attack Physical Skill Delay: 2 sec

Formula

function CommonFun.calcDamage_6405(srcUser, targetUser, params, damageParam, logger)
  local Master = srcUser:GetMasterUser()
  if Master == nil then
    return 0
  end
  local Str = Master:GetProperty("Str")
  local Dex = Master:GetProperty("Dex")
  local Luk = Master:GetProperty("Luk")
  local Atk = Master:GetProperty("Atk")
  local AtkPer = Master:GetProperty("AtkPer")
  local DamIncrease = Master:GetProperty("DamIncrease")
  local IgnoreDef = 0
  local IgnoreDef1 = Master:GetProperty("IgnoreDef")
  local IgnoreDef2 = Master: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 = Master: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(Master, targetUser)
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local damChangePer = damageParam.damChangePer
  local Weapon = Master:GetEquipedID(7_WEAPON)
  local RefineLv = Master:GetEquipedRefineLv(7_WEAPON)
  local raceparam = CommonFun.CalcRaceParam(Master, targetUser, params, damageParam, logger)
  local bodyparam = CommonFun.CalcBodyParam(Master, targetUser, params, damageParam, logger)
  local elementparam = CommonFun.CalcElementParam(Master, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(Master, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(Master, targetUser, params, damageParam, logger)
  local bodyparam2 = CommonFun.CalcBodyParam2(Master, targetUser, params, damageParam, logger)
  local elementparam2 = CommonFun.CalcElementParam2(Master, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(Master, 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(Master, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(Master, targetUser, params)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local Sp = Master:GetProperty("Sp")
  local Hp = Master:GetProperty("Hp")
  local Vit = Master:GetProperty("Vit")
  local mapid, maptype = Master:GetMapInfo()
  local pvpRatio = 1
  if maptype == PVP_MAPS then
    pvpRatio = 0.25
  end
  local Wrench = 1
  local Ring7 = Master:GetEquipedID(7_WEAPON)
  local RefineLv7 = Master:GetEquipedRefineLv(7_WEAPON)
  if Ring7 == 41556 or Ring7 == 141556 then
    Wrench = Wrench + RefineLv7 * 0.02
  end
  if Master:HasBuffID(22880_ENGINEER_S_WRENCH_POST_INFUSION_1_:MAX_STACK_0) then
    Wrench = Wrench + RefineLv7 * 0.02
  end
  local Fifth = 0
  if Master:HasBuffID(90004864_13006_:MAX_STACK_0) then
    Fifth = 10
  end
  if Master:HasBuffID(55790_9903_:MAX_STACK_0) then
    Wrench = 0.1 + Wrench
  end
  if Master:HasBuffID(57860) then
    Wrench = 0.1 + Wrench
  end
  local Num = Master:GetRunePoint(64040_AESIR_SUICIDAL_DESTRUCTION_DAMAGE_5)
  local RuneDamage = 1 + Num * 0.05
  local skilllv_zb = Master:GetLernedSkillLevel(1284_ASSASSIN:SELF_DESTRUCTION)
  local skilllv_jq = Master:GetLernedSkillLevel(4309_CHRONOMANCER:MACHINE_REVOLUTION)
  damChangePer = 0.1 * skilllv_zb * (1 + skilllv_jq * 0.2)
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (Sp / 100 + math.min(Hp / 5000 * pvpRatio, 200) + Vit / 10 + Fifth) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Wrench * RuneDamage
  if A <= 1 then
    return 1
  end
  return A
end

Formula

{
  "id": 4319001,
  "Cost": 1,
  "Icon": "skill_4309001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 6405,
      "damChangePer": 0,
      "elementparam": 5
    }
  ],
  "NameZh": "##169389",
  "DamTime": {
    "type": 1,
    "value": 3
  },
  "DelayCD": 2,
  "Fire_EP": 3,
  "RollType": 1,
  "AttackAct": [
    "use_skill21"
  ],
  "Attack_EP": 2,
  "SkillType": "Attack",
  "Target_EP": 3,
  "E_Attack_On": 1,
  "Logic_Param": {
    "range": 4,
    "range_num": 15
  },
  "Launch_Range": 0
}