Level 1
##924000
Skill #924001
Level 1
##924000
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": 924001,
"NameZh": "音速双刀",
"Level": 1,
"Icon": "skill_181001",
"Cost": 1,
"Desc": [
{
"id": 924000,
"params": "_EmptyTable"
}
],
"RollType": 1,
"SkillType": "Attack",
"Camps": "Enemy",
"Launch_Range": 1.5,
"Fire_EP": 3,
"Target_EP": 3,
"Attack_EP": 3,
"DelayCD": 2,
"Logic": "SkillLockedTarget",
"Damage": [
{
"damChangePer": 3,
"type": 8011
}
],
"DamTime": {
"type": 1,
"value": 8
},
"AttackAct": [
"use_skill"
],
"SE_attack": "Common/Skill_attack",
"SE_hit": "Skill/Spear_hit",
"description": {
"chinesesimplified": "##924000",
"english": "##924000",
"german": "##924000",
"portuguese": "##924000",
"spanish": "##924000"
}
}