
Kiwi Stalk Gun
Lvl: 10
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 20
Range: 5
Cast Time: 3.5
Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x960%. Has a 30% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Lvl: 9
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 19
Range: 5
Cast Time: 3.4
• Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x900%. Has a 28% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Lvl: 8
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 18
Range: 5
Cast Time: 3.3
• Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x840%. Has a 26% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Lvl: 7
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 17
Range: 5
Cast Time: 3.2
• Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x780%. Has a 24% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Lvl: 6
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 16
Range: 5
Cast Time: 3.1
• Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x720%. Has a 22% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Lvl: 5
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 15
Range: 5
Cast Time: 3
• Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x660%. Has a 20% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Lvl: 4
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 14
Range: 5
Cast Time: 2.9
• Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x600%. Has a 18% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Lvl: 3
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 13
Range: 5
Cast Time: 2.8
• Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x540%. Has a 16% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Lvl: 2
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 12
Range: 5
Cast Time: 2.7
• Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x480%. Has a 14% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Lvl: 1
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 11
Range: 5
Cast Time: 2.6
• Launches a penetrating kiwi spirit attack on the enemy, dealing Earth Magic Damage equal to your M.Atk x420%. Has a 12% chance to make them bleed. The higher your Agi, the higher your chance to deal 1.5x damage.
Aesir
• Kiwi Stalk Gun - Effect [Kiwi Stalk Gun] DMG +7%
Formula
function CommonFun.calcDamage_15201(srcUser, targetUser, params, damageParam, logger)
local Int = srcUser:GetProperty("Int")
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local MRefine = srcUser:GetProperty("MRefine")
local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
local targetDefElement = targetUser:GetProperty("DefAttr")
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
local damChangePer = damageParam.damChangePer
local BaseMAtk = Int + math.floor(Int * Int / 100)
local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local Num = srcUser:GetRunePoint(153015_AESIR_KIWI_STALK_GUN_DMG_7)
local RuneDam = 1 + Num * 0.07
local GemMihout = srcUser:GetGemValue(153111_KIWI_STALK_GUN_DAMAGE_PERCENTAGE)
local GemDam = 1 + GemMihout / 100000
local skilllv_1 = srcUser:GetLernedSkillLevel(1635_BLADE_SOUL:EARTH_SOUL)
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
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 1650_BLADE_SOUL:CORN_GATLING then
local skilllv_gj = srcUser:GetLernedSkillLevel(1612_BLADE_SOUL:KIWI_STALK_GUN)
local skilllv_jtl = srcUser:GetLernedSkillLevel(1642_BLADE_SOUL:CORN_GATLING)
local skill_zr = srcUser:GetLernedSkillLevel(4127_PROFESSOR:NATURAL_RAGE_BURST)
local zr = 1
if srcUser:HasBuffID(131580_NATURAL_RAGE_:MAX_STACK_0) then
zr = 1 + skill_zr * 0.05
end
local shucai = srcUser:GetBuffLayer(123350_VEGETABLE_FRIEND_:MAX_STACK_4)
local skill_sc = srcUser:GetLernedSkillLevel(1662_BLADE_SOUL:VEGETABLE_FRIEND)
local sc_dam = 1 + skill_sc * shucai * 0.04
damChangePer = (skilllv_gj * 0.6 + 3.6) * zr * sc_dam
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)
end
local Agi = srcUser:GetProperty("Agi")
local CriRate = math.min(Agi / 3 + 5, 100)
if A <= 1 then
return 1
end
if CommonFun.IsInRate(CriRate, srcUser:GetRandom()) then
return A * 1.5, CommonFun.DamageType.Crit
end
if srcUser:HasBuffID(131571_VEGETABLE_SKILL_CRITICAL_:MAX_STACK_0) then
local skilllv_dd = srcUser:GetLernedSkillLevel(4113_PROFESSOR:CONCENTRIC_EARTH)
local GemNew = srcUser:GetGemValue(153151_WHEN_EARTH_CONCENTRIC_IS_TRIGGERED_VEGGIE_TYPE_SKILL_CRIT_DMG_PERCENTAGE)
local Luk = srcUser:GetProperty("Luk")
local Fifth = 0
if srcUser:HasBuffID(90004594_MAGICAL_YELLOW_FOX_GRASS_1_T5_:MAX_STACK_0) then
Fifth = 0.15
end
return A * (1 + skilllv_dd * 0.05 + GemNew / 100000 + Luk / 300 + Fifth), CommonFun.DamageType.Crit
end
return A
end
Enemy 6
function CommonFun.calcBuff_6(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local MaxHp = targetUser:GetProperty("MaxHp")
local A = MaxHp * (a + c) + b
if 0 < A or a == 0 then
return A
end
if srcUser:GetNpcID() == 0 and targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) and targetUser.boss == false and targetUser.mini == false then
return 0
end
if srcUser:GetNpcID() == 0 and (targetUser.boss or targetUser.mini) then
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local Refine = srcUser:GetProperty("Refine")
local MRefine = srcUser:GetProperty("MRefine")
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
local Str = srcUser:GetProperty("Str")
local Dex = srcUser:GetProperty("Dex")
local Luk = srcUser:GetProperty("Luk")
local Atk = srcUser:GetProperty("Atk")
local AtkPer = srcUser:GetProperty("AtkPer")
local DamIncrease = srcUser:GetProperty("DamIncrease")
local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreDef = srcUser:GetProperty("IgnoreDef")
if 1 <= IgnoreDef then
IgnoreDef = 1
end
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local raceparam = 1
local srcRace = srcUser.race
local targetRace = targetUser.race
if targetUser:HasBuffID(139410_TWO_FACE_DEMON_KING_HUMAN_:MAX_STACK_0) then
targetRace = 3
end
if srcUser:HasBuffID(139411_TWO_FACE_DEMON_KING_DEMON_:MAX_STACK_0) then
srcRace = 3
end
if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
targetRace = 2
end
if targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and targetUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
elseif targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
srcRace = 2
end
if nil == CommonFun.RaceProps[targetRace] then
return 0
end
if nil == CommonFun.RaceProps[srcRace] then
return 0
end
local raceInc = srcUser:GetProperty(CommonFun.RaceProps[targetRace][1])
local raceRed = targetUser:GetProperty(CommonFun.RaceProps[srcRace][2])
local raceparam = 1 + raceInc - raceRed
if raceparam <= 0.1 then
raceparam = 0.1
end
local MAtkFinal = MAtk * (1 + MAtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
local AtkFinal = Atk * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
if MAtkFinal <= AtkFinal then
local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * a * 100 * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2) + b
else
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * a * 100 * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + b
end
end
local AttrFunction = srcUser:GetProperty("AttrFunction")
local bitfunc = CommonFun.getBits(AttrFunction)
if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
A = 0
end
if CommonFun.checkAttrFunctionMiss(targetUser, srcUser) then
A = 0
end
if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
A = 0
end
if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
A = -1
end
if targetUser:DamageAlways1() then
A = -1
end
return A
end
Enemy
{
"id": 123070,
"BuffName": "Kiwi (Bleed Effect)",
"BuffRate": {
"Odds": {
"a": 2,
"b": 10,
"type": 185
}
},
"BuffEffect": {
"id": [
300021,
300022
],
"type": "AddBuff"
}
}
Enemy
{
"id": 300021,
"BuffName": "Bleeding Effect [HP Loss]",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "StatusChange",
"AtkPer": -0.25,
"SkillASPD": -0.25,
"AttrEffect": [
3,
4
],
"StateEffect": "2_Blood"
},
"BuffStateID": 120032
}
Enemy
{
"id": 300022,
"BuffName": "HP Loss Effect",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"Hp": {
"a": -0.005,
"b": -5,
"type": 6
},
"type": "HpReduce",
"delHpPer": 0.2,
"StateEffect": "2_Blood"
}
}
Formula
{
"CD": 1,
"id": 1612010,
"Buff": {
"enemy": [
123070
]
},
"Cost": 1,
"Desc": [
{
"id": 1612000,
"params": [
960,
30
]
}
],
"Icon": "skill_1612001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 15201,
"damChangePer": 9.6,
"elementparam": 2
}
],
"DescId": "##170558",
"NameZh": "##169419",
"SE_hit": "Skill/Skill_monster_Doram_kiwifruit_hit",
"CastAct": "skill_ready",
"DamTime": {
"type": 1,
"value": 2
},
"DelayCD": 1,
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
123070
]
},
"RollType": 2,
"AttackAct": [
"use_skill2"
],
"Attack_EP": 2,
"Lead_Type": {
"CCT": 0,
"FCT": 3.5,
"type": 2
},
"SkillCost": {
"sp": 20
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 2,
"Logic_Param": {
"emit": {
"type": 1,
"speed": 30,
"effect": "Eff_Doram_Kiwifruit_atk,LowFire_B"
}
},
"Launch_Range": 5
}