
Kiwi Stalk Gun
Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 960%. There is a 30% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
Aesir Effects
Skill Levels
• Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 900%. There is a 28% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
• Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 840%. There is a 26% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
• Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 780%. There is a 24% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
• Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 720%. There is a 22% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
• Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 660%. There is a 20% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
• Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 600%. There is a 18% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
• Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 540%. There is a 16% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
• Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 480%. There is a 14% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
• Use the Soul Strike of a kiwi to pierce through enemies, dealing earth-element magic damage equal to (Atk + M.Atk) * 420%. There is a 12% chance to make the target bleed. Increased Agi attribute has a chance to deal 1.5x damage.
Formula
1function CommonFun.calcDamage_15201(srcUser, targetUser, params, damageParam, logger)
2 local Int = srcUser:GetProperty("Int")
3 local Vit = srcUser:GetProperty("Vit")
4 local MAtk = srcUser:GetProperty("MAtk")
5 local MAtkPer = srcUser:GetProperty("MAtkPer")
6 local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
7 local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
8 if 1 <= IgnoreMDef then
9 IgnoreMDef = 1
10 end
11 local Str = srcUser:GetProperty("Str")
12 local Dex = srcUser:GetProperty("Dex")
13 local Luk = srcUser:GetProperty("Luk")
14 local Atk = srcUser:GetProperty("Atk")
15 local AtkPer = srcUser:GetProperty("AtkPer")
16 local BaseAtk = Dex * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
17 local AtkFinal = (Atk - BaseAtk) * (1 + AtkPer) + BaseAtk
18 local MRefine = srcUser:GetProperty("MRefine")
19 local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
20 local targetDefElement = targetUser:GetProperty("DefAttr")
21 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
22 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
23 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
24 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
25 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
26 local MDef2 = targetUser:GetProperty("MDef")
27 local MDefPer2 = targetUser:GetProperty("MDefPer")
28 local Vit2 = targetUser:GetProperty("Vit")
29 local VitPer2 = targetUser:GetProperty("VitPer")
30 local Int2 = targetUser:GetProperty("Int")
31 local IntPer2 = targetUser:GetProperty("IntPer")
32 local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
33 local RefineMDamReduc = CommonFun.calcRefineMDamReduc(srcUser, targetUser)
34 local damChangePer = damageParam.damChangePer
35 local BaseMAtk = Int + math.floor(Int * Int / 100)
36 local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk + AtkFinal) * raceparam * bossparam * bossparam2
37 local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
38 local Num = srcUser:GetRunePoint(153015_AESIR_KIWI_STALK_GUN_DMG_7)
39 local RuneDam = 1 + Num * 0.07
40 local GemMihout = srcUser:GetGemValue(153111_KIWI_STALK_GUN_DAMAGE_PERCENTAGE)
41 local GemDam = 1 + GemMihout / 100000
42 local skilllv_1 = srcUser:GetLernedSkillLevel(1635_BLADE_SOUL:EARTH_SOUL)
43 local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + skilllv_1 * 0.015) * RuneDam * GemDam
44 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
45 if skillID == 1650_BLADE_SOUL:CORN_GATLING then
46 local skilllv_gj = srcUser:GetLernedSkillLevel(1612_BLADE_SOUL:KIWI_STALK_GUN)
47 local skilllv_jtl = srcUser:GetLernedSkillLevel(1642_BLADE_SOUL:CORN_GATLING)
48 local skill_zr = srcUser:GetLernedSkillLevel(4127_PROFESSOR:NATURAL_RAGE_BURST)
49 local zr = 1
50 if srcUser:HasBuffID(131580_NATURAL_RAGE_:MAX_STACK_0) then
51 zr = 1 + skill_zr * 0.05
52 end
53 local shucai = srcUser:GetBuffLayer(123350_VEGETABLE_FRIEND_:MAX_STACK_4)
54 local skill_sc = srcUser:GetLernedSkillLevel(1662_BLADE_SOUL:VEGETABLE_FRIEND)
55 local sc_dam = 1 + skill_sc * shucai * 0.04
56 damChangePer = (skilllv_gj * 0.6 + 3.6) * zr * sc_dam
57 A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + skilllv_1 * 0.015) * RuneDam * GemDam * (skilllv_jtl * 0.05 + 0.15)
58 end
59 local Agi = srcUser:GetProperty("Agi")
60 local CriRate = math.min(Agi / 3 + 5, 100)
61 if A <= 1 then
62 return 1
63 end
64 if CommonFun.IsInRate(CriRate, srcUser:GetRandom()) then
65 return A * 1.5, CommonFun.DamageType.Crit
66 end
67 if srcUser:HasBuffID(131571_VEGETABLE_SKILL_CRITICAL_:MAX_STACK_0) then
68 local skilllv_dd = srcUser:GetLernedSkillLevel(4113_PROFESSOR:CONCENTRIC_EARTH)
69 local GemNew = srcUser:GetGemValue(153151_WHEN_EARTH_CONCENTRIC_IS_TRIGGERED_VEGGIE_TYPE_SKILL_CRIT_DMG_PERCENTAGE)
70 local Luk = srcUser:GetProperty("Luk")
71 local Fifth = 0
72 if srcUser:HasBuffID(90004594_MAGICAL_YELLOW_FOX_GRASS_1_TIER_5_:MAX_STACK_0) then
73 Fifth = 0.15
74 end
75 return A * (1 + skilllv_dd * 0.05 + GemNew / 100000 + Luk / 300 + Fifth), CommonFun.DamageType.Crit
76 end
77 return A
78end