Estun
Lvl: 20 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 240 Range: 6 Cast Time: 6

Applies upon one enemy unit with a neutral M. DMG of M. ATK*2800%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using

Lvl: 19 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 230 Range: 6 Cast Time: 5.8
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*2690%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 18 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 220 Range: 6 Cast Time: 5.6
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*2580%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 17 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 210 Range: 6 Cast Time: 5.4
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*2470%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 16 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 200 Range: 6 Cast Time: 5.2
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*2360%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 15 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 190 Range: 6 Cast Time: 5
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*2250%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 14 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 180 Range: 6 Cast Time: 4.8
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*2140%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 13 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 170 Range: 6 Cast Time: 4.6
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*2030%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 12 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 160 Range: 6 Cast Time: 4.4
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*1920%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 11 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 150 Range: 6 Cast Time: 4.2
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*1810%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 10 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 140 Range: 6 Cast Time: 4
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*1700%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 9 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 130 Range: 6 Cast Time: 3.8
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*1590%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 8 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 120 Range: 6 Cast Time: 3.6
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*1480%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 7 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 110 Range: 6 Cast Time: 3.4
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*1370%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 6 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 100 Range: 6 Cast Time: 3.2
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*1260%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 5 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 90 Range: 6 Cast Time: 3
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*1150%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 4 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 80 Range: 6 Cast Time: 2.8
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*1040%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 3 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 70 Range: 6 Cast Time: 2.6
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*930%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 2 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 60 Range: 6 Cast Time: 2.4
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*820%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using
Lvl: 1 Attack Magic CD: 1.5 sec Skill Delay: 1 sec SP: 50 Range: 6 Cast Time: 2.2
• Applies upon one enemy unit with a neutral M. DMG of M. ATK*710%. The [Warm Wind] carried by the hero can alter the damage attribute. If the target is an M Size unit, it will additionally apply a [Stun] status for 3s additionally. You can use [Esma] within 5s upon using

Aesir

• Estun - Enhance [Estun] DMG +5%
• Estun - Magic Pen. If the target is an M Size unit, [Estun] reduces the target's M. DEF by 5% for 5s

Formula

function CommonFun.calcDamage_18302(srcUser, targetUser, params, damageParam, logger)
  local Luk = srcUser:GetProperty("Luk")
  local Int = srcUser:GetProperty("Int")
  local Vit = srcUser:GetProperty("Vit")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
  if 1 <= IgnoreMDef then
    IgnoreMDef = 1
  end
  local MRefine = srcUser:GetProperty("MRefine")
  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 bodyparam = 1
  local skilllv_tx = srcUser:GetLernedSkillLevel(2325_ACOLYTE:WEIGHT_OF_SOUL)
  if 0 < skilllv_tx then
    bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
  end
  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) * raceparam * bossparam * bossparam2 * bodyparam
  local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
  local skilllv_xl = srcUser:GetLernedSkillLevel(2303_STELLAR_HUNTER:MIND_PIERCE)
  local Num1 = srcUser:GetRunePoint(183014_AESIR_MIND_PIERCE_ADDITIONALLY_CALCULATES_10_POINTS_OF_LUCK_EFFECT)
  local Num2 = srcUser:GetRunePoint(183015_AESIR_MIND_PIERCE_S_TRUE_DMG_5)
  local RealDam = (Luk + Num1 * 10) * skilllv_xl * 20 * (1 + Num2 * 0.05)
  local SoulDam = 1
  local skilllv_soul = srcUser:GetLernedSkillLevel(2330_ACOLYTE:SOUL_HUNTER)
  if targetUser:GetBuffEffectByType("PositiveSoul") or targetUser:GetBuffEffectByType("NegativeSoul") then
    SoulDam = 1 + skilllv_soul * 0.06
  end
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 2323_ACOLYTE:ESTUN then
    if nil ~= CommonFun.Shape and CommonFun.Shape.M == targetUser.shape and srcUser.isServerCall then
      srcUser:AddBuff(135080_STUN_EFFECT_STUN_CALCULATED_CHANCE_:MAX_STACK_0, targetUser:GetGuid())
      srcUser:AddBuff(135340_ESTUN_ASTROLABE_:MAX_STACK_0, targetUser:GetGuid())
    end
    local Num = srcUser:GetRunePoint(183026_AESIR_ESTUN_DMG_5)
    damChangePer = damChangePer * (1 + Num * 0.05)
  end
  if skillID == 2343_ACOLYTE:ESMA then
    local skilllv_asd = srcUser:GetLernedSkillLevel(2323_ACOLYTE:ESTUN)
    local skilllv_asm = srcUser:GetLernedSkillLevel(2343_ACOLYTE:ESMA)
    local skilllv_s = srcUser:GetLernedSkillLevel(2363_ACOLYTE:ESMA_SMALL)
    local skilllv_l = srcUser:GetLernedSkillLevel(2364_ACOLYTE:ESMA_BIG)
    local ShapeDam = 1
    if nil ~= CommonFun.Shape then
      if CommonFun.Shape.S == targetUser.shape and 0 < skilllv_s then
        if srcUser.isServerCall then
          srcUser:AddBuff(135120_ESMA_SMALL_:MAX_STACK_0, targetUser:GetGuid())
        end
      elseif CommonFun.Shape.L == targetUser.shape then
        local GemValue_l = srcUser:GetGemValue(183091_ESMA_DMG_AGAINST_L_SIZE_PERCENTAGE)
        ShapeDam = 1 + skilllv_l * 0.05 + GemValue_l / 100000
      end
    end
    local Num = srcUser:GetRunePoint(183026_AESIR_ESTUN_DMG_5)
    local LukRatio = Luk / 500
    if srcUser:HasBuffID(21830130_ESMA_S_LUK_BONUS_:MAX_STACK_0) then
      LukRatio = Luk / 300
    end
    damChangePer = (skilllv_asd * 1.1 + 6) * (1 + 0.03 * skilllv_asm) * (1 + LukRatio) * ShapeDam * (1 + Num * 0.05)
  end
  local A = (((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * damChangePer + RealDam) * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * SoulDam
  if A <= 1 then
    return 1
  end
  return A
end

Self

{
  "id": 135032,
  "BuffName": "Unlock Esma",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 0
  }
}

Formula

{
  "CD": 1.5,
  "id": 2323020,
  "Buff": {
    "self": [
      135032
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2323000,
      "params": [
        2800
      ]
    }
  ],
  "Icon": "skill_2323001",
  "Camps": "Enemy",
  "Level": 20,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 18302,
      "damChangePer": 28,
      "elementparam": 5
    }
  ],
  "DescId": "##1191111",
  "NameZh": "##1190868",
  "SE_hit": "Skill/starball_wing_hit",
  "CastAct": "skill_ready2",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "SE_cast": "Skill/Magic_cast",
  "Pvp_buff": {
    "self": [
      135032
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_skill3"
  ],
  "Attack_EP": 5,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 6,
    "type": 2
  },
  "SkillCost": {
    "sp": 240
  },
  "SkillType": "Attack",
  "Target_EP": 2,
  "DamageType": 2,
  "Launch_Range": 6
}