
Twisted Bomb
Lvl: 10
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 132
Range: 6
Cast Time: 5
Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x1500% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Lvl: 9
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 126
Range: 6
Cast Time: 5
• Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x1400% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Lvl: 8
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 120
Range: 6
Cast Time: 5
• Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x1300% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Lvl: 7
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 114
Range: 6
Cast Time: 5
• Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x1200% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Lvl: 6
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 108
Range: 6
Cast Time: 5
• Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x1100% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Lvl: 5
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 102
Range: 6
Cast Time: 5
• Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x1000% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Lvl: 4
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 96
Range: 6
Cast Time: 5
• Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x900% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Lvl: 3
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 90
Range: 6
Cast Time: 5
• Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x800% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Lvl: 2
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 84
Range: 6
Cast Time: 5
• Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x700% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Lvl: 1
Buff
CD: 8 sec
Skill Delay: 1 sec
SP: 78
Range: 6
Cast Time: 5
• Cast a timed bomb on an enemy. After 5 seconds countdown, cause Neutral True M.DMG equivalent to M.Atk x600% to the target and allies 3 meters around them. After the bomb is detonated, the injured enemy will carry a non infectious [Twisted Bomb], and the DMG is half of the previous one
Enemy 5990
function CommonFun.calcBuff_5990(srcUser, targetUser, a, b, c, d, lv)
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 srcAtkElement = 5
local targetDefElement = targetUser:GetProperty("DefAttr")
local ElementRate = CommonFun.GetElementRate(srcUser, srcAtkElement, targetUser, targetDefElement)
if (srcUser:HasBuffID(69650_8608_:MAX_STACK_0) or srcUser:HasBuffID(71090_10658_:MAX_STACK_0)) and 1 < ElementRate then
ElementRate = ElementRate * 1.1
end
if targetUser:HasBuffID(49130_DIVINE_HYMN_CARVER_:MAX_STACK_0) then
ElementRate = math.min(ElementRate, 1)
end
if srcUser:HasBuffID(49210_7892_:MAX_STACK_0) then
ElementRate = ElementRate + 0.15
end
if srcUser:HasBuffID(77480_48193_VICTORY_SWALLOW_1_:MAX_STACK_0) then
ElementRate = ElementRate + 0.1
end
if nil == CommonFun.NatureProps[srcAtkElement] or nil == CommonFun.NatureProps[targetDefElement] or nil == targetDefElement then
return 0
end
local NeutralAtk = srcUser:GetProperty("NeutralAtk")
local GemValue = srcUser:GetGemValue(82161_TWISTED_BOMB_S_NEUTRAL_ATK_PERCENTAGE)
local ele = ElementRate * (1 + NeutralAtk + GemValue / 100000)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
local NpcParam = CommonFun.NpcParam(srcUser, targetUser, params, damageParam, logger)
local BaseMAtk = Int + math.floor(Int * Int / 100)
local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * NpcParam
local damChangePer = lv + 5
local skilllv_zd = srcUser:GetLernedSkillLevel(3227_MECHANIC:TWISTED_BOMB_ENHANCE)
local MDamSpike = srcUser:GetProperty("MDamSpike_MPEN")
local ResultDamInc = srcUser:GetProperty("ResultDamInc")
local ResultDamRes = targetUser:GetProperty("ResultDamRes")
if srcUser:HasBuffID(57200_DEVIL_GOVERNOR_CARD_:MAX_STACK_0) then
ResultDamInc = ResultDamInc + 0.15
end
local Result = 1 + ResultDamInc - ResultDamRes
Result = math.max(Result, 0.1)
if srcUser:HasBuffID(22000130_TWISTED_BOMB_INHERITS_THE_ORIGINAL_DMG_:MAX_STACK_0) and a == 0.5 then
a = 1
end
local A = -((MAtkFinal * (1 + MDamSpike) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease)) * ele * a * (1 + skilllv_zd * 0.05) * Result
local AttrFunction = srcUser:GetProperty("AttrFunction")
local bitfunc = CommonFun.getBits(AttrFunction)
if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
A = 0
end
if CommonFun.checkAttrFunctionMiss(targetUser, srcUser) then
A = 0
end
if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
A = 0
end
if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
A = -1
end
if targetUser:DamageAlways1() then
A = -1
end
return A
end
Enemy
{
"id": 126170,
"BuffName": "Twisted Bomb",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"Condition": {
"time": {
"a": 3212,
"b": -0.4,
"c": 5,
"type": 8
},
"type": "AfterTime"
},
"BuffEffect": {
"id": [
126171,
126172,
126175
],
"type": "AddBuff"
}
}
Enemy
{
"id": 126171,
"BuffName": "Twisted Bomb (First DMG)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"Hp": {
"a": 1,
"type": 5990
},
"type": "HSPChange"
},
"BuffStateID": 126171
}
Enemy
{
"id": 126172,
"BuffName": "Infectious Bomb",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"Condition": {
"time": {
"a": 3212,
"b": -0.4,
"c": 5,
"type": 8
},
"type": "AfterTime"
},
"BuffEffect": {
"id": [
126173
],
"type": "AddBuff"
}
}
Enemy
{
"id": 126173,
"BuffName": "Twisted Bomb (Second DMG)",
"BuffRate": {
"Odds": 100
},
"BuffEffect": {
"Hp": {
"a": 0.5,
"type": 5990
},
"type": "HSPChange"
},
"BuffStateID": 126171
}
Enemy
{
"id": 126174,
"BuffName": "First bomb effect",
"BuffRate": {
"Odds": 100
},
"Condition": {
"type": "HasBuff",
"buffid": [
126170
]
},
"BuffStateID": 126170
}
Enemy
{
"id": 126175,
"BuffName": "Second bomb effect",
"BuffRate": {
"Odds": 100
},
"Condition": {
"type": "HasBuff",
"buffid": [
126172
]
},
"BuffStateID": 126170
}
Formula
{
"CD": 8,
"id": 3211010,
"Buff": {
"enemy": [
126170,
126174
]
},
"Cost": 1,
"Desc": [
{
"id": 3211000,
"params": [
1500
]
}
],
"Icon": "skill_3211001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"DescId": "##170305",
"NameZh": "##159432",
"CastAct": "reading",
"DelayCD": 1,
"Fire_EP": 3,
"SE_cast": "Common/Magic_cast",
"ItemCost": [
{
"id": 12903,
"count": 1580
}
],
"Pvp_buff": {
"enemy": [
126170,
126174
]
},
"AttackAct": [
"use_skill"
],
"Attack_EP": 3,
"Lead_Type": {
"CCT": 0,
"FCT": 5,
"type": 2
},
"SE_attack": "Skill/skill_weapon_clockbomb_attack",
"SkillCost": {
"sp": 132
},
"SkillType": "Buff",
"Target_EP": 2,
"DamageType": 4,
"Launch_Range": 6,
"ExtraMaxLevel": 0
}