Amaterasu Flash
Lvl: 10 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 40 Range: 9

A Ninja dashes 9 meters forward, inflicting Physical DMG of ATK *2700% on enemy units in the way with a 100% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped

Lvl: 9 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 39 Range: 9
• A Ninja dashes 9 meters forward, inflicting Physical DMG of ATK *2600% on enemy units in the way with a 92% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped
Lvl: 8 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 38 Range: 8
• A Ninja dashes 8 meters forward, inflicting Physical DMG of ATK *2500% on enemy units in the way with a 84% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped
Lvl: 7 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 37 Range: 8
• A Ninja dashes 8 meters forward, inflicting Physical DMG of ATK *2400% on enemy units in the way with a 76% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped
Lvl: 6 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 36 Range: 7
• A Ninja dashes 7 meters forward, inflicting Physical DMG of ATK *2300% on enemy units in the way with a 68% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped
Lvl: 5 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 35 Range: 7
• A Ninja dashes 7 meters forward, inflicting Physical DMG of ATK *2200% on enemy units in the way with a 60% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped
Lvl: 4 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 34 Range: 6
• A Ninja dashes 6 meters forward, inflicting Physical DMG of ATK *2100% on enemy units in the way with a 52% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped
Lvl: 3 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 33 Range: 6
• A Ninja dashes 6 meters forward, inflicting Physical DMG of ATK *2000% on enemy units in the way with a 44% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped
Lvl: 2 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 32 Range: 5
• A Ninja dashes 5 meters forward, inflicting Physical DMG of ATK *1900% on enemy units in the way with a 36% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped
Lvl: 1 Attack Physical CD: 8 sec Skill Delay: 1.5 sec SP: 31 Range: 5
• A Ninja dashes 5 meters forward, inflicting Physical DMG of ATK *1800% on enemy units in the way with a 28% chance of causing the targets to bleed for 10 seconds. A Sword must be equipped

Formula

function CommonFun.calcDamage_16302(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 AttrEffect2 = srcUser:GetProperty("AttrEffect")
  local bits2 = CommonFun.getBits(AttrEffect2)
  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, params)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local damChangePer = damageParam.damChangePer
  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 2024_SNIPER:SHADOW_STEPPER then
    local Hiding = targetUser:GetProperty("Hiding")
    local GemValue = srcUser:GetGemValue(163151_SHADOW_STEPPER_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    A = A * GemDam
    if Hiding == 1 then
      A = A * 2
    end
  end
  if skillID == 2018_SNIPER:SHADOW_WARRIOR then
    local skilll = srcUser:GetLernedSkillLevel(2039_SNIPER:SHADOW_WARRIOR)
    damChangePer = skilll * 1.5
    A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
    local Rune = srcUser:GetRunePoint(163044_AESIR_SHADOW_WARRIOR_DMG_8)
    local GemValue = srcUser:GetGemValue(163042_SHADOW_WARRIOR_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    A = A * (1 + Rune * 0.08) * GemDam
    if srcUser:HasBuffID(21630080_SHADOW_WARRIOR_CAN_CAST_CRITICAL_ATK_:MAX_STACK_0) then
      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()) then
        return A * (1.5 + CriDamPer - CriDefPer2), CommonFun.DamageType.Crit
      end
    end
  end
  if skillID == 2035_SNIPER:CROSS_SLASH then
    local GemValue = srcUser:GetGemValue(163121_CROSS_SLASH_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    A = A * GemDam
  end
  if A <= 1 then
    return 1
  end
  return A
end

Enemy 3210

function CommonFun.calcBuff_3210(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
  local skilllv_1 = srcUser:GetLernedSkillLevel(1242_ASSASSIN:TOOTH_OF_WARG)
  local A = -MaxHp * (skilllv_1 / 10 + 1) * 0.005
  return A
end

Enemy

{
  "id": 132770,
  "BuffName": "Killing Stroke (Bleed Effect)",
  "BuffRate": {
    "Odds": {
      "a": 8,
      "b": 20,
      "type": 185
    }
  },
  "BuffEffect": {
    "id": [
      132771,
      132772
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 132771,
  "BuffDesc": "Bleeding: Atk and Atk Spd down. Drains HP",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Bleeding Effect [HP Loss]",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "StatusChange",
    "AtkPer": -0.25,
    "SkillASPD": -0.25,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "2_Blood"
  },
  "BuffStateID": 120032
}

Enemy

{
  "id": 132772,
  "BuffName": "HP Loss Effect",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "Hp": {
      "type": 3210
    },
    "type": "HpReduce",
    "delHpPer": 0.2,
    "StateEffect": "2_Blood"
  }
}

Formula

{
  "CD": 8,
  "id": 2050010,
  "Buff": {
    "enemy": [
      132770
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2050000,
      "params": [
        9,
        2700,
        100
      ]
    }
  ],
  "Icon": "skill_2050001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillDirectionRect",
  "Damage": [
    {
      "type": 16302,
      "damChangePer": 27
    }
  ],
  "DescId": "##533971",
  "NameZh": "##530300",
  "SE_hit": "Skill/sword_hit",
  "DamTime": {
    "type": 1,
    "value": 5
  },
  "DelayCD": 1.5,
  "Fire_EP": 6,
  "ItemCost": [
    {
      "id": 12903,
      "count": 1580
    }
  ],
  "PointAct": "reading2",
  "Pvp_buff": {
    "enemy": [
      132770
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/ninja_tianzhaoyishan",
  "SkillCost": {
    "sp": 40
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "FireEffects": [
    {
      "time": 0.3,
      "type": 1,
      "curve": 1,
      "range": 0.08
    }
  ],
  "Logic_Param": {
    "width": 4,
    "distance": 9,
    "range_num": 10,
    "point_effect": "Eff_Doram_Boar_buff",
    "forward_offset": 0
  },
  "Launch_Range": 9,
  "PreCondition": [
    {
      "type": 2,
      "itemtype": 180
    }
  ],
  "AttackEffects": [
    {
      "type": 1,
      "speed": 70,
      "distance": 9,
      "direction": "forward"
    }
  ],
  "ExtraMaxLevel": 0
}