
Spitting
Lvl: 10
Attack
Physical
CD: 5 sec
Range: 6
Inflict Water DMG of ATK x800% on a single enemy unit with a 30% chance of freezing the target for 3 seconds
Lvl: 9
Attack
Physical
CD: 5 sec
Range: 6
• Inflict Water DMG of ATK x700% on a single enemy unit with a 28% chance of freezing the target for 3 seconds
Lvl: 8
Attack
Physical
CD: 5 sec
Range: 6
• Inflict Water DMG of ATK x650% on a single enemy unit with a 26% chance of freezing the target for 3 seconds
Lvl: 7
Attack
Physical
CD: 5 sec
Range: 6
• Inflict Water DMG of ATK x600% on a single enemy unit with a 24% chance of freezing the target for 3 seconds
Lvl: 6
Attack
Physical
CD: 5 sec
Range: 6
• Inflict Water DMG of ATK x550% on a single enemy unit with a 22% chance of freezing the target for 3 seconds
Lvl: 5
Attack
Physical
CD: 5 sec
Range: 6
• Inflict Water DMG of ATK x500% on a single enemy unit with a 20% chance of freezing the target for 3 seconds
Lvl: 4
Attack
Physical
CD: 5 sec
Range: 6
• Inflict Water DMG of ATK x450% on a single enemy unit with a 18% chance of freezing the target for 3 seconds
Lvl: 3
Attack
Physical
CD: 5 sec
Range: 6
• Inflict Water DMG of ATK x400% on a single enemy unit with a 16% chance of freezing the target for 3 seconds
Lvl: 2
Attack
Physical
CD: 5 sec
Range: 6
• Inflict Water DMG of ATK x350% on a single enemy unit with a 14% chance of freezing the target for 3 seconds
Lvl: 1
Attack
Physical
CD: 5 sec
Range: 6
• Inflict Water DMG of ATK x300% on a single enemy unit with a 12% chance of freezing the target for 3 seconds
Formula
function CommonFun.calcDamage_20(srcUser, targetUser, params, damageParam, logger)
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 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 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 skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 380_RUNE_KNIGHT:SONIC_CLAW or skillID == 383_RUNE_KNIGHT:SILVER_CHARGE or skillID == 384_RUNE_KNIGHT:TINDER_BREAKER then
AtkPer = 0
end
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 DefReduc = CommonFun.CalcDef(srcUser, targetUser)
local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 100033700,
"BuffName": "Spitting",
"BuffRate": {
"Odds": {
"a": 2,
"b": 10,
"type": 110
}
},
"BuffEffect": {
"type": "StatusChange",
"Freeze": 1,
"DefAttr": 3,
"AttrEffect": [
3,
4
],
"StateEffect": "5_Freeze",
"NoEffectMove": 3,
"atk_def_priority": 1
},
"BuffStateID": 85070
}
Formula
{
"CD": 5,
"id": 108100010,
"Buff": {
"enemy": [
100033700
]
},
"Desc": [
{
"id": 108100010,
"params": [
800,
30
]
}
],
"Icon": "skill_10025001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 20,
"damChangePer": 8,
"elementparam": 3
}
],
"DescId": "##285842",
"NameZh": "##285575",
"DamTime": {
"type": 1,
"value": 2
},
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
100033700
]
},
"RollType": 1,
"AttackAct": [
"attack"
],
"Attack_EP": 3,
"SkillType": "Attack",
"Target_EP": 3,
"Launch_Range": 6
}