Moon Wolf Assault
Lvl: 10 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 300 Range: 7 Cast Time: 4

Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*1000% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.

Lvl: 9 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 280 Range: 7 Cast Time: 4
• Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*900% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.
Lvl: 8 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 260 Range: 7 Cast Time: 4
• Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*800% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.
Lvl: 7 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 240 Range: 7 Cast Time: 4
• Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*700% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.
Lvl: 6 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 220 Range: 7 Cast Time: 4
• Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*600% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.
Lvl: 5 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 200 Range: 7 Cast Time: 4
• Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*500% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.
Lvl: 4 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 180 Range: 7 Cast Time: 4
• Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*400% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.
Lvl: 3 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 160 Range: 7 Cast Time: 4
• Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*300% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.
Lvl: 2 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 140 Range: 7 Cast Time: 4
• Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*200% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.
Lvl: 1 Attack Physical CD: 12 sec Skill Delay: 1 sec SP: 120 Range: 7 Cast Time: 4
• Fenrir orders Moon Wolf to attack an enemy, dealing P.DMG equal to P.ATK*100% per sec, and banning them from entering [Hiding]. Lasts 8s. Each bite has a 30% chance to inflict [bleeding]. Moon Wolf can land critical attacks. The Crit Rate is (own Crit-target's critical guard)/2. Critical attacks ignore P.DEF.

Formula

function CommonFun.calcDamage_71502(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  local Dex = srcUser:GetProperty("Dex")
  local Agi = srcUser:GetProperty("Agi")
  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 AttrEffect2 = srcUser:GetProperty("AttrEffect")
  local bits2 = CommonFun.getBits(AttrEffect2)
  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 - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
  local damChangePer = damageParam.damChangePer
  local damageType = CommonFun.DamageType.Normal
  local Cri = srcUser:GetProperty("Cri")
  local CriRes2 = targetUser:GetProperty("CriRes")
  local CriDamPer = srcUser:GetProperty("CriDamPer")
  local CriDefPer2 = targetUser:GetProperty("CriDefPer")
  local Rate = (Cri - CriRes2) / 2
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 2823_SAINT:MOON_WOLF_ASSAULT or skillID == 2814_SAINT:MOON_WOLF_ASSAULT then
    local skilllv_yl = srcUser:GetLernedSkillLevel(2814_SAINT:MOON_WOLF_ASSAULT)
    local skilllv_bd = srcUser:GetLernedSkillLevel(2821_SAINT:MOON_WOLF_S_RAGE)
    local GemValue = srcUser:GetGemValue(211141_MOON_WOLF_ASSAULT_CRIT_DMG_INCREASES_BY_PERCENTAGE)
    damChangePer = skilllv_yl * (1 + skilllv_bd * 0.03)
    if CommonFun.IsInRate(Rate, srcUser:GetRandom()) then
      DefReduc = 1
      damChangePer = damChangePer * (1.5 + CriDamPer - CriDefPer2) * (1 + GemValue / 100000)
      damageType = CommonFun.DamageType.Crit
      if srcUser.isServerCall then
        srcUser:AddBuff(138560_MOON_WOLF_S_RAGE_:MAX_STACK_0, targetUser:GetGuid())
      end
    end
  end
  local skilllv_xy = srcUser:GetLernedSkillLevel(2818_SAINT:BLOODMOON)
  local Hp2 = targetUser:GetProperty("Hp")
  local MaxHp2 = targetUser:GetProperty("MaxHp")
  local HpRatio = 1 + (MaxHp2 - Hp2) / MaxHp2 * skilllv_xy * 0.2
  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * HpRatio
  if A <= 1 then
    return 1
  end
  return A, damageType
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": 138520,
  "BuffDesc": "Continuously attacked by Moon Wolf, unable to hide.",
  "BuffIcon": "skillbuff_2814001",
  "BuffName": "Moon Wolf Assault",
  "BuffRate": {
    "Odds": 100
  },
  "IconType": 1,
  "BuffEffect": {
    "id": [
      138525
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 138521,
  "BuffName": "Moon Wolf Raid (cannot be invisible)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "AttrChange",
    "AttrEffect2": [
      21
    ]
  }
}

Enemy

{
  "id": 138522,
  "BuffName": "Bleed Effect",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 30,
      "type": 185
    }
  },
  "BuffEffect": {
    "id": [
      138523,
      138524
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 138523,
  "BuffName": "Bleeding Effect [HP Loss]",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "AtkPer": -0.25,
    "SkillASPD": -0.25,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "2_Blood"
  },
  "BuffStateID": 120032
}

Enemy

{
  "id": 138524,
  "BuffName": "HP Loss Effect",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "Hp": {
      "a": -0.005,
      "b": -5,
      "type": 6
    },
    "type": "HpReduce",
    "delHpPer": 0.2,
    "StateEffect": "2_Blood"
  }
}
Moon Wolf Assault

Enemy

{
  "id": 138525,
  "BuffName": "Moon Wolf Assault",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "id": 2823001,
    "Odds": 100,
    "type": "UseSkill",
    "IsActive": 0
  },
  "BuffStateID": 138520
}

Formula

{
  "CD": 12,
  "id": 2814010,
  "Buff": {
    "enemy": [
      138520,
      138521,
      138522
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2814000,
      "params": [
        1000
      ]
    }
  ],
  "Icon": "skill_2814001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 71502,
      "damChangePer": 10
    }
  ],
  "DescId": "##3455090",
  "NameZh": "##3449348",
  "SE_hit": "Skill/sfx_skill_fenlier_commom_ice_hit_01",
  "CastAct": "reading",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "Pvp_buff": {
    "enemy": [
      138520,
      138521,
      138522
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 2,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 4,
    "type": 2
  },
  "SE_attack": "Skill/sfx_skill_fenlier_moonwolf_attack_01",
  "SkillCost": {
    "sp": 300
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "E_Attack_On": 1,
  "Launch_Range": 7
}