Lunatic Carrot Pound
Lvl: 15 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 30 Range: 5 Cast Time: 4

The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x1180% to enemies within 3 meters. Has a 30% chance to stun enemies.

Lvl: 14 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 29 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x1120% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 13 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 28 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x1060% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 12 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 27 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x1000% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 11 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 26 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x940% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 10 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 25 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x880% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 9 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 24 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x820% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 8 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 23 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x760% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 7 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 22 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x700% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 6 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 21 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x640% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 5 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 20 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x580% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 4 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 19 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x520% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 3 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 18 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x460% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 2 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 17 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x400% to enemies within 3 meters. Has a 30% chance to stun enemies.
Lvl: 1 Attack Physical CD: 2 sec Skill Delay: 2 sec SP: 16 Range: 5 Cast Time: 4
• The angry Lunatic spirit pounds the enemy with carrots, dealing physical damage equal to Atk x340% to enemies within 3 meters. Has a 30% chance to stun enemies.

Aesir

• Lunatic Carrot Pound - Effect Lunatic Carrot Pound DMG +6%
• Lunatic Carrot Pound - Stun Lunatic Carrot Pound chance of stunning the enemy + 10%

Formula

function CommonFun.calcDamage_15103(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 AttrEffect = srcUser:GetProperty("AttrEffect")
  local bits = CommonFun.getBits(AttrEffect)
  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 LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
  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 BaseAtk = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 5) + math.floor(Luk / 5)
  local Hp = srcUser:GetProperty("Hp")
  local MaxHp = srcUser:GetProperty("MaxHp")
  local Num_sm = srcUser:GetRunePoint(153037_AESIR_LIFE_SOUL_DEALS_EXTRA_DMG_OF_1_5_OF_THE_MAX_HP)
  local skilllv_1 = srcUser:GetLernedSkillLevel(1638_BLADE_SOUL:LIFE_SOUL)
  local HpDamage = 0
  local mapid, maptype = srcUser:GetMapInfo()
  local pvpRatio = 1
  if maptype == PVP_MAPS then
    pvpRatio = 0.25
  end
  local Fifth = 0
  if srcUser:HasBuffID(90004604_FINE_PINK_FOX_GRASS_1_T5_:MAX_STACK_0) then
    Fifth = Fifth + 0.14
  end
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if 0 < skilllv_1 and skillID == 1651_BLADE_SOUL:LUNATIC_GUNNER_BLADE_SOUL:LUNATIC_GUNNER then
    local skilllv_ft = srcUser:GetLernedSkillLevel(1625_BLADE_SOUL:LUNATIC_CARROT_POUND)
    local skilllv_ps = srcUser:GetLernedSkillLevel(1644_BLADE_SOUL:LUNATIC_GUNNER)
    damChangePer = skilllv_ft * 0.6 + 2.8
    HpDamage = (Hp * (skilllv_1 * 0.016 + 0.04 + Fifth) + MaxHp * Num_sm * 0.015) / damChangePer * pvpRatio
  elseif 0 < skilllv_1 then
    HpDamage = (Hp * (skilllv_1 * 0.016 + 0.04 + Fifth) + MaxHp * Num_sm * 0.015) / damChangePer * pvpRatio
  end
  local AtkFinal = (((Atk - BaseAtk) * (1 + AtkPer) + HpDamage) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local Num = srcUser:GetRunePoint(153031_AESIR_LUNATIC_CARROT_POUND_DMG_6)
  local RuneDam = 1 + Num * 0.06
  local WFoxtail = 1
  local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
  local Ring7 = srcUser:GetEquipedID(7_WEAPON)
  if (Ring7 == 44301 or Ring7 == 144301) and srcUser:HasBuffID(90002583_WONDERFUL_FOX_GRASS_R4_:MAX_STACK_0) then
    WFoxtail = WFoxtail + RefineLv7 * 0.02
  end
  if Ring7 == 44302 or Ring7 == 144302 then
    WFoxtail = WFoxtail + RefineLv7 * 0.02
  end
  if Ring7 == 44310 or Ring7 == 144310 then
    WFoxtail = WFoxtail + RefineLv7 * 0.02
  end
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDam * WFoxtail
  if skillID == 1651_BLADE_SOUL:LUNATIC_GUNNER_BLADE_SOUL:LUNATIC_GUNNER then
    local skilllv_ft = srcUser:GetLernedSkillLevel(1625_BLADE_SOUL:LUNATIC_CARROT_POUND)
    local skilllv_ps = srcUser:GetLernedSkillLevel(1644_BLADE_SOUL:LUNATIC_GUNNER)
    local skill_zr = srcUser:GetLernedSkillLevel(4127_PROFESSOR:NATURAL_RAGE_BURST)
    local zr = 1
    if srcUser:HasBuffID(131580_NATURAL_RAGE_:MAX_STACK_0) then
      zr = 1 + skill_zr * 0.05
    end
    local shucai = srcUser:GetBuffLayer(123350_VEGETABLE_FRIEND_:MAX_STACK_4)
    local skill_sc = srcUser:GetLernedSkillLevel(1662_BLADE_SOUL:VEGETABLE_FRIEND)
    local sc_dam = 1 + skill_sc * shucai * 0.04
    damChangePer = (skilllv_ft * 0.6 + 2.8) * zr * sc_dam
    A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDam * (skilllv_ps * 0.05 + 0.25) * WFoxtail
  end
  if skillID == 1637_BLADE_SOUL:SAVAGE_SOUL then
    local Num_yz = srcUser:GetRunePoint(153039_AESIR_SAVAGE_SOUL_DMG_8)
    local RuneDam_yz = 1 + Num_yz * 0.08
    local GemYezhu = srcUser:GetGemValue(153081_SAVAGE_SOUL_DAMAGE_PERCENTAGE)
    local MFoxtail = 1
    local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
    local Ring7 = srcUser:GetEquipedID(7_WEAPON)
    if srcUser:HasBuffID(90002597_FINE_FOX_GRASS_R8_:MAX_STACK_0) then
      MFoxtail = MFoxtail + RefineLv7 * 0.02
    end
    if Ring7 == 44310 or Ring7 == 144310 then
      MFoxtail = MFoxtail + RefineLv7 * 0.02
    end
    if srcUser:HasBuffID(57230_BEAST_STORM_CARD_:MAX_STACK_0) and targetUser:HasBuffID(131602_TORNADO_STORM_SAVAGE_:MAX_STACK_0) then
      damChangePer = damChangePer * 1.3
    end
    A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDam_yz * (1 + GemYezhu / 100000) * MFoxtail
  end
  local ValueCri = srcUser:GetGemValue(153041_BRUTE_ATTACK_SKILL_CRITICAL_CHANCE_PERCENTAGE)
  local ValueCriDam = srcUser:GetGemValue(153042_BRUTE_ATTACK_SKILL_CRITICAL_DAMAGE_PERCENTAGE)
  local Agi = srcUser:GetProperty("Agi")
  local CriRate = math.min(Agi / 7 + ValueCri / 1000, 100)
  local shadow = 1
  if srcUser:GetTempSkillSlaveID() == 806612 then
    local GemNew = srcUser:GetGemValue(153142_SKILL_DMG_OF_LIFE_CONCENTRIC_S_ILLUSION_PERCENTAGE)
    shadow = 1 + GemNew / 100000
  end
  if A <= 1 then
    return 1
  end
  if CommonFun.IsInRate(CriRate, srcUser:GetRandom()) and srcUser:HasBuffID(21530070_BRUTE_ATK_SKILLS_CAN_ALL_CRIT_:MAX_STACK_0) then
    return A * (1.5 + ValueCriDam / 100000) * shadow, CommonFun.DamageType.Crit
  end
  return A * shadow
end

Enemy

{
  "id": 123220,
  "BuffName": "Carrot Pound",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 30,
      "c": 153035,
      "d": 10,
      "type": 3250
    }
  },
  "BuffEffect": {
    "id": [
      123221
    ],
    "Odds": 100,
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 123221,
  "BuffName": "Carrot Pound",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 130
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "NoAct": 1,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "4_Dizzy"
  },
  "BuffStateID": 80010
}

Formula

{
  "CD": 2,
  "id": 1625015,
  "Buff": {
    "enemy": [
      123220
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 1625000,
      "params": [
        1180,
        30
      ]
    }
  ],
  "Icon": "skill_1625001",
  "Camps": "Enemy",
  "Level": 15,
  "Logic": "SkillPointRange",
  "Damage": [
    {
      "type": 15103,
      "damChangePer": 11.8
    }
  ],
  "DescId": "##170608",
  "NameZh": "##169867",
  "SE_hit": "Skill/Skill_monster_Doram_carrotFire_hit",
  "CastAct": "skill_ready",
  "DamTime": {
    "type": 1,
    "value": 3
  },
  "DelayCD": 2,
  "Fire_EP": 3,
  "Pvp_buff": {
    "enemy": [
      123220
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 4,
    "type": 2
  },
  "PeakLevel": 5,
  "SE_attack": "Skill/Skill_monster_Doram_carrotFire_release",
  "SkillCost": {
    "sp": 30
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "loop": false,
    "count": 2,
    "range": 3,
    "effect": "Eff_Doram_CarrotM_atk,LowRange_B2",
    "interval": 1,
    "no_select": 1,
    "isCountTrap": 1
  },
  "Launch_Range": 5
}