Echo of Petals

Echo of Petals

Lv 5AttackPhysical

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.

CD: 6 sec
Range: 3

Skill Levels

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

1function CommonFun.calcDamage_72501(srcUser, targetUser, params, damageParam, logger)
2  local Str = srcUser:GetProperty("Str")
3  local Vit = srcUser:GetProperty("Vit")
4  local Dex = srcUser:GetProperty("Dex")
5  local Luk = srcUser:GetProperty("Luk")
6  local Int = srcUser:GetProperty("Int")
7  local Agi = srcUser:GetProperty("Agi")
8  local Atk = srcUser:GetProperty("Atk")
9  local AtkPer = srcUser:GetProperty("AtkPer")
10  local MAtk = srcUser:GetProperty("MAtk")
11  local MAtkPer = srcUser:GetProperty("MAtkPer")
12  local DamIncrease = srcUser:GetProperty("DamIncrease")
13  local IgnoreDef = 0
14  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
15  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
16  if targetUser.boss or targetUser.mini then
17    IgnoreDef = IgnoreDef1
18  else
19    IgnoreDef = IgnoreDef1 + IgnoreDef2
20  end
21  if 1 <= IgnoreDef then
22    IgnoreDef = 1
23  end
24  local Refine = srcUser:GetProperty("Refine")
25  local MRefine = srcUser:GetProperty("MRefine")
26  local Def2 = targetUser:GetProperty("Def")
27  local DefPer2 = targetUser:GetProperty("DefPer")
28  local Vit2 = targetUser:GetProperty("Vit")
29  local VitPer2 = targetUser:GetProperty("VitPer")
30  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
31  local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
32  local damChangePer = damageParam.damChangePer
33  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
34  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
35  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
36  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
37  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
38  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
39  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
40  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
41  local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
42  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
43  local BaseMAtk = Int + math.floor(Int * Int / 100)
44  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) * elementparam * elementparam2 + BaseMAtk) * raceparam * bossparam * bossparam2
45  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
46  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
47  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
48  if skillID == 2831_SAINT:WISH_FLOWER then
49    damChangePer = damChangePer * (1 + math.min(Agi, 300) / 100)
50    local GemValue = srcUser:GetGemValue(212111_WISH_FLOWER_DEALS_PERCENTAGE_MORE_DMG_TO_ENEMIES_IN_DOOM_OR_OTHERSHORE_DOOM_STATE)
51    if targetUser:HasBuffID(138701_DOOM_:MAX_STACK_0) or targetUser:HasBuffID(138730_OTHERSHORE_DOOM_:MAX_STACK_0) then
52      damChangePer = damChangePer * (1 + GemValue / 100000)
53    end
54  end
55  if skillID == 2842_SAINT:FALLING_PETALS then
56    local skilllv = srcUser:GetLernedSkillLevel(2827_SAINT:MEMORY_OF_PETALS)
57    damChangePer = 1.6 * skilllv + 5.6
58  end
59  local A = ((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
60  if srcUser:HasBuffID(138660_FATAL_RAPIER_:MAX_STACK_0) then
61    local GemValue = srcUser:GetGemValue(212151_FLOWER_OF_DESPERATION_GRANTS_YOUR_SKILLS_A_PERCENTAGE_CHANCE_TO_LAND_CRITICAL_ATTACKS_THAT_DEAL_200_DMG)
62    if CommonFun.IsInRate(GemValue / 1000, srcUser:GetRandom()) then
63      return A * 2, CommonFun.DamageType.Crit
64    end
65  end
66  if A <= 1 then
67    return 1
68  end
69  return A
70end
Preserved HTML snapshot from ROM Handbook