Level 5
##353000
Skill #353001
Level 5
##353000
Level 4
##353000
Level 3
##353000
Level 2
##353000
Level 1
##353000
Formulas & functions
Formula source
function CommonFun.calcBuff_1920(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local A = 0
if srcUser:HasBuffID(115080) then
A = 100
end
return A
endFormula source
function CommonFun.calcBuff_3500(srcUser, targetUser, a, b, c, d, lv)
if srcUser == nil or targetUser == nil then
return 0
end
local A = 0
local Ring1 = srcUser:GetEquipedID(2)
if Ring1 == 42077 or Ring1 == 142077 then
A = 100
end
return A
endSkill JSON (Level 5)
{
"id": 353005,
"NameZh": "牺牲",
"Level": 5,
"Icon": "skill_353001",
"Cost": 1,
"Desc": [
{
"id": 353000,
"params": [
1,
90,
9
]
}
],
"SkillType": "Buff",
"Camps": "Team",
"TargetFilter": {
"classID": [
72,
73,
74,
75
]
},
"Launch_Range": 7,
"Fire_EP": 0,
"Target_EP": 3,
"Attack_EP": 3,
"SkillCost": {
"sp": 25
},
"DelayCD": 3,
"AutoCondition": [
{
"no_target": 1,
"time": 30,
"type": 1
},
{
"no_target": 1,
"only_lock_target": 1,
"type": 7
}
],
"NoTargetAutoCast": 1,
"Logic": "SkillLockedTarget",
"Logic_Param": {
"GM": {
"id1": 0,
"speffectid": 9,
"target": 1,
"type": "speffect"
}
},
"Buff": {
"self": [
41221,
41222
],
"team": [
115002,
115003,
115007
]
},
"Pvp_buff": {
"self": [
41221,
41222
],
"team": [
115002,
115003,
115007
]
},
"AttackAct": [
"use_skill"
],
"SE_cast": "Skill/Magic_cast",
"SE_attack": "Skill/skill_magic_sacrifice_attack",
"description": {
"chinesesimplified": "##353000",
"english": "##353000",
"german": "##353000",
"portuguese": "##353000",
"spanish": "##353000"
}
}