Thump
Lvl: 1 Attack Physical CD: 10 sec SP: 1 Range: 2

Deals (M.ATK 200%) points of M. DMG to surrounding enemies within 2m, knocking them back and stunning them. Gains the Endure effect for 1 sec at the same time.

Formula

function CommonFun.calcDamage_30(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, 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) * raceparam * bossparam * bossparam2
  local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
  local CardXR = 1
  local CardNum = srcUser:GetEquipCardNum(7, 23048_HILL_WIND_CARD)
  local CardNum2 = srcUser:GetEquipCardNum(7, 24664_HILL_WIND_STAR_CARD)
  CardNum = CardNum + CardNum2
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 84_SWORDSMAN:JUPITEL_THUNDER then
    CardXR = CardNum * 0.25 + 1
  end
  local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * CardXR
  if skillID == 1930_SNIPER:HEAVY_SLASH then
    local MDamSpike = srcUser:GetProperty("MDamSpike_MPEN")
    MAtkFinal = (MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk
    A = (MAtkFinal * (1 + MDamSpike) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease)
  end
  if skillID == 1500_GUILLOTINE_CROSS:ICE_WALL then
    local Num1 = srcUser:GetRunePoint(143026_AESIR_ICE_WALL_DAMAGE_INCREASES_BY_10)
    A = A * (1 + Num1 * 0.1)
  end
  if skillID == 3209_MECHANIC:CHRONOLOGY_BOLT then
    local skilllv_1 = srcUser:GetLernedSkillLevel(3226_MECHANIC:CHRONOLOGY_BOLT_ENHANCE)
    local taozhuang1 = 1
    if srcUser:HasBuffID(91000470_SAGE_S_BOOK_TELEKINETIC_ORB_:MAX_STACK_0) or srcUser:HasBuffID(91000770_SAGE_S_HANDBOOK_TELEKINETIC_ORB_:MAX_STACK_0) or srcUser:HasBuffID(91001490_SAGE_S_BOOK_CONTRACT_JEWELERY_:MAX_STACK_0) or srcUser:HasBuffID(91001500_SAGE_S_HANDBOOK_CONTRACT_JEWELERY_:MAX_STACK_0) then
      taozhuang1 = 1.15
    end
    if srcUser:HasBuffID(90004514_SAGE_S_HANDBOOK_1_T5_:MAX_STACK_0) then
      taozhuang1 = taozhuang1 + 0.15
    end
    local Ring1 = srcUser:GetEquipedID(7_WEAPON)
    local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
    if Ring1 == 63440_SAGE_S_HANDBOOK_1 or Ring1 == 163440_SAGE_S_HANDBOOK_2 then
      taozhuang1 = RefineLv * 0.01 + taozhuang1
    end
    local Num1 = srcUser:GetRunePoint(22160_AESIR_INCREASES_THE_DAMAGE_OF_FIRE_BOLT_COLD_BOLT_LIGHTNING_BOLT_AND_CHRONOLOGY_BOLT_BY_10)
    local Num2 = srcUser:GetRunePoint(22161_AESIR_INCREASES_THE_DAMAGE_OF_FIRE_BOLT_COLD_BOLT_LIGHTNING_BOLT_AND_CHRONOLOGY_BOLT_BY_10)
    local RuneDamage = (Num1 + Num2) * 0.1 + 1
    local GemKj = 0
    local GemSj = 0
    if srcUser:HasBuffID(126122_CHRONOLOGY_BOLT_TIME_FIELD_:MAX_STACK_0) then
      GemSj = srcUser:GetGemValue(82151_WHILE_YOU_ARE_IN_TIME_FIELD_INCREASE_CHRONOLOGY_BOLT_DMG_BY_PERCENTAGE)
    end
    local GemDam = 1 + GemSj / 100000
    A = A * (1 + skilllv_1 * 0.06) * taozhuang1 * RuneDamage * GemDam
  end
  if A <= 1 then
    return 1
  end
  return A
end

Self

{
  "id": 120069,
  "BuffName": "Thump (Endure)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AttrChange",
    "NoStiff": 1,
    "NoEffectMove": 1
  }
}

Enemy

{
  "id": 96160,
  "BuffDesc": "Stunning: disable movement and attack",
  "BuffIcon": "skillbuff_212001",
  "BuffName": "Hammerfall [Stunning]",
  "BuffRate": {
    "Odds": {
      "a": 10,
      "b": 20,
      "type": 130
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "StatusChange",
    "NoAct": 1,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "4_Dizzy"
  },
  "BuffStateID": 80010
}

Formula

{
  "CD": 10,
  "id": 70001,
  "Buff": {
    "self": [
      120069
    ],
    "enemy": [
      96160
    ]
  },
  "Cost": 0,
  "Desc": [
    {
      "id": 70000,
      "params": [
        200
      ]
    }
  ],
  "Icon": "skill_12001",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 30,
      "damChangePer": 2
    }
  ],
  "DescId": "##1244699",
  "NameZh": "##118311",
  "SE_hit": "Skill/FireWall_hit",
  "CastAct": "skill_ready",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      120069
    ],
    "enemy": [
      96160
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "whack"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/Book_fire",
  "SkillCost": {
    "sp": 1
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "HitEffects": [
    {
      "type": 1,
      "speed": 15,
      "distance": 4,
      "direction": "back"
    }
  ],
  "Logic_Param": {
    "range": 4,
    "ignoreHit": 1
  },
  "Launch_Range": 2
}