Phase 1 - Calamity
Lvl: 5 Attack Physical CD: 1 sec Range: 8

Frenzy cost: 5. Thanatos sends out a Bladesoul toward a designated direction, dealing (Atk + M.Atk) x 1800% Phy. DMG to enemies in front of him while applying a stack of Abyssal Mark. Abyssal Mark lasts 12 seconds. This skill may interrupt the back animation

Lvl: 4 Attack Physical CD: 1 sec Range: 8
• Frenzy cost: 5. Thanatos sends out a Bladesoul toward a designated direction, dealing (Atk + M.Atk) x 1600% Phy. DMG to enemies in front of him while applying a stack of Abyssal Mark. Abyssal Mark lasts 12 seconds. This skill may interrupt the back animation
Lvl: 3 Attack Physical CD: 1 sec Range: 8
• Frenzy cost: 5. Thanatos sends out a Bladesoul toward a designated direction, dealing (Atk + M.Atk) x 1400% Phy. DMG to enemies in front of him while applying a stack of Abyssal Mark. Abyssal Mark lasts 12 seconds. This skill may interrupt the back animation
Lvl: 2 Attack Physical CD: 1 sec Range: 8
• Frenzy cost: 5. Thanatos sends out a Bladesoul toward a designated direction, dealing (Atk + M.Atk) x 1200% Phy. DMG to enemies in front of him while applying a stack of Abyssal Mark. Abyssal Mark lasts 12 seconds. This skill may interrupt the back animation
Lvl: 1 Attack Physical CD: 1 sec Range: 8
• Frenzy cost: 5. Thanatos sends out a Bladesoul toward a designated direction, dealing (Atk + M.Atk) x 1000% Phy. DMG to enemies in front of him while applying a stack of Abyssal Mark. Abyssal Mark lasts 12 seconds. This skill may interrupt the back animation

Formula

function CommonFun.calcDamage_60501(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  local Vit = srcUser:GetProperty("Vit")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Int = srcUser:GetProperty("Int")
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  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 MRefine = srcUser:GetProperty("MRefine")
  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 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 BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) * elementparam * elementparam2 + BaseMAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local guid = srcUser:GetGuid()
  local Debuff_Layer = targetUser:GetBuffLayerByIDAndFromID(136480, guid)
  local Debuff_Dam = math.pow(2, Debuff_Layer)
  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  if skillID == 2503_PRIEST:PHASE_1_CALAMITY or skillID == 2523_HIGH_PRIEST:PHASE_1_CALAMITY then
    A = ((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  end
  if skillID == 2515_HIGH_PRIEST:PHASE_2_HEAVENLY_RETRIBUTION or skillID == 2524_HIGH_PRIEST:PHASE_2_HEAVENLY_RETRIBUTION then
    local skilllv_2 = srcUser:GetLernedSkillLevel(2504_PRIEST:PHASE_2_HEAVENLY_RETRIBUTION)
    damChangePer = skilllv_2 * 2 + 14
    A = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Debuff_Dam
  end
  if skillID == 2516_HIGH_PRIEST:PHASE_3_DEMONIC_DANCE or skillID == 2525_HIGH_PRIEST:PHASE_3_DEMONIC_DANCE then
    local skilllv_3 = srcUser:GetLernedSkillLevel(2505_PRIEST:PHASE_3_DEMONIC_DANCE)
    damChangePer = skilllv_3 * 2 + 18
    A = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Debuff_Dam
  end
  if skillID == 2517_HIGH_PRIEST:PHASE_4_FINISH_MOVE or skillID == 2526_HIGH_PRIEST:PHASE_4_FINISH_MOVE then
    local skilllv_4 = srcUser:GetLernedSkillLevel(2506_PRIEST:PHASE_4_FINISH_MOVE)
    damChangePer = skilllv_4 * 2 + 22
    A = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Debuff_Dam
    local count = params.hitedCount
    if count == 1 then
      local GemValue = srcUser:GetGemValue(201101_IF_PHASE_4_HITS_ONLY_ONE_UNIT_ITS_DAMAGE_PERCENTAGE)
      local GemDam = 1 + GemValue / 100000
      A = A * GemDam
    end
  end
  if skillID == 2511_PRIEST:HEAVY_ROLL then
    local GemValue = srcUser:GetGemValue(201151_FOR_EACH_FRENZY_OF_HEAVY_ROLL_LOSES_DAMAGE_INCREASES_BY_PERCENTAGE)
    local skilllv = srcUser:GetLernedSkillLevel(2502_PRIEST:DARK_FATE)
    local Num = srcUser:GetBuffLayer(136400_FRENZY_:MAX_STACK_0)
    if srcUser:HasBuffID(90004724_SWORD_OF_HOGNE_1_T5_:MAX_STACK_0) then
      A = A * 1.15
    end
    if skilllv < 4 and GemValue ~= 0 then
      A = A * (1 + (100 - Num) * GemValue / 100000)
    elseif 4 <= skilllv and GemValue ~= 0 then
      A = A * (1 + (150 - Num) * GemValue / 100000)
    end
  end
  if skillID == 2522_HIGH_PRIEST:HEAVY_ROLL then
    local skilllv_zny = srcUser:GetLernedSkillLevel(2511_PRIEST:HEAVY_ROLL)
    damChangePer = 16 + 2 * skilllv_zny
    A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
    local GemValue = srcUser:GetGemValue(201151_FOR_EACH_FRENZY_OF_HEAVY_ROLL_LOSES_DAMAGE_INCREASES_BY_PERCENTAGE)
    local skilllv = srcUser:GetLernedSkillLevel(2502_PRIEST:DARK_FATE)
    local Num = srcUser:GetBuffLayer(136400_FRENZY_:MAX_STACK_0)
    if skilllv < 4 and GemValue ~= 0 then
      A = A * (1 + (100 - Num) * GemValue / 100000)
    elseif 4 <= skilllv and GemValue ~= 0 then
      A = A * (1 + (150 - Num) * GemValue / 100000)
    end
  end
  if A <= 1 then
    return 1
  end
  return A
end

Self

{
  "id": 136403,
  "BuffDesc": "Increase Pen.",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Sword skills enhance Puncture",
  "BuffRate": {
    "Odds": 100
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "DamSpike": {
      "a": 2502,
      "b": 0.02,
      "c": 0.01,
      "type": 8
    },
    "limit_layer": 3
  }
}
Heavy Roll

Enemy

{
  "id": 136406,
  "BuffName": "Add Heavy Roll to Sword Move",
  "BuffRate": {
    "Odds": {
      "a": 2502,
      "b": 7,
      "c": 0,
      "d": 100,
      "type": 7830
    }
  },
  "Condition": {
    "time": 0.3,
    "type": "AfterTime"
  },
  "BuffEffect": {
    "id": 2522001,
    "Odds": 100,
    "type": "UseSkill",
    "IsActive": 0
  }
}

Enemy

{
  "id": 136480,
  "BuffName": "Rage Mark",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AttrChange",
    "limit_layer": 3,
    "LayerState_self": [
      136480,
      136481,
      136482
    ],
    "diff_source_diff_data_type": 2
  }
}

Formula

{
  "CD": 1,
  "id": 2503005,
  "Buff": {
    "self": [
      136403
    ],
    "enemy": [
      136480,
      136406
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2503000,
      "params": [
        1800
      ]
    }
  ],
  "Icon": "skill_2503001",
  "Camps": "Enemy",
  "Level": 5,
  "Logic": "SkillDirectionRect",
  "Damage": [
    {
      "type": 60501,
      "damChangePer": 18
    }
  ],
  "DescId": "##1262237",
  "NameZh": "##1258979",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "Fire_EP": 6,
  "PointAct": "reading2_Ninja",
  "Pvp_buff": {
    "self": [
      136403
    ],
    "enemy": [
      136480,
      136406
    ]
  },
  "RollType": 1,
  "SkillHit": 1,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/Skill_Hero_Thanatos_Attack_01",
  "SkillCost": [
    {
      "num": 5,
      "buffID": 136400
    }
  ],
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "width": 4,
    "distance": 8,
    "range_num": 10,
    "allComboIDs": [
      2503,
      2515,
      2516,
      2517
    ],
    "must_debuff": 1,
    "nextComboID": 2515,
    "point_effect": "Eff_Doram_Boar_buff",
    "waitComboTime": 5,
    "forward_offset": 0,
    "no_skill_delay": 1,
    "rollbackComboID": 2503,
    "CanBeInterrupted": 1,
    "comboConditionSkill": 2504
  },
  "Launch_Range": 8
}