Level 10
##5100000
Skill #5100001
Level 10
##5100000
Level 9
##5100000
Level 8
##5100000
Level 7
##5100000
Level 6
##5100000
Level 5
##5100000
Level 4
##5100000
Level 3
##5100000
Level 2
##5100000
Level 1
##5100000
Formulas & functions
Formula source
function CommonFun.calcBuff_100220(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local A = 0
local skilllv_1 = srcUser:GetLernedSkillLevel(a)
A = skilllv_1 * b + c
local Profession = targetUser:GetProfressionID()
if Profession == 82 or Profession == 83 or Profession == 84 then
A = 0
end
return A
endSkill JSON (Level 10)
{
"id": 5100010,
"NameZh": "咒力赋予",
"Level": 10,
"Icon": "skill_5100001",
"Cost": 1,
"Desc": [
{
"id": 5100000,
"params": [
15
]
}
],
"SkillType": "Buff",
"Camps": "Friend",
"Launch_Range": 6,
"Fire_EP": 3,
"Target_EP": 3,
"Attack_EP": 2,
"CD": 30,
"SkillCost": {
"sp": 100
},
"DelayCD": 1,
"PreCondition": [
{
"itemtype": 240,
"type": 2
}
],
"NoTargetAutoCast": 1,
"Lead_Type": {
"CCT": 1.5,
"FCT": 0,
"type": 2
},
"Logic": "SkillSelfRange",
"Logic_Param": {
"no_select": 1,
"range": 6,
"range_num": 5
},
"Buff": {
"self": [
1001040
],
"team": [
1001000,
1001001,
1001030
]
},
"Pvp_buff": {
"self": [
1001040
],
"team": [
1001000,
1001001,
1001030
]
},
"CastAct": "reading",
"AttackAct": [
"use_magic"
],
"SE_attack": "Skill/sfx_skill_master_curse_sage_attack_01",
"description": {
"chinesesimplified": "##5100000",
"english": "##5100000",
"german": "##5100000",
"portuguese": "##5100000",
"spanish": "##5100000"
}
}