
Magic Wind + Jellyfish Summon
Lvl: 1
Attack
Magic
CD: 20 sec
Skill Delay: 1 sec
SP: 300
Range: 6
Cast Time: 8
Fixed Cast Time: 0.2
Deals DMG in the specified area based on (Dim Wind + Marina Summon) *0.8 Water and Wind M. DMG, and also applies a debuff based on the levels of the Dim Wind and Marina Summon skills. Lasts 8s.
Formula
function CommonFun.calcDamage_16402(srcUser, targetUser, params, damageParam, logger)
local Int = srcUser:GetProperty("Int")
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local MRefine = srcUser:GetProperty("MRefine")
local RangeDam = srcUser:GetProperty("RangeDam")
local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
local targetDefElement = targetUser:GetProperty("DefAttr")
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
local BaseMAtk = Int + math.floor(Int * Int / 100)
local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local skilllv1 = srcUser:GetLernedSkillLevel(1931_SNIPER:JELLYFISH_SUMMON)
local skilllv2 = srcUser:GetLernedSkillLevel(1933_SNIPER:DIM_WIND)
local damChangePer1 = (skilllv1 * 0.6 + 4.8) * 0.8
local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer1 * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + RangeDam)
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 125140,
"BuffName": "Quicksand Vortex (Empty Buff)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"type": "AttrChange"
}
}
Enemy
{
"id": 186040,
"BuffName": "Jellyfish Summon (Water Asphyxia)",
"BuffRate": {
"Odds": {
"a": 0,
"b": 0,
"c": 21142,
"type": 5010
}
},
"BuffEffect": {
"id": [
186041,
186042
],
"type": "AddBuff"
}
}
Enemy
{
"id": 186041,
"BuffDesc": "Reduce Max HP",
"BuffIcon": "skillbuff_commonbuff",
"BuffName": "Water Asphyxia",
"BuffRate": {
"Odds": {
"a": 100,
"b": 0,
"type": 3070
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "AttrChange",
"MaxHpPer": {
"a": 1944,
"b": -0.04,
"c": 0,
"type": 8
},
"MaxSpPer": {
"a": 1944,
"b": -0.04,
"c": 20210150,
"d": 0,
"type": 6500
}
},
"BuffStateID": 125150
}
Enemy
{
"id": 186042,
"BuffName": "Water Asphyxia (Quicksand reduces)",
"BuffRate": {
"Odds": {
"a": 100,
"b": 0,
"type": 3070
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"Condition": {
"type": "HasBuff",
"buffid": [
125140
]
},
"BuffEffect": {
"type": "AttrChange",
"MaxHpPer": {
"a": 1944,
"b": -0.04,
"c": 0,
"type": 8
},
"MaxSpPer": {
"a": 1944,
"b": -0.04,
"c": 20210150,
"d": 0,
"type": 6500
}
}
}
Enemy
{
"id": 186050,
"BuffName": "Quicksand Vortex - Struggle",
"BuffRate": {
"Odds": {
"type": 6090
}
},
"BuffEffect": {
"id": [
186051
],
"Odds": 100,
"type": "AddBuff"
}
}
Enemy
{
"id": 186051,
"BuffName": "Quicksand Vortex - Struggle",
"BuffRate": {
"Odds": {
"a": 1945,
"b": 20,
"c": 0,
"type": 8
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"BuffEffect": {
"type": "MoveHSPChange",
"HpPer": -0.05
}
}
Formula
{
"CD": 20,
"id": 1939001,
"Buff": {
"enemy": [
125140,
186040,
186050
]
},
"Cost": 0,
"Desc": [
{
"id": 1939000
}
],
"Icon": "skill_1936001",
"Camps": "Enemy",
"Logic": "SkillPointRange",
"Damage": [
{
"type": 16402,
"damChangePer": 1,
"elementparam": 3
},
{
"type": 32,
"damChangePer": 16,
"elementparam": 1
}
],
"DescId": "##1124277",
"NameZh": "##532660",
"SE_hit": "Skill/ChainLight_hit",
"DamTime": {
"type": 1,
"value": 2
},
"DelayCD": 1,
"Fire_EP": 3,
"SE_cast": "Common/Magic_cast",
"Pvp_buff": {
"enemy": [
125140,
186040,
186050
]
},
"RollType": 2,
"AttackAct": [
"use_skill4_Glove"
],
"Attack_EP": 2,
"Lead_Type": {
"CCT": 0.2,
"FCT": 8,
"type": 2
},
"SE_attack": "Skill/xiudou_mofeng",
"SkillCost": {
"sp": 300
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 2,
"Logic_Param": {
"count": 8,
"range": 3,
"interval": 1,
"no_select": 1,
"isCountTrap": 1,
"trap_effect": "Eff_Lina_Compound_atk01,LowRange_B2",
"combine_skill": [
1933,
1931
],
"fieldarea_cannot_immune": 1
},
"Launch_Range": 6
}