Skill #81013001

Cat Cure Wave

Focus on releasing waves, inflict DMG of ATK x[8df936]%s%%[-] on a single enemy unit and convert [8df936]%s%%[-] of the damage into HP to heal yourself

Level 3

##81013001

CD 6s | Attack

ID 81013003

Level 2

##81013001

CD 6s | Attack

ID 81013002

Level 1

##81013001

CD 6s | Attack

ID 81013001

Formulas & functions

CommonFun links

Cat Cure WaveLv 1-3 | damage

Formula source

function CommonFun.calcDamage_8003(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 damChangePer1 = damageParam.damChangePer1
  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 AtkFinal = (Atk * (1 + AtkPer) * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) + damChangePer1) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)
  if A <= 1 then
    return 1
  end
  if bits[CommonFun.AttrEffect.ErLianDam] == 1 then
    return A * 1.5
  end
  return A
end

Skill JSON (Level 3)

{
  "id": 81013003,
  "NameZh": "治疗喵波",
  "Level": 3,
  "Icon": "skill_129001",
  "Desc": [
    {
      "id": 81013001,
      "params": [
        1000,
        50
      ]
    }
  ],
  "SkillType": "Attack",
  "Camps": "Enemy",
  "Launch_Range": 7.5,
  "Fire_EP": 3,
  "Target_EP": 3,
  "Attack_EP": 3,
  "CD": 6,
  "Lead_Type": {
    "ReadyTime": 1,
    "type": 1
  },
  "Logic": "SkillLockedTarget",
  "Logic_Param": {
    "isSuckSkill": 1
  },
  "Damage": [
    {
      "damChangePer": 10,
      "damChangePer1": 150,
      "type": 8003
    }
  ],
  "AttackAct": [
    "use_magic"
  ],
  "description": {
    "chinesesimplified": "##81013001",
    "english": "##81013001",
    "german": "##81013001",
    "portuguese": "##81013001",
    "spanish": "##81013001"
  }
}