SkillDisaster
Disaster
Lvl: 1
Attack
Range: 100
Magma Golem will detonate all Meteor Remains on the field once in a while. When each Meteor Remain is detonated, it will deal a massive amount of full-screen damage while leaving a lava patch on the ground; All players stepping into the lava patch will receive a constant damage.
Lvl: 1
Attack
Range: 100
Magma Golem will detonate all Meteor Remains on the field once in a while. When each Meteor Remain is detonated, it will deal a massive amount of full-screen damage while leaving a lava patch on the ground; All players stepping into the lava patch will receive a constant damage.

Formula
function CommonFun.calcDamage_32(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, 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 BaseLvDamage = 0
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 93_:HEAVEN_S_DRIVE_:HEAVEN_S_DRIVE or skillID == 1483_:HEAVEN_S_DRIVE then
    local IBaseLv = srcUser.BaseLv
    if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
      BaseLvDamage = IBaseLv * 15
    end
  end
  if skillID == 1482_:STORM_GUST_:STORM_GUST then
    local IBaseLv1 = srcUser.BaseLv
    if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
      BaseLvDamage = IBaseLv1 * 15
    end
    local GemValue = srcUser:GetGemValue(143161_STORM_GUST_DMG_PERCENTAGE)
    damChangePer = damChangePer * (1 + GemValue / 100000)
  end
  local CardXR = 1
  local CardNum = srcUser:GetEquipCardNum(7, 23048_HILL_WIND_CARD)
  if skillID == 82_:LORD_OF_VERMILION_:LORD_OF_VERMILION then
    CardXR = CardNum * 0.25 + 1
  end
  if skillID == 1939_:MAGIC_WIND_JELLYFISH_SUMMON_:MAGIC_WIND_JELLYFISH_SUMMON then
    local skilllv_mf = srcUser:GetLernedSkillLevel(1933_:DIM_WIND)
    damChangePer = (skilllv_mf * 0.8 + 8.8) * 0.8
  end
  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) * CardXR + BaseLvDamage
  local Num1 = srcUser:GetRunePoint(143014_AESIR_STORM_GUST_DMG_7)
  if skillID == 81_:STORM_GUST or skillID == 1482_:STORM_GUST_:STORM_GUST or skillID == 1904_:STORM_GUST then
    if srcUser:HasBuffID(52170_STORMY_KNIGHT_CARD_:MAX_STACK_0) and srcUser:HasBuffID(81000040_STORMY_KNIGHT_CARD_DEPOSITE_:MAX_STACK_0) then
      A = A * 1.2
    end
    if srcUser:HasBuffID(53290_MARTIN_SCAVENGER_CARD_:MAX_STACK_0) then
      A = A * 1.05
    end
    if 0 < Num1 then
      A = A * (Num1 * 0.07 + 1)
    end
    local GemValue1 = srcUser:GetGemValue(21073_STORM_GUST_DMG_PERCENTAGE)
    local GemValue2 = srcUser:GetGemValue(143073_STORM_GUST_DMG_PERCENTAGE)
    A = A * (1 + GemValue1 / 100000 + GemValue2 / 100000)
  end
  if skillID == 1160_:EARTH_STRAIN then
    local GemValue = srcUser:GetGemValue(21053_EARTH_STRAIN_DMG_PERCENTAGE)
    A = A * (1 + GemValue / 100000)
  end
  if skillID == 82_:LORD_OF_VERMILION_:LORD_OF_VERMILION then
    local GemValue = srcUser:GetGemValue(21062_LORD_OF_VERMILION_DMG_PERCENTAGE)
    A = A * (1 + GemValue / 100000)
  end
  if skillID == 93_:HEAVEN_S_DRIVE_:HEAVEN_S_DRIVE then
    local GemValue = srcUser:GetGemValue(21092_HEAVEN_S_DRIVE_DMG_PERCENTAGE)
    A = A * (1 + GemValue / 100000)
  end
  if skillID == 3107_:WIND_BLADE_ADJUDICATION then
    local skilllv_kf = srcUser:GetLernedSkillLevel(3124_:WIND_BLADE_ADJUDICATION_ENHANCE)
    A = A * (1 + skilllv_kf * 0.05)
  end
  if (skillID == 3111_:SAND_STORM or skillID == 1933_:DIM_WIND or skillID == 1939_:MAGIC_WIND_JELLYFISH_SUMMON_:MAGIC_WIND_JELLYFISH_SUMMON) and (targetUser:HasBuffID(118140_EARTH_FIELD_:MAX_STACK_0) or targetUser:HasBuffID(125140_QUICKSAND_VORTEX_EMPTY_BUFF_:MAX_STACK_0)) then
    local skilllv_slj = srcUser:GetLernedSkillLevel(3126_:SAND_STORM_EARTH_ELEMENT)
    local skilllv_mofeng = srcUser:GetLernedSkillLevel(1946_:MAGIC_WIND_EARTH_ELEMENT)
    A = A * (1 + skilllv_slj * 0.12 + skilllv_mofeng * 0.12)
  end
  if skillID == 3108_:QUICKSAND_VORTEX or skillID == 1931_:JELLYFISH_SUMMON then
    local GemValue = srcUser:GetGemValue(21141_QUICKSAND_VORTEX_DMG_PERCENTAGE)
    A = A * (1 + GemValue / 100000)
  end
  if A <= 1 then
    return 1
  end
  return A
end
Raw
{
  "id": 23408001,
  "Cost": 1,
  "Desc": [
    {
      "id": 23408001,
      "params": [
        100
      ]
    }
  ],
  "Icon": "skill_86001",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 32,
      "damChangePer": 1,
      "elementparam": 2
    }
  ],
  "DescId": "##1191184",
  "NameZh": "##1191005",
  "CastAct": "attack_wait",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "Fire_EP": 3,
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "type": 1,
    "ReadyTime": 3
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "Logic_Param": {
    "range": 100,
    "immune_taunt": 1
  },
  "Launch_Range": 100
}