Storm Gust
Lvl: 1 Attack Physical Range: 1.5

Deals (Self Atk*100%) damage to an enemy target

Aesir

• Normal Attack Up Auto attack deals +1% damage

Formula

function CommonFun.calcDamage_11201(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 AttrEffect = targetUser:GetProperty("AttrEffect")
  local bits = CommonFun.getBits(AttrEffect)
  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 LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
  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 skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local skilllv_1 = srcUser:GetLernedSkillLevel(127_KNIGHT:ELEMENTAL_ARROW)
  local atk_add = 0
  if 10 < skilllv_1 and (skillID == 1360_ASSASSIN_CROSS:STORM_GUST or skillID == 1397_ASSASSIN_CROSS:STORM_GUST_ASSASSIN_CROSS:STORM_GUST) then
    atk_add = Dex * ((skilllv_1 - 10) * 0.5)
  end
  local NormalAtkAttr = srcUser:GetProperty("NormalAtk")
  local NormalAtk = NormalAtkAttr + 3 * Dex
  local BaseAtk = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 5) + math.floor(Luk / 5)
  local AtkFinal = ((Atk - BaseAtk + NormalAtk + atk_add) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local targetid = targetUser:GetGuid()
  local distance = srcUser:GetDistance(targetid)
  local skilllv_1 = srcUser:GetLernedSkillLevel(133_KNIGHT:VULTURE_S_EYE)
  local DisDam = 1
  if 10 < skilllv_1 and skillID == 1397_ASSASSIN_CROSS:STORM_GUST_ASSASSIN_CROSS:STORM_GUST then
    DisDam = 1 + distance / 7.5 * (skilllv_1 - 10) * 0.1
    if srcUser:HasBuffID(131080_UNLIMITED_STARS_:MAX_STACK_0) then
      DisDam = 1 + (skilllv_1 - 10) * 0.1
    end
    DisDam = math.min(DisDam, 2)
  end
  local Injured = 1
  if bits[CommonFun.AttrEffect.NormalSkillDam] == 1 then
    Injured = 1.3
  end
  local Num1 = srcUser:GetRunePoint(103030_AESIR_AUTO_ATTACK_DEALS_1_DAMAGE)
  local RuneDamage = Num1 * 0.01 + 1
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * DisDam * Injured * RuneDamage
  if A <= 1 then
    return 1
  end
  return A
end

Formula

{
  "CD": 0,
  "id": 1360001,
  "Cost": 0,
  "Desc": [
    {
      "id": 43000,
      "params": [
        100
      ]
    }
  ],
  "Icon": "skill_10000",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 11201,
      "damChangePer": 1
    }
  ],
  "DescId": "##170885",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "Fire_EP": 3,
  "RollType": 1,
  "AttackAct": [
    "attack"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/WNattack",
  "SkillType": "Attack",
  "Target_EP": 3,
  "Launch_Type": 1,
  "Launch_Range": 1.5,
  "StrengthenCost": [
    {
      "num": 1,
      "type": 1
    }
  ]
}