Level 5
##1313000
Skill #1313001
Level 5
##1313000
Level 4
##1313000
Level 3
##1313000
Level 2
##1313000
Level 1
##1313000
Formulas & functions
Formula source
function CommonFun.calcBuff_186(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local DarkStateAtk = srcUser:GetProperty("DarkStateAtk")
local DarkStateDef2 = targetUser:GetProperty("DarkStateDef")
local DarkStateDam = 1 + DarkStateAtk - DarkStateDef2
if DarkStateDam <= 0 then
DarkStateDam = 0
end
local StateAtk = srcUser:GetProperty("StateAtk")
local StateDef2 = targetUser:GetProperty("StateDef")
local StateDam = 1 + StateAtk - StateDef2
if StateDam <= 0 then
StateDam = 0
end
local A = (lv * a + b) * DarkStateDam * StateDam * CommonFun.calcAttrDarkRate(srcUser, targetUser)
if A <= 0 then
return 0
end
return A
endSkill JSON (Level 5)
{
"id": 1313005,
"NameZh": "薄雾墙",
"Level": 5,
"Icon": "skill_1313001",
"Cost": 1,
"Desc": [
{
"id": 1313000,
"params": [
100,
70
]
}
],
"SkillType": "Buff",
"Camps": "Enemy",
"Launch_Range": 6,
"Fire_EP": 3,
"Target_EP": 0,
"Attack_EP": 0,
"CD": 3,
"SkillCost": {
"sp": 50
},
"DelayCD": 1.5,
"AutoCondition": [
{
"time": 20,
"type": 1
}
],
"Lead_Type": {
"CCT": 0.8,
"FCT": 4,
"type": 2
},
"Logic": "SkillPointRange",
"Logic_Param": {
"count": 30,
"interval": 1,
"isCountTrap": 1,
"max_count": 2,
"no_select": 1,
"range": 2,
"trap_effect": "FogWall_buff,LowRange_B"
},
"Buff": {
"enemy": [
118170,
118171
],
"self_skill": [
118172
],
"team": [
118172
]
},
"Pvp_buff": {
"enemy": [
118170,
118171
],
"self_skill": [
118172
],
"team": [
118172
]
},
"CastAct": "reading",
"AttackAct": [
"use_skill"
],
"SE_cast": "Common/Magic_cast",
"SE_attack": "Skill/skill_magic_fogspell_atttack",
"description": {
"chinesesimplified": "##1313000",
"english": "##1313000",
"german": "##1313000",
"portuguese": "##1313000",
"spanish": "##1313000"
}
}