
Channeled skill. Make four regional style dishes using four parts of a sea bream.
【Cooking Process】: The process of scraping fish scales with a special steel wire is stress-relieving, restoring 5% of maximum HP and MP per second for teammates and self within a 12-meter range. The recovery amount increases by 100% for each additional teammate in the range, up to a maximum increase of 400%. Cooking ends after 5 seconds.
【Cooking Succeeded】: The sea bream opens like a fan, forming a landscape painting that stirs emotions and pride. If there are 4 or more teammates (including self) around when cooking ends, all teammates and self within the range become invincible for 4 seconds (can be applied once every 10 seconds).
Team 8690
function CommonFun.calcBuff_8690(srcUser, targetUser, a, b, c, d, lv, damage)
if srcUser == nil or targetUser == nil then
return 0
end
local skilllv = srcUser:GetLernedSkillLevel(2927_MERCHANT:SEA_BREAM_CONTINENTAL_SEAL)
local MaxHp = targetUser:GetProperty("MaxHp")
local MaxSp = targetUser:GetProperty("MaxSp")
local TeamNum = srcUser:GetRangeTeammate(12)
local A = (MaxHp * skilllv * a + MaxSp * skilllv * b) * math.min(1 + TeamNum, 5)
return A
end
Self Skill 8690
function CommonFun.calcBuff_8690(srcUser, targetUser, a, b, c, d, lv, damage)
if srcUser == nil or targetUser == nil then
return 0
end
local skilllv = srcUser:GetLernedSkillLevel(2927_MERCHANT:SEA_BREAM_CONTINENTAL_SEAL)
local MaxHp = targetUser:GetProperty("MaxHp")
local MaxSp = targetUser:GetProperty("MaxSp")
local TeamNum = srcUser:GetRangeTeammate(12)
local A = (MaxHp * skilllv * a + MaxSp * skilllv * b) * math.min(1 + TeamNum, 5)
return A
end
Team
{
"id": 139090,
"BuffName": "Sea Bream Continental Seal",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"Hp": {
"a": 0.01,
"b": 0,
"type": 8690
},
"Sp": {
"a": 0,
"b": 0.01,
"type": 8690
},
"type": "HSPChange",
"calc_heal": 1,
"consume_layer": 1
},
"BuffStateID": 139090
}
Self Skill
{
"id": 139090,
"BuffName": "Sea Bream Continental Seal",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"Hp": {
"a": 0.01,
"b": 0,
"type": 8690
},
"Sp": {
"a": 0,
"b": 0.01,
"type": 8690
},
"type": "HSPChange",
"calc_heal": 1,
"consume_layer": 1
},
"BuffStateID": 139090
}
Formula
{
"CD": 20,
"id": 2927005,
"Buff": {
"team": [
139090
],
"self_skill": [
139090
]
},
"Cost": 1,
"Desc": [
{
"id": 2927000,
"params": [
5
]
}
],
"Icon": "skill_2927001",
"Camps": "Team",
"Level": 5,
"Logic": "SkillSelfRange",
"DescId": "##40859991",
"NameZh": "##3489252",
"CastAct": "skill_ready6_cookingaang",
"DelayCD": 1.5,
"Fire_EP": 2,
"SE_cast": "Skill/sfx_liumaoxing_bream_map_attack_01",
"Pvp_buff": {
"team": [
139090
],
"self_skill": [
139090
]
},
"AttackAct": [
"use_skill6"
],
"Attack_EP": 3,
"Lead_Type": {
"DCT": 5,
"type": 4,
"clientinterrupt": 1
},
"SkillType": "LeadSkill",
"Target_EP": 3,
"Logic_Param": {
"range": 12,
"duration": 5,
"interval": 1,
"no_select": 1,
"chant_buff": [
139070,
139101
],
"isTimeTrap": 1,
"noMoveAction": 1,
"lead_skill_count": 5,
"finish_extra_skill": 2939001,
"ignore_snake_field": 1,
"finish_extra_skill_odd": {
"type": 8680
},
"fieldarea_cannot_immune": 1,
"finish_extra_effect_buff": [
139066,
139067
],
"include_self_when_in_target": 1
},
"Launch_Range": 12,
"AutoCondition": [
{
"type": 8,
"no_target": 1
}
],
"FashionCastAct": "eat_end1"
}