
Bottled Ghost
Lvl: 10
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 100
Range: 6
Cast Time: 4
Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*3200% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Lvl: 9
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 92
Range: 6
Cast Time: 4
• Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*3000% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Lvl: 8
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 84
Range: 6
Cast Time: 4
• Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*2800% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Lvl: 7
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 76
Range: 6
Cast Time: 4
• Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*2600% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Lvl: 6
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 68
Range: 6
Cast Time: 4
• Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*2400% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Lvl: 5
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 60
Range: 6
Cast Time: 4
• Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*2200% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Lvl: 4
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 52
Range: 6
Cast Time: 4
• Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*2000% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Lvl: 3
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 44
Range: 6
Cast Time: 4
• Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*1800% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Lvl: 2
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 36
Range: 6
Cast Time: 4
• Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*1600% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Lvl: 1
Attack
Magic
CD: 1 sec
Skill Delay: 1 sec
SP: 28
Range: 6
Cast Time: 4
• Casts a depressing ghost bottle at a faraway enemy, dealing M.ATK*1400% as Poison M.DMG and inflicting one stack of [Depression]. Then, deals 10% DMG per sec for 15s. [Depression] stacks up to 15 times. [Depression] on monsters can't be cleared. When a monster has more than 10 stacks of [Depression], its armor type doesn't counter Poison.
Formula
function CommonFun.calcDamage_64501(srcUser, targetUser, params, damageParam, logger)
local Int = srcUser:GetProperty("Int")
local Dex = srcUser:GetProperty("Dex")
local Vit = srcUser:GetProperty("Vit")
local Luk = srcUser:GetProperty("Luk")
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 damChangePer = damageParam.damChangePer
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 Str2 = targetUser:GetProperty("Str")
local Agi2 = targetUser:GetProperty("Agi")
local Dex2 = targetUser:GetProperty("Dex")
local Luk2 = targetUser:GetProperty("Luk")
local skilllv_bt = srcUser:GetLernedSkillLevel(2622_ARCHBISHOP:CASTIGATE)
local Luk_Ratio = 1
if math.min(Str2, Agi2, Vit2, Int2, Dex2, Luk2) == 0 and 0 < skilllv_bt then
Luk_Ratio = 1 + Luk / 500 * skilllv_bt * 0.1
end
if 0 < skilllv_bt and targetUser:GetNpcID() ~= 0 then
local Point = math.min(math.floor(Dex / 5), math.floor(Int / 5), math.floor(Luk / 5))
Luk_Ratio = Luk_Ratio + skilllv_bt * 0.002 * Point
end
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 2615_HIGH_PRIEST:FATAL_DREAM or skillID == 2633_ARCHBISHOP:FATAL_DREAM then
local targetid = targetUser:GetGuid()
local BasicValue = srcUser:GetTarInterferenceValue(targetid)
damChangePer = damChangePer * (1 + BasicValue / 10 * 0.04)
end
if skillID == 2637_ARCHBISHOP:STORM_GUST or skillID == 2639_ARCHBISHOP:HELL_WILD_ROAR then
local skilllv_jem = srcUser:GetLernedSkillLevel(2612_HIGH_PRIEST:GARM)
local skilllv_kq = srcUser:GetLernedSkillLevel(2620_ARCHBISHOP:RABIES_VACCINATION)
damChangePer = (3 + skilllv_jem * 1.3) * (1 + skilllv_kq * 0.03)
end
local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * Luk_Ratio
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 137000,
"BuffDesc": "Receives damage every second",
"BuffIcon": "skillbuff_2614001",
"BuffName": "Bottled Ghost (Frustrated)",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1,
"npc_no_disperse": 1
},
"IconType": 1,
"BuffEffect": {
"Hp": {
"a": 0,
"b": -0.1,
"type": 16
},
"type": "HSPChange",
"limit_layer": 15,
"no_dam_reduce": 1,
"layer_diff_attr": 1
},
"BuffStateID": 137000
}
Enemy
{
"id": 137001,
"BuffName": "Frustrated (Lower Poison Attribute Reduction)",
"BuffRate": {
"Odds": {
"a": 204121,
"type": 5000
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1,
"npc_no_disperse": 1
},
"BuffEffect": {
"type": "AttrChange",
"limit_layer": 15,
"BePoisonDamPer": {
"a": 0,
"b": 0,
"c": 204121,
"type": 5020
}
}
}
Enemy
{
"id": 137004,
"BuffName": "1225",
"BuffRate": {
"Odds": {
"a": 100,
"b": 0,
"type": 2421
}
},
"Condition": {
"type": "HasBuff",
"layer": 10,
"buffid": [
137000
]
}
}
Formula
{
"CD": 1,
"id": 2614010,
"Buff": {
"enemy": [
137000,
137001,
137004
]
},
"Cost": 1,
"Desc": [
{
"id": 2614000,
"params": [
3200
]
}
],
"Icon": "skill_2614001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 64501,
"damChangePer": 32,
"elementparam": 10
}
],
"DescId": "##42531608",
"NameZh": "##1283859",
"CastAct": "reading",
"DamTime": {
"type": 1,
"value": 3
},
"DelayCD": 1,
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
137000,
137001,
137004
]
},
"RollType": 2,
"AttackAct": [
"use_skill2"
],
"Attack_EP": 1,
"Lead_Type": {
"CCT": 0,
"FCT": 4,
"type": 2
},
"SE_attack": "Skill/Skill_Hero_Hela_Bottlepoison_Attack_01",
"SkillCost": {
"sp": 100
},
"SkillType": "Attack",
"Target_EP": 3,
"DamageType": 6,
"Logic_Param": {
"emit": {
"type": 2,
"speed": 18,
"effect": "sfx_hela_Perfume_bullet_prf",
"nooffset": 1,
"distanceper": [
-0.5,
0.7
],
"single_fire": true
},
"com_cd_skills": [
2632
]
},
"Launch_Range": 6
}