SkillPoison Pounding
Poison Pounding
Lvl: 1
Attack
Phsyical
Range: 10
After charging up, Fantastic Dragon deals Poison DMG to enemies in a fixed radius.
Lvl: 1
Attack
Phsyical
Range: 10
After charging up, Fantastic Dragon deals Poison DMG to enemies in a fixed radius.

Formula
function CommonFun.calcDamage_20(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 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 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)
  if skillID == 380_RUNE_KNIGHT:SONIC_CLAW or skillID == 383_RUNE_KNIGHT:SILVER_CHARGE or skillID == 384_RUNE_KNIGHT:TINDER_BREAKER then
    AtkPer = 0
  end
  local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  if A <= 1 then
    return 1
  end
  return A
end
Buff Formula
Enemy 7150
function CommonFun.calcBuff_7150(srcUser, targetUser, a, b, c, d, lv, damage)
  local Int = srcUser:GetProperty("Int")
  local Vit = srcUser:GetProperty("Vit")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local MaxHp = targetUser:GetProperty("MaxHp")
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  local MRefine = srcUser:GetProperty("MRefine")
  local srcAtkElement = c
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local ElementRate = CommonFun.GetElementRate(srcUser, srcAtkElement, targetUser, targetDefElement)
  if nil == CommonFun.NatureProps[srcAtkElement] or nil == CommonFun.NatureProps[targetDefElement] or nil == targetDefElement then
    return 0
  end
  local elementInc = srcUser:GetProperty(CommonFun.NatureProps[targetDefElement][1])
  local elementRed = targetUser:GetProperty(CommonFun.NatureProps[srcAtkElement][2])
  local elementAtk = srcUser:GetProperty(CommonFun.NatureProps[srcAtkElement][3])
  local elementparam = ElementRate
  local elementparam2 = 1 + elementAtk
  if elementparam2 <= 0.1 then
    elementparam2 = 0.1
  end
  local ele = elementparam * elementparam2
  if targetDefElement == nil or ElementRate == nil or elementInc == nil or elementRed == nil or elementAtk == nil then
    ele = 1
  end
  local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
  local MDamSpike = srcUser:GetProperty("MDamSpike_MPEN")
  local ResultDamInc = srcUser:GetProperty("ResultDamInc")
  local ResultDamRes = targetUser:GetProperty("ResultDamRes")
  local Result = 1 + ResultDamInc - ResultDamRes
  Result = math.max(Result, 0.1)
  local debuffdu = targetUser:GetBuffLayer(156610_POISON_VULNERABILITY_:MAX_STACK_0)
  local debuffhuo = targetUser:GetBuffLayer(156620_FIRE_VULNERABILITY_:MAX_STACK_0)
  local debuff = 1
  if 1 <= debuffdu or 1 <= debuffhuo then
    debuff = 1 + (debuffdu + debuffhuo - 1) * 0.5
  end
  local A = -((1 + MDamSpike) * b * (1 - RefineMDamReduc) * (1 + MDamIncrease) * Result * ele + MaxHp * a) * debuff
  if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
    A = -1
  end
  if targetUser:DamageAlways1() then
    A = -1
  end
  return A
end
Buff Raw
Enemy
{
  "id": 157010,
  "BuffDesc": "Poison",
  "BuffIcon": "skillbuff_155510",
  "BuffName": "Poison vulnerability",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 0
  },
  "IconType": 2,
  "Condition": {
    "type": "MapType",
    "needMapType": [
      8
    ],
    "delWhenInvalid": 1
  },
  "DelBuffID": [
    157020,
    157021,
    157023
  ],
  "LayerBuff": [
    [
      157080
    ]
  ],
  "BuffEffect": {
    "type": "AttrChange",
    "RefineDamReduc": -0.05,
    "RefineMDamReduc": -0.05,
    "add_if_del_other": [
      157120
    ]
  },
  "BuffStateID": 155510
}
{
  "id": 157011,
  "BuffName": "Poison Damage",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "id": [
      157012
    ],
    "type": "AddBuff"
  }
}
{
  "id": 157012,
  "BuffName": "Poison Damage",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "a": 0.01,
      "b": 7000,
      "c": 10,
      "type": 7150
    },
    "type": "HSPChange"
  }
}
{
  "id": 157013,
  "BuffName": "Poison stack",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "id": [
      157010
    ],
    "type": "AddBuff"
  }
}
Raw
{
  "id": 21205001,
  "Buff": {
    "enemy": [
      157010,
      157011,
      157013
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 21005001,
      "params": [
        100
      ]
    }
  ],
  "Icon": "skill_1103001",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 20,
      "damChangePer": 6,
      "elementparam": 10
    }
  ],
  "DescId": "##1138190",
  "NameZh": "##1242206",
  "CastAct": "skill_ready2",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "Fire_EP": 3,
  "Pvp_buff": {
    "enemy": [
      157010,
      157011,
      157013
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 2,
  "Lead_Type": {
    "type": 1,
    "ReadyTime": 3
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "Logic_Param": {
    "range": 5,
    "range_num": 12,
    "immune_taunt": 1
  },
  "Launch_Range": 10
}