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