Picky Peck

Picky Peck

Lv 10AttackPhysical

Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *600%. Increased Agi attribute grants a chance to deal 1.5x damage.

CD: 1 sec
Range: 5
Cast: 2

Skill Levels

Lvl: 9
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 13
Range: 5
Cast Time: 2

• Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *570%. Increased Agi attribute grants a chance to deal 1.5x damage.

Lvl: 8
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 12
Range: 5
Cast Time: 2

• Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *540%. Increased Agi attribute grants a chance to deal 1.5x damage.

Lvl: 7
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 11
Range: 5
Cast Time: 2

• Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *510%. Increased Agi attribute grants a chance to deal 1.5x damage.

Lvl: 6
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 10
Range: 5
Cast Time: 2

• Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *480%. Increased Agi attribute grants a chance to deal 1.5x damage.

Lvl: 5
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 9
Range: 5
Cast Time: 2

• Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *450%. Increased Agi attribute grants a chance to deal 1.5x damage.

Lvl: 4
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 8
Range: 5
Cast Time: 2

• Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *420%. Increased Agi attribute grants a chance to deal 1.5x damage.

Lvl: 3
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 7
Range: 5
Cast Time: 2

• Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *390%. Increased Agi attribute grants a chance to deal 1.5x damage.

Lvl: 2
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 6
Range: 5
Cast Time: 2

• Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *360%. Increased Agi attribute grants a chance to deal 1.5x damage.

Lvl: 1
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 5
Range: 5
Cast Time: 2

• Picky's Phantom Peck strikes the enemy, dealing physical damage equal to (Atk + M.Atk) *330%. Increased Agi attribute grants a chance to deal 1.5x damage.

Formula

1function CommonFun.calcDamage_15102(srcUser, targetUser, params, damageParam, logger)
2  local Str = srcUser:GetProperty("Str")
3  local Dex = srcUser:GetProperty("Dex")
4  local Luk = srcUser:GetProperty("Luk")
5  local Atk = srcUser:GetProperty("Atk")
6  local AtkPer = srcUser:GetProperty("AtkPer")
7  local DamIncrease = srcUser:GetProperty("DamIncrease")
8  local IgnoreDef = 0
9  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
10  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
11  local Int = srcUser:GetProperty("Int")
12  local MAtk = srcUser:GetProperty("MAtk")
13  local MAtkPer = srcUser:GetProperty("MAtkPer")
14  if targetUser.boss or targetUser.mini then
15    IgnoreDef = IgnoreDef1
16  else
17    IgnoreDef = IgnoreDef1 + IgnoreDef2
18  end
19  if 1 <= IgnoreDef then
20    IgnoreDef = 1
21  end
22  local Refine = srcUser:GetProperty("Refine")
23  local AttrEffect = srcUser:GetProperty("AttrEffect")
24  local bits = CommonFun.getBits(AttrEffect)
25  local Def2 = targetUser:GetProperty("Def")
26  local DefPer2 = targetUser:GetProperty("DefPer")
27  local Vit2 = targetUser:GetProperty("Vit")
28  local VitPer2 = targetUser:GetProperty("VitPer")
29  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
30  local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
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 = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 5) + math.floor(Luk / 5)
42  local Hp = srcUser:GetProperty("Hp")
43  local MaxHp = srcUser:GetProperty("MaxHp")
44  local Num_sm = srcUser:GetRunePoint(153037_AESIR_LIFE_SOUL_DEALS_EXTRA_DMG_OF_1_5_OF_THE_MAX_HP)
45  local skilllv_1 = srcUser:GetLernedSkillLevel(1638_BLADE_SOUL:LIFE_SOUL)
46  local HpDamage = 0
47  local mapid, maptype = srcUser:GetMapInfo()
48  local pvpRatio = 1
49  if maptype == PVP_MAPS then
50    pvpRatio = 0.25
51  end
52  local Fifth = 0
53  if srcUser:HasBuffID(90004604_FINE_PINK_FOX_GRASS_1_TIER_5_:MAX_STACK_0) then
54    Fifth = Fifth + 0.14
55  end
56  if 0 < skilllv_1 then
57    HpDamage = (Hp * (skilllv_1 * 0.016 + 0.04 + Fifth) + MaxHp * Num_sm * 0.015) / damChangePer * pvpRatio
58  end
59  local AtkFinal = (((Atk - BaseAtk) * (1 + AtkPer) + HpDamage) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
60  local BaseMAtk = Int + math.floor(Int * Int / 100)
61  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) * elementparam * elementparam2 + BaseMAtk) * raceparam * bossparam * bossparam2
62  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
63  local A = ((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)
64  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
65  if skillID == 1617_BLADE_SOUL:TAROU_TRAUMA then
66    local Num = srcUser:GetRunePoint(153020_AESIR_TAROU_TRAUMA_DMG_7)
67    local RuneDam = 1 + Num * 0.07
68    local GemBaishu = srcUser:GetGemValue(153071_TAROU_TRAUMA_DAMAGE_PERCENTAGE)
69    A = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 + DamIncrease - LongRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)) * RuneDam * (1 + GemBaishu / 100000)
70  end
71  local ValueCri = srcUser:GetGemValue(153041_BRUTE_ATTACK_SKILL_CRITICAL_CHANCE_PERCENTAGE)
72  local ValueCriDam = srcUser:GetGemValue(153042_BRUTE_ATTACK_SKILL_CRITICAL_DAMAGE_PERCENTAGE)
73  local Agi = srcUser:GetProperty("Agi")
74  local CriRate = math.min(Agi / 3 + 5 + ValueCri / 1000, 100)
75  local shadow = 1
76  if srcUser:GetTempSkillSlaveID() == 806612 then
77    local GemNew = srcUser:GetGemValue(153142_SKILL_DMG_OF_LIFE_CONCENTRIC_S_ILLUSION_PERCENTAGE)
78    shadow = 1 + GemNew / 100000
79  end
80  if A <= 1 then
81    return 1
82  end
83  if CommonFun.IsInRate(CriRate, srcUser:GetRandom()) then
84    return A * (1.5 + ValueCriDam / 100000) * shadow, CommonFun.DamageType.Crit
85  end
86  return A * shadow
87end
Preserved HTML snapshot from ROM Handbook