Magical Panda Tofu
Lvl: 10 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 500 Range: 5

Channeled skill. Cook black and white layered tofu using a lard board as a separator.
【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *1800% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 50% chance to inflict 【Burn】. Cooking ends after 5 seconds.
【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds.

After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *2800%.

Lvl: 9 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 450 Range: 5
• Channeled skill. Cook black and white layered tofu using a lard board as a separator. 【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *1680% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 45% chance to inflict 【Burn】. Cooking ends after 5 seconds. 【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds. After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *2600%.
Lvl: 8 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 400 Range: 5
• Channeled skill. Cook black and white layered tofu using a lard board as a separator. 【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *1560% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 40% chance to inflict 【Burn】. Cooking ends after 5 seconds. 【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds. After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *2400%.
Lvl: 7 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 350 Range: 5
• Channeled skill. Cook black and white layered tofu using a lard board as a separator. 【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *1440% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 35% chance to inflict 【Burn】. Cooking ends after 5 seconds. 【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds. After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *2200%.
Lvl: 6 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 300 Range: 5
• Channeled skill. Cook black and white layered tofu using a lard board as a separator. 【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *1320% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 30% chance to inflict 【Burn】. Cooking ends after 5 seconds. 【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds. After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *2000%.
Lvl: 5 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 250 Range: 5
• Channeled skill. Cook black and white layered tofu using a lard board as a separator. 【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *1200% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 25% chance to inflict 【Burn】. Cooking ends after 5 seconds. 【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds. After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *1800%.
Lvl: 4 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 200 Range: 5
• Channeled skill. Cook black and white layered tofu using a lard board as a separator. 【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *1080% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 20% chance to inflict 【Burn】. Cooking ends after 5 seconds. 【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds. After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *1600%.
Lvl: 3 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 150 Range: 5
• Channeled skill. Cook black and white layered tofu using a lard board as a separator. 【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *960% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 15% chance to inflict 【Burn】. Cooking ends after 5 seconds. 【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds. After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *1400%.
Lvl: 2 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 100 Range: 5
• Channeled skill. Cook black and white layered tofu using a lard board as a separator. 【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *840% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 10% chance to inflict 【Burn】. Cooking ends after 5 seconds. 【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds. After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *1200%.
Lvl: 1 LeadSkill Magic CD: 1.2 sec Skill Delay: 1 sec SP: 50 Range: 5
• Channeled skill. Cook black and white layered tofu using a lard board as a separator. 【Cooking Process】: Black and white tofu alternately falls into a carefully prepared soup, splashing the rich spicy flavor that makes everyone around crave for more. Every 0.5 seconds, it deals fire attribute magic damage equal to magic attack *720% and water attribute magic damage of the same ratio to enemies within 5 meters, with a 5% chance to inflict 【Burn】. Cooking ends after 5 seconds. 【Cooking Succeeded】: A plate of 【Great Magic Panda Tofu】 is created at the current location. The numbing and spicy Sichuan cuisine makes people sweat profusely. Enemies entering the 5-meter range will consume it, up to 5 times, at most once per second, lasting for 5 seconds. After consumption, they take fire attribute magic damage equal to Liu Maoxing's magic attack *1000%.

Formula

function CommonFun.calcDamage_75501(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 NormalAtk = srcUser:GetProperty("NormalAtk")
  NormalAtk = NormalAtk + 3 * Int
  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 skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
  if skillID == 2920_MERCHANT:BASIC_DISH then
    MAtkFinal = ((MAtk - BaseMAtk + NormalAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
  end
  local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
  if skillID == 2933_MERCHANT:MAGICAL_PANDA_TOFU_MERCHANT:MAGICAL_PANDA_TOFU then
    local skilllv_mp = srcUser:GetLernedSkillLevel(2922_MERCHANT:MAGICAL_PANDA_TOFU)
    damChangePer = skilllv_mp * 2 + 8
  end
  local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
  if skillID == 2922_MERCHANT:MAGICAL_PANDA_TOFU or skillID == 2933_MERCHANT:MAGICAL_PANDA_TOFU_MERCHANT:MAGICAL_PANDA_TOFU then
    local GemValue = srcUser:GetGemValue(215111_DAMAGE_OF_GREAT_MAGIC_PANDA_TOFU_PERCENTAGE)
    damChangePer = damChangePer * (1 + GemValue / 100000)
    local BoyWeapon = 1
    if srcUser:HasBuffID(23170_40518_LITTLE_HOUSEKEEPER_SPECIAL_MARTIAL_1_:MAX_STACK_0) then
      BoyWeapon = BoyWeapon + 0.01 * RefineLv7
    elseif srcUser:HasBuffID(23180_40519_LITTLE_HOUSEKEEPER_INFUSE_AFTER_1_:MAX_STACK_0) then
      BoyWeapon = BoyWeapon + 0.03 * RefineLv7
    end
    damChangePer = damChangePer * BoyWeapon
  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)
  local skilllv_yld = srcUser:GetLernedSkillLevel(2929_MERCHANT:FOREVER_SPIRIT_KNIFE)
  if srcUser:HasBuffID(90006094_231010_:MAX_STACK_0) and 15 <= RefineLv7 then
    skilllv_yld = skilllv_yld * 2
  end
  A = A * (1 + skilllv_yld * 0.03)
  if A <= 1 then
    return 1
  end
  return A
end

Enemy 6

function CommonFun.calcBuff_6(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * (a + c) + b
  if 0 < A or a == 0 then
    return A
  end
  if srcUser:GetNpcID() == 0 and targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) and targetUser.boss == false and targetUser.mini == false then
    return 0
  end
  if srcUser:GetNpcID() == 0 and (targetUser.boss or targetUser.mini) then
    local Vit = srcUser:GetProperty("Vit")
    local MAtk = srcUser:GetProperty("MAtk")
    local MAtkPer = srcUser:GetProperty("MAtkPer")
    local Refine = srcUser:GetProperty("Refine")
    local MRefine = srcUser:GetProperty("MRefine")
    local Def2 = targetUser:GetProperty("Def")
    local DefPer2 = targetUser:GetProperty("DefPer")
    local MDef2 = targetUser:GetProperty("MDef")
    local MDefPer2 = targetUser:GetProperty("MDefPer")
    local Vit2 = targetUser:GetProperty("Vit")
    local VitPer2 = targetUser:GetProperty("VitPer")
    local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
    local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
    local Int2 = targetUser:GetProperty("Int")
    local IntPer2 = targetUser:GetProperty("IntPer")
    local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
    local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
    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 MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
    local IgnoreDef = srcUser:GetProperty("IgnoreDef")
    if 1 <= IgnoreDef then
      IgnoreDef = 1
    end
    local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
    if 1 <= IgnoreMDef then
      IgnoreMDef = 1
    end
    local raceparam = 1
    local srcRace = srcUser.race
    local targetRace = targetUser.race
    if targetUser:HasBuffID(139410_TWO_FACE_DEMON_KING_HUMAN_:MAX_STACK_0) then
      targetRace = 3
    end
    if srcUser:HasBuffID(139411_TWO_FACE_DEMON_KING_DEMON_:MAX_STACK_0) then
      srcRace = 3
    end
    if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      targetRace = 2
    end
    if targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and targetUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      srcRace = 2
    end
    if nil == CommonFun.RaceProps[targetRace] then
      return 0
    end
    if nil == CommonFun.RaceProps[srcRace] then
      return 0
    end
    local raceInc = srcUser:GetProperty(CommonFun.RaceProps[targetRace][1])
    local raceRed = targetUser:GetProperty(CommonFun.RaceProps[srcRace][2])
    local raceparam = 1 + raceInc - raceRed
    if raceparam <= 0.1 then
      raceparam = 0.1
    end
    local MAtkFinal = MAtk * (1 + MAtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    local AtkFinal = Atk * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    if MAtkFinal <= AtkFinal then
      local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
      A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * a * 100 * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2) + b
    else
      local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
      A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * a * 100 * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + b
    end
  end
  local AttrFunction = srcUser:GetProperty("AttrFunction")
  local bitfunc = CommonFun.getBits(AttrFunction)
  if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
    A = 0
  end
  if CommonFun.checkAttrFunctionMiss(targetUser, srcUser) then
    A = 0
  end
  if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
    A = 0
  end
  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

Enemy

{
  "id": 139130,
  "BuffName": "Burning Effect",
  "BuffRate": {
    "Odds": {
      "a": 5,
      "b": 0,
      "type": 140
    }
  },
  "BuffEffect": {
    "id": [
      139131,
      139132
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 139131,
  "BuffName": "Burning State Effect [Burning]",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "MDefPer": -0.25,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "3_Burn",
    "BeFireDamPer": -0.25,
    "IsForceStatus": 1
  },
  "BuffStateID": 95410
}

Enemy

{
  "id": 139132,
  "BuffName": "Burning Bleeding Effect",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "Hp": {
      "a": -0.01,
      "b": -5,
      "type": 6
    },
    "type": "HpReduce",
    "StateEffect": "3_Burn",
    "IsForceStatus": 1
  }
}

Formula

{
  "CD": 1.2,
  "id": 2922010,
  "Buff": {
    "enemy": [
      139130
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2922000,
      "params": [
        1800,
        50,
        2800
      ]
    }
  ],
  "Icon": "skill_2922001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 75501,
      "damChangePer": 18,
      "elementparam": 3
    },
    {
      "type": 75501,
      "damChangePer": 18,
      "elementparam": 4
    }
  ],
  "DescId": "##40859989",
  "NameZh": "##3490914",
  "CastAct": "skill_ready2_cookingaang",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 1,
  "Fire_EP": 2,
  "SE_cast": "Skill/sfx_liumaoxing_magic_mapo_attack_01",
  "Pvp_buff": {
    "enemy": [
      139130
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "DCT": 5,
    "type": 4,
    "clientinterrupt": 1
  },
  "SkillCost": {
    "sp": 500
  },
  "SkillType": "LeadSkill",
  "Target_EP": 3,
  "DamageType": 2,
  "Logic_Param": {
    "range": 5,
    "duration": 5,
    "interval": 0.5,
    "no_select": 1,
    "chant_buff": [
      139070,
      139101,
      139190
    ],
    "isTimeTrap": 1,
    "noMoveAction": 1,
    "del_hide_as_atk": 1,
    "lead_skill_count": 10,
    "finish_extra_skill": 2932001,
    "ignore_snake_field": 1,
    "finish_extra_skill_odd": {
      "type": 8680
    },
    "fieldarea_cannot_immune": 1,
    "finish_extra_effect_buff": [
      139066,
      139067
    ]
  },
  "Launch_Range": 5,
  "FashionCastAct": "use_magic_Musical_instrument"
}