Whisper of Rose
Lvl: 5 Attack Physical CD: 24 sec Skill Delay: 2 sec Range: 12

Khalitzburg deals P.DMG equal to (P.ATK+M.ATK)*4200% to enemies within 12m and turns all [Doom] to [Othershore Doom], increasing HP Loss received by 30%. No debuff received can be cleared. Duration of [Othershore Doom] is extended to death of its carrier or Khalitzburg. If the enemy has no [Doom], applies [Doom]. [Othershore Doom] has all effects of [Doom], and doesn't stack with [Doom]. The cooldown is fixed.

Lvl: 4 Attack Physical CD: 24 sec Skill Delay: 2 sec Range: 12
• Khalitzburg deals P.DMG equal to (P.ATK+M.ATK)*3600% to enemies within 12m and turns all [Doom] to [Othershore Doom], increasing HP Loss received by 24%. No debuff received can be cleared. Duration of [Othershore Doom] is extended to death of its carrier or Khalitzburg. If the enemy has no [Doom], applies [Doom]. [Othershore Doom] has all effects of [Doom], and doesn't stack with [Doom]. The cooldown is fixed.
Lvl: 3 Attack Physical CD: 24 sec Skill Delay: 2 sec Range: 12
• Khalitzburg deals P.DMG equal to (P.ATK+M.ATK)*3000% to enemies within 12m and turns all [Doom] to [Othershore Doom], increasing HP Loss received by 18%. No debuff received can be cleared. Duration of [Othershore Doom] is extended to death of its carrier or Khalitzburg. If the enemy has no [Doom], applies [Doom]. [Othershore Doom] has all effects of [Doom], and doesn't stack with [Doom]. The cooldown is fixed.
Lvl: 2 Attack Physical CD: 24 sec Skill Delay: 2 sec Range: 12
• Khalitzburg deals P.DMG equal to (P.ATK+M.ATK)*2400% to enemies within 12m and turns all [Doom] to [Othershore Doom], increasing HP Loss received by 12%. No debuff received can be cleared. Duration of [Othershore Doom] is extended to death of its carrier or Khalitzburg. If the enemy has no [Doom], applies [Doom]. [Othershore Doom] has all effects of [Doom], and doesn't stack with [Doom]. The cooldown is fixed.
Lvl: 1 Attack Physical CD: 24 sec Skill Delay: 2 sec Range: 12
• Khalitzburg deals P.DMG equal to (P.ATK+M.ATK)*1800% to enemies within 12m and turns all [Doom] to [Othershore Doom], increasing HP Loss received by 6%. No debuff received can be cleared. Duration of [Othershore Doom] is extended to death of its carrier or Khalitzburg. If the enemy has no [Doom], applies [Doom]. [Othershore Doom] has all effects of [Doom], and doesn't stack with [Doom]. The cooldown is fixed.

Formula

function CommonFun.calcDamage_72501(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 Agi = srcUser:GetProperty("Agi")
  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)
  if skillID == 2831_SAINT:WISH_FLOWER then
    damChangePer = damChangePer * (1 + math.min(Agi, 300) / 100)
    local GemValue = srcUser:GetGemValue(212111_WISH_FLOWER_DEALS_PERCENTAGE_MORE_DMG_TO_ENEMIES_IN_DOOM_OR_OTHERSHORE_DOOM_STATE)
    if targetUser:HasBuffID(138701_DOOM_:MAX_STACK_0) or targetUser:HasBuffID(138730_OTHERSHORE_DOOM_:MAX_STACK_0) then
      damChangePer = damChangePer * (1 + GemValue / 100000)
    end
  end
  if skillID == 2842_SAINT:FALLING_PETALS then
    local skilllv = srcUser:GetLernedSkillLevel(2827_SAINT:MEMORY_OF_PETALS)
    damChangePer = 1.6 * skilllv + 5.6
  end
  local A = ((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  if srcUser:HasBuffID(138660_FATAL_RAPIER_:MAX_STACK_0) then
    local GemValue = srcUser:GetGemValue(212151_FLOWER_OF_DESPERATION_GRANTS_YOUR_SKILLS_A_PERCENTAGE_CHANCE_TO_LAND_CRITICAL_ATTACKS_THAT_DEAL_200_DMG)
    if CommonFun.IsInRate(GemValue / 1000, srcUser:GetRandom()) then
      return A * 2, CommonFun.DamageType.Crit
    end
  end
  if A <= 1 then
    return 1
  end
  return A
end

Enemy

{
  "id": 138703,
  "BuffName": "Doom (Characteristic 7 player)",
  "BuffRate": {
    "Odds": {
      "a": 2826,
      "b": 7,
      "c": 0,
      "d": 100,
      "type": 7830
    }
  },
  "BuffEffect": {
    "type": "DeathUser2Puppet",
    "add_buff": [
      138770,
      138771,
      138772,
      138774,
      138775,
      210210
    ],
    "del_buff": [
      137593,
      137594,
      137596,
      137598,
      137599,
      210010,
      210011,
      210110,
      210111,
      210112,
      210113
    ],
    "die_time": 6,
    "noDelByType": 1
  }
}

Enemy

{
  "id": 138737,
  "BuffName": "Doom transforms into Othershore Doom",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 138701,
      "type": 5041
    }
  },
  "BuffEffect": {
    "id": [
      138730,
      138731,
      138732,
      138733,
      138734,
      138736
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 138701,
  "BuffDesc": "Deal less DMG and take more DMG",
  "BuffIcon": "skillbuff_2826001",
  "BuffName": "Doom",
  "BuffRate": {
    "Odds": {
      "a": 100,
      "b": -100,
      "c": 138730,
      "type": 5041
    }
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "ResultDamInc": {
      "a": 2826,
      "b": -0.03,
      "c": -0.09,
      "type": 8
    },
    "ResultDamRes": {
      "a": 2826,
      "b": -0.03,
      "c": -0.09,
      "type": 8
    }
  },
  "BuffStateID": 138701
}

Enemy

{
  "id": 138731,
  "BuffName": "Othershore Doom (HP Loss)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "ReduceLoseHpRatio",
    "ratio": {
      "a": 2832,
      "b": -0.06,
      "c": 0,
      "type": 8
    },
    "is_dead_del": 1,
    "explicit_del": 1,
    "form_leave_del": 1,
    "is_from_dead_del": 1
  }
}

Enemy

{
  "id": 138732,
  "BuffName": "Othershore Doom (Debuff cannot be removed)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "NoDisperse",
    "isgain": 0,
    "is_dead_del": 1,
    "explicit_del": 1,
    "form_leave_del": 1,
    "is_from_dead_del": 1
  }
}

Enemy

{
  "id": 138734,
  "BuffName": "Delete Doom",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "id": [
      138701
    ],
    "type": "DelBuff"
  }
}

Enemy

{
  "id": 138736,
  "BuffName": "Othershore Doom (Characteristic 7 player)",
  "BuffRate": {
    "Odds": {
      "a": 2826,
      "b": 7,
      "c": 0,
      "d": 100,
      "type": 7830
    }
  },
  "BuffEffect": {
    "type": "DeathUser2Puppet",
    "add_buff": [
      138770,
      138771,
      138772,
      138774,
      138775,
      210210
    ],
    "del_buff": [
      137593,
      137594,
      137596,
      137598,
      137599,
      210010,
      210011,
      210110,
      210111,
      210112,
      210113
    ],
    "die_time": 6,
    "is_dead_del": 1,
    "explicit_del": 1,
    "form_leave_del": 1,
    "is_from_dead_del": 1
  }
}

Enemy

{
  "id": 138738,
  "BuffName": "Add Doom to those without Doom",
  "BuffRate": {
    "Odds": {
      "a": 100,
      "b": -100,
      "c": 138730,
      "type": 5041
    }
  },
  "Condition": {
    "time": 0.3,
    "type": "AfterTime"
  },
  "BuffEffect": {
    "id": [
      138701,
      138703
    ],
    "type": "AddBuff"
  }
}

Enemy

{
  "id": 138730,
  "BuffDesc": "The damage dealt is reduced, while the damage received and HP Loss are increased.",
  "BuffIcon": "skillbuff_2832001",
  "BuffName": "Othershore Doom",
  "BuffRate": {
    "Odds": 100
  },
  "IconType": 1,
  "BuffEffect": {
    "Agi": {
      "a": 0,
      "b": 0,
      "c": 212121,
      "type": 5010
    },
    "Dex": {
      "a": 0,
      "b": 0,
      "c": 212121,
      "type": 5010
    },
    "Int": {
      "a": 0,
      "b": 0,
      "c": 212121,
      "type": 5010
    },
    "Luk": {
      "a": 0,
      "b": 0,
      "c": 212121,
      "type": 5010
    },
    "Str": {
      "a": 0,
      "b": 0,
      "c": 212121,
      "type": 5010
    },
    "Vit": {
      "a": 0,
      "b": 0,
      "c": 212121,
      "type": 5010
    },
    "type": "AttrChange",
    "is_dead_del": 1,
    "ResultDamInc": {
      "a": 2826,
      "b": -0.03,
      "c": -0.09,
      "type": 8
    },
    "ResultDamRes": {
      "a": 2826,
      "b": -0.03,
      "c": -0.09,
      "type": 8
    },
    "explicit_del": 1,
    "form_leave_del": 1,
    "is_from_dead_del": 1
  },
  "BuffStateID": 138730
}

Enemy

{
  "id": 138733,
  "BuffName": "Othershore Doom (Debuff cannot be removed)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "NoDelStatus",
    "status": [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      11,
      12
    ],
    "is_dead_del": 1,
    "explicit_del": 1,
    "form_leave_del": 1,
    "is_from_dead_del": 1
  }
}

Formula

{
  "CD": 24,
  "id": 2832005,
  "Buff": {
    "enemy": [
      138737,
      138738
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2832000,
      "params": [
        4200,
        30
      ]
    }
  ],
  "Icon": "skill_2832001",
  "Camps": "Enemy",
  "FixCD": 1,
  "Level": 5,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 72501,
      "damChangePer": 42
    }
  ],
  "DescId": "##40858941",
  "NameZh": "##3460916",
  "SE_hit": "Skill/sfx_skill_kalisige_hualuoyuxiang_hit_01",
  "DamTime": {
    "type": 1,
    "value": 5
  },
  "DelayCD": 2,
  "Fire_EP": 3,
  "Pvp_buff": {
    "enemy": [
      138737,
      138738
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill6"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/sfx_skill_kalisige_qiangweimiyu_attack_01",
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "range": 12,
    "range_num": 12,
    "must_debuff": 1
  },
  "Launch_Range": 12
}