Level 1
##921000
Skill #921001
Deals (Atk[8df936]%s%%[-]) Dmg to a target and reduces their Move Spd
Level 1
##921000
Formulas & functions
Formula source
function CommonFun.calcDamage_8010(srcUser, targetUser, params, damageParam, logger)
local damChangePer = damageParam.damChangePer
local Num = srcUser:GetBuffLayer(120420)
local Ratio = 1
if srcUser:HasBuffID(120500) then
Ratio = 0.7
elseif srcUser:HasBuffID(120520) then
Ratio = 0.5
end
if targetUser:HasBuffID(120470) then
Ratio = 0
end
local A = 3333 * damChangePer * math.max(Num * 10, 1) * Ratio
return A, CommonFun.DamageType.Normal
endSkill JSON (Level 1)
{
"id": 921001,
"Level": 1,
"Icon": "skill_40023001",
"Cost": 1,
"Desc": [
{
"id": 921000,
"params": "_EmptyTable"
}
],
"RollType": 2,
"SkillType": "Attack",
"Camps": "Enemy",
"Launch_Range": 2,
"Fire_EP": 2,
"Target_EP": 2,
"Attack_EP": 2,
"CD": 1,
"Logic": "SkillLockedTarget",
"Damage": [
{
"damChangePer": 1,
"type": 8010
}
],
"DamTime": {
"type": 1,
"value": 1
},
"AttackAct": [
"attack"
],
"description": {
"chinesesimplified": "##921000",
"english": "##921000",
"german": "##921000",
"portuguese": "##921000",
"spanish": "##921000"
}
}