Echo of Petals
Lvl: 5 Attack Physical CD: 6 sec Skill Delay: 1 sec SP: 100 Range: 3

Khalitzburg stabs at the 3*6m area in the front, dealing P.DMG equal to (P.ATK+M.ATK)*1800% to the enemy and dropping 3 [Rose Petals] near self.

Lvl: 4 Attack Physical CD: 7 sec Skill Delay: 1 sec SP: 100 Range: 3
• Khalitzburg stabs at the 3*6m area in the front, dealing P.DMG equal to (P.ATK+M.ATK)*1600% to the enemy and dropping 3 [Rose Petals] near self.
Lvl: 3 Attack Physical CD: 8 sec Skill Delay: 1 sec SP: 100 Range: 3
• Khalitzburg stabs at the 3*6m area in the front, dealing P.DMG equal to (P.ATK+M.ATK)*1400% to the enemy and dropping 3 [Rose Petals] near self.
Lvl: 2 Attack Physical CD: 9 sec Skill Delay: 1 sec SP: 100 Range: 3
• Khalitzburg stabs at the 3*6m area in the front, dealing P.DMG equal to (P.ATK+M.ATK)*1200% to the enemy and dropping 3 [Rose Petals] near self.
Lvl: 1 Attack Physical CD: 10 sec Skill Delay: 1 sec SP: 100 Range: 3
• Khalitzburg stabs at the 3*6m area in the front, dealing P.DMG equal to (P.ATK+M.ATK)*1000% to the enemy and dropping 3 [Rose Petals] near self.

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

Self 5260

function CommonFun.calcBuff_5260(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Value = srcUser:GetGemValue(c)
  local MaxHp = srcUser:GetProperty("MaxHp")
  local MaxSp = srcUser:GetProperty("MaxSp")
  local A = Value / 100000 * MaxHp * a + Value / 100000 * MaxSp * b
  return A
end
Blue petals

Self

{
  "id": 138711,
  "BuffName": "Blue flower rain (falling petals)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "id": 2838001,
    "Odds": 100,
    "type": "UseSkill",
    "IsCount": 1,
    "rand_between_range": [
      1.5,
      3
    ]
  }
}

Self

{
  "id": 138712,
  "BuffDesc": "The falling petals will restore life.",
  "BuffIcon": "skillbuff_2829001",
  "BuffName": "Blue Floral Rain (Rune)",
  "BuffRate": {
    "Odds": {
      "a": 212141,
      "type": 5000
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "Condition": {
    "type": "UseSkill",
    "need_skill": [
      2838
    ],
    "buff_skill_can_trigger": 1
  },
  "BuffEffect": {
    "Hp": {
      "a": 1,
      "b": 0,
      "c": 212141,
      "type": 5260
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}

Formula

{
  "CD": 6,
  "id": 2829005,
  "Buff": {
    "self": [
      138711,
      138712
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2829000,
      "params": [
        1800
      ]
    }
  ],
  "Icon": "skill_2829001",
  "Camps": "Enemy",
  "Level": 5,
  "Logic": "SkillDirectionRect",
  "Damage": [
    {
      "type": 72501,
      "damChangePer": 18
    }
  ],
  "DescId": "##40858939",
  "NameZh": "##3464116",
  "SE_hit": "Skill/sfx_skill_kalisige_hualuoyuxiang_hit_01",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      138711,
      138712
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill3"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/sfx_skill_kalisige_hualuoyuxiang_attack_01",
  "SkillCost": {
    "sp": 100
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "width": 3,
    "distance": 6,
    "range_num": 10,
    "point_effect": "Eff_Doram_Boar_buff",
    "forward_offset": 0
  },
  "Launch_Range": 3
}