
Auto Attack
Lvl: 1
Attack
Physical
Range: 2
Deals Phy. DMG x 600%% Phy. DMG to every single enemy. Attack SPD remains 100%%. Unable to trigger Critical. Every 10 points of AGI will be converted to 1%% Move SPD. [Auto Attack] does not cause repel
Formula
function CommonFun.calcDamage_100501(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 Int = srcUser:GetProperty("Int")
local AtkPer = srcUser:GetProperty("AtkPer")
local NormalAtk = srcUser:GetProperty("NormalAtk")
NormalAtk = NormalAtk + 5 * Str
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 BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
local AtkFinal = ((Atk - BaseAtk + NormalAtk) * (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)
local skilllv_tx = srcUser:GetLernedSkillLevel(2561_HIGH_PRIEST:SUPREME_POWER)
local Str2 = targetUser:GetProperty("Str")
local B = (Str + Str2) * (skilllv_tx * 0.01 + 0.03) * AtkFinal * DefReduc * (1 - DamReduc2) * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2)
local skilllv_ll = srcUser:GetLernedSkillLevel(2561_HIGH_PRIEST:SUPREME_POWER)
if 4 <= skilllv_ll then
B = B * 2
end
local Total = A + math.max(B, 0)
if Total <= 1 then
return 1
end
return Total
end
Self
{
"id": 136743,
"BuffDesc": "Reduc. Increase",
"BuffIcon": "skillbuff_commonbuff",
"BuffName": "Terminating Punch (Reduction)",
"BuffRate": {
"Odds": {
"a": 2571,
"b": 100,
"c": 0,
"type": 8
}
},
"BuffType": {
"isgain": 1,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "AttrChange",
"HideDamReduc": {
"a": 2571,
"b": 0.1,
"c": 0,
"type": 8
},
"HideMDamReduc": {
"a": 2571,
"b": 0.1,
"c": 0,
"type": 8
}
}
}
Formula
{
"id": 2560001,
"Buff": {
"self": [
136743
]
},
"Cost": 0,
"Desc": [
{
"id": 2560000
}
],
"Icon": "skill_2560001",
"Camps": "Enemy",
"Level": 1,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 100501,
"damChangePer": 6
}
],
"DescId": "##1268853",
"NameZh": "##1268830",
"DamTime": {
"type": 1,
"value": 1
},
"Fire_EP": 3,
"Pvp_buff": {
"self": [
136743
]
},
"RollType": 1,
"SkillHit": 0.3,
"AttackAct": [
"attack",
"attack2"
],
"Attack_EP": 2,
"SE_attack": "Skill/Skill_Hero_Qiyu_Attack_07",
"SkillType": "Attack",
"Target_EP": 3,
"Launch_Type": 1,
"Launch_Range": 2,
"FashionAttackAct": "attack_Knuckle"
}