Earthquake
Lvl: 10 Attack Magic Skill Delay: 2 sec SP: 78 Range: 6 Cast Time: 6 Fixed Cast Time: 0.3

Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 770% M.Atk

Lvl: 9 Attack Magic Skill Delay: 2 sec SP: 74 Range: 6 Cast Time: 5.6 Fixed Cast Time: 0.3
• Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 720% M.Atk
Lvl: 8 Attack Magic Skill Delay: 2 sec SP: 70 Range: 6 Cast Time: 5.2 Fixed Cast Time: 0.3
• Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 670% M.Atk
Lvl: 7 Attack Magic Skill Delay: 2 sec SP: 66 Range: 6 Cast Time: 4.8 Fixed Cast Time: 0.3
• Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 620% M.Atk
Lvl: 6 Attack Magic Skill Delay: 2 sec SP: 62 Range: 6 Cast Time: 4.4 Fixed Cast Time: 0.3
• Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 570% M.Atk
Lvl: 5 Attack Magic Skill Delay: 2 sec SP: 58 Range: 6 Cast Time: 4 Fixed Cast Time: 0.3
• Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 520% M.Atk
Lvl: 4 Attack Magic Skill Delay: 2 sec SP: 54 Range: 6 Cast Time: 3.6 Fixed Cast Time: 0.3
• Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 470% M.Atk
Lvl: 3 Attack Magic Skill Delay: 2 sec SP: 50 Range: 6 Cast Time: 3.2 Fixed Cast Time: 0.3
• Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 420% M.Atk
Lvl: 2 Attack Magic Skill Delay: 2 sec SP: 46 Range: 6 Cast Time: 2.8 Fixed Cast Time: 0.3
• Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 370% M.Atk
Lvl: 1 Attack Magic Skill Delay: 2 sec SP: 42 Range: 6 Cast Time: 2.4 Fixed Cast Time: 0.3
• Cause the ground beneath all targets within range to rise up, inflicting Earth Magic Damage equivalent to 320% M.Atk

Aesir

• Earthquake - Empower [Earth Spike] Dmg +10%
• Earthquake - Stun [Earth Spike] has a 20% chance of stunning enemies for 2 sec

Formula

function CommonFun.calcDamage_8202(srcUser, targetUser, params, damageParam, logger)
  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 RangeDam = srcUser:GetProperty("RangeDam")
  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 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 A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + RangeDam)
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local skilllv_ele = srcUser:GetLernedSkillLevel(1333_ASSASSIN:SUMMON_ELEMENTAL)
  local ElementNpc = srcUser:getCurElementElfID()
  if skillID == 1330_ASSASSIN:EARTH_GRAVE and ElementNpc == 580030 then
    A = A * (1 + skilllv_ele * 0.03)
  end
  if skillID == 1328_ASSASSIN:DIAMOND_DUST then
    local Num_xc = srcUser:GetRunePoint(82031_AESIR_DIAMOND_DUST_DMG_8)
    local GemValue1 = srcUser:GetGemValue(82022_DIAMOND_STARDUST_DMG_PERCENTAGE)
    local GemValue2 = srcUser:GetGemValue(82052_DIAMOND_STARDUST_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue1 / 100000 + GemValue2 / 100000
    A = A * (1 + Num_xc * 0.08) * GemDam
    if ElementNpc == 580020 then
      A = A * (1 + skilllv_ele * 0.01)
    end
    local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
    local Ring1 = srcUser:GetEquipedID(7_WEAPON)
    if Ring1 == 63433_SPELL_BOOK_OF_ICE_1 or Ring1 == 163433_MAGIC_BOOK_OF_ICE_2 then
      A = A * (RefineLv * 0.02 + 1)
    end
    if Ring1 == 63444_FROST_BOOK_1 or Ring1 == 163444_FROST_BOOK_2 then
      A = A * (RefineLv * 0.02 + 1)
    end
  end
  if skillID == 1305_ASSASSIN:EARTHQUAKE then
    local Num_dz = srcUser:GetRunePoint(82002_AESIR_EARTH_SPIKE_DMG_10)
    A = A * (1 + Num_dz * 0.1)
  end
  if A <= 1 then
    return 1
  end
  return A
end

Enemy

{
  "id": 118430,
  "BuffName": "Earth Spike [Stun]",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 0,
      "c": 82006,
      "d": 20,
      "type": 3250
    }
  },
  "BuffEffect": {
    "id": [
      118431
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 118431,
  "BuffDesc": "Stun: disable movement, stop restoring mana",
  "BuffIcon": "skillbuff_181001",
  "BuffName": "Earth Spike [Stun]",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 130
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "StatusChange",
    "NoAct": 1,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "4_Dizzy"
  },
  "BuffStateID": 80010
}

Formula

{
  "id": 1305010,
  "Buff": {
    "enemy": [
      118430
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 1305000,
      "params": [
        770
      ]
    }
  ],
  "Icon": "skill_1335001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillPointRange",
  "Damage": [
    {
      "type": 8202,
      "damChangePer": 7.7,
      "elementparam": 2
    }
  ],
  "DescId": "##170273",
  "NameZh": "##169192",
  "SE_hit": "Skill/StormGust_hit",
  "CastAct": "reading",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 2,
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "SE_fire": "Skill/StormGust_fire",
  "Pvp_buff": {
    "enemy": [
      118430
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "CCT": 0.3,
    "FCT": 6,
    "type": 2
  },
  "SE_attack": "Skill/HeavenDrive",
  "SkillCost": {
    "sp": 78
  },
  "SkillType": "Attack",
  "Target_EP": 0,
  "DamageType": 2,
  "Logic_Param": {
    "loop": false,
    "count": 1,
    "range": 3,
    "effect": "Earthquake,LowRange_B2",
    "interval": 1,
    "no_select": 1,
    "isCountTrap": 1
  },
  "Launch_Range": 6
}