Level 1
##923000
Skill #923001
Level 1
##923000
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": 923001,
"NameZh": "阳电子炮",
"Level": 1,
"Icon": "skill_1288001",
"Cost": 1,
"Desc": [
{
"id": 923000,
"params": "_EmptyTable"
}
],
"RollType": 2,
"SkillType": "Attack",
"Camps": "Enemy",
"Launch_Range": 7.5,
"Fire_EP": 3,
"Target_EP": 0,
"Attack_EP": 6,
"DelayCD": 2,
"Logic": "SkillLockedTarget",
"Logic_Param": {
"range": 3,
"range_num": 8
},
"Damage": [
{
"damChangePer": 3,
"type": 8010
}
],
"DamTime": {
"type": 1,
"value": 1
},
"AttackAct": [
"use_skill"
],
"SE_cast": "Common/Magic_cast",
"SE_attack": "Skill/GunArray_BloodCross_attack",
"SE_hit": "Skill/Cannon_hit",
"description": {
"chinesesimplified": "##923000",
"english": "##923000",
"german": "##923000",
"portuguese": "##923000",
"spanish": "##923000"
}
}