Deadly Poison
Lvl: 10 Buff CD: 8 sec Skill Delay: 1 sec SP: 80

Drink Fatal Poison, non-poison element damage you take is reduced by 50%, poison element attack increased by 20%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state

Lvl: 9 Buff CD: 8 sec Skill Delay: 1 sec SP: 75
• Drink Fatal Poison, non-poison element damage you take is reduced by 45%, poison element attack increased by 18%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state
Lvl: 8 Buff CD: 8 sec Skill Delay: 1 sec SP: 70
• Drink Fatal Poison, non-poison element damage you take is reduced by 40%, poison element attack increased by 16%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state
Lvl: 7 Buff CD: 8 sec Skill Delay: 1 sec SP: 65
• Drink Fatal Poison, non-poison element damage you take is reduced by 35%, poison element attack increased by 14%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state
Lvl: 6 Buff CD: 8 sec Skill Delay: 1 sec SP: 60
• Drink Fatal Poison, non-poison element damage you take is reduced by 30%, poison element attack increased by 12%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state
Lvl: 5 Buff CD: 8 sec Skill Delay: 1 sec SP: 55
• Drink Fatal Poison, non-poison element damage you take is reduced by 25%, poison element attack increased by 10%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state
Lvl: 4 Buff CD: 8 sec Skill Delay: 1 sec SP: 50
• Drink Fatal Poison, non-poison element damage you take is reduced by 20%, poison element attack increased by 8%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state
Lvl: 3 Buff CD: 8 sec Skill Delay: 1 sec SP: 45
• Drink Fatal Poison, non-poison element damage you take is reduced by 15%, poison element attack increased by 6%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state
Lvl: 2 Buff CD: 8 sec Skill Delay: 1 sec SP: 40
• Drink Fatal Poison, non-poison element damage you take is reduced by 10%, poison element attack increased by 4%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state
Lvl: 1 Buff CD: 8 sec Skill Delay: 1 sec SP: 35
• Drink Fatal Poison, non-poison element damage you take is reduced by 5%, poison element attack increased by 2%, for 30 seconds. If in the [Bloodline of the Deceased] state, also put yourself into [Poisoned] state

Self 6

function CommonFun.calcBuff_6(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * (a + c) + b
  if 0 < A or a == 0 then
    return A
  end
  if srcUser:GetNpcID() == 0 and targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) and targetUser.boss == false and targetUser.mini == false then
    return 0
  end
  if srcUser:GetNpcID() == 0 and (targetUser.boss or targetUser.mini) then
    local Vit = srcUser:GetProperty("Vit")
    local MAtk = srcUser:GetProperty("MAtk")
    local MAtkPer = srcUser:GetProperty("MAtkPer")
    local Refine = srcUser:GetProperty("Refine")
    local MRefine = srcUser:GetProperty("MRefine")
    local Def2 = targetUser:GetProperty("Def")
    local DefPer2 = targetUser:GetProperty("DefPer")
    local MDef2 = targetUser:GetProperty("MDef")
    local MDefPer2 = targetUser:GetProperty("MDefPer")
    local Vit2 = targetUser:GetProperty("Vit")
    local VitPer2 = targetUser:GetProperty("VitPer")
    local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
    local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
    local Int2 = targetUser:GetProperty("Int")
    local IntPer2 = targetUser:GetProperty("IntPer")
    local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
    local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
    local Str = srcUser:GetProperty("Str")
    local Dex = srcUser:GetProperty("Dex")
    local Luk = srcUser:GetProperty("Luk")
    local Atk = srcUser:GetProperty("Atk")
    local AtkPer = srcUser:GetProperty("AtkPer")
    local DamIncrease = srcUser:GetProperty("DamIncrease")
    local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
    local IgnoreDef = srcUser:GetProperty("IgnoreDef")
    if 1 <= IgnoreDef then
      IgnoreDef = 1
    end
    local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
    if 1 <= IgnoreMDef then
      IgnoreMDef = 1
    end
    local raceparam = 1
    local srcRace = srcUser.race
    local targetRace = targetUser.race
    if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      targetRace = 2
    end
    if targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and targetUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      srcRace = 2
    end
    if nil == CommonFun.RaceProps[targetRace] then
      return 0
    end
    if nil == CommonFun.RaceProps[srcRace] then
      return 0
    end
    local raceInc = srcUser:GetProperty(CommonFun.RaceProps[targetRace][1])
    local raceRed = targetUser:GetProperty(CommonFun.RaceProps[srcRace][2])
    local raceparam = 1 + raceInc - raceRed
    if raceparam <= 0.1 then
      raceparam = 0.1
    end
    local MAtkFinal = MAtk * (1 + MAtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    local AtkFinal = Atk * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    if MAtkFinal <= AtkFinal then
      local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
      A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * a * 100 * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2) + b
    else
      local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
      A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * a * 100 * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + b
    end
  end
  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 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

Self 5260

function CommonFun.calcBuff_5260(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Value = srcUser:GetGemValue(c)
  local MaxHp = srcUser:GetProperty("MaxHp")
  local MaxSp = srcUser:GetProperty("MaxSp")
  local A = Value / 100000 * MaxHp * a + Value / 100000 * MaxSp * b
  return A
end

Self

{
  "id": 137010,
  "BuffName": "Deadly Poison (Poisoned)",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 137060,
      "type": 5040
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "DefPer": -0.25,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "1_Poison"
  }
}

Self

{
  "id": 137011,
  "BuffDesc": "Falling into Poisoned Status",
  "BuffIcon": "skillbuff_2618001",
  "BuffName": "Deadly Poison (Poisoned)",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 137060,
      "type": 5040
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "Hp": {
      "a": -0.02,
      "b": -5,
      "type": 6
    },
    "type": "HSPChange",
    "delHpPer": 0.2,
    "StateEffect": "1_Poison",
    "limit_layer": 3
  }
}

Self

{
  "id": 137012,
  "BuffDesc": "Increase Poison Element DMG and other Element DMG Reduction",
  "BuffIcon": "skillbuff_2618001",
  "BuffName": "Deadly Poison (Attribute)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "DelBuffID": [
    137014
  ],
  "BuffEffect": {
    "type": "AttrChange",
    "BeFireDamPer": {
      "a": 0.05,
      "b": 0,
      "type": 1
    },
    "BeHolyDamPer": {
      "a": 0.05,
      "b": 0,
      "type": 1
    },
    "BeWindDamPer": {
      "a": 0.05,
      "b": 0,
      "type": 1
    },
    "PoisoningAtk": {
      "a": 0.02,
      "b": 0,
      "type": 1
    },
    "BeEarthDamPer": {
      "a": 0.05,
      "b": 0,
      "type": 1
    },
    "BeGhostDamPer": {
      "a": 0.05,
      "b": 0,
      "type": 1
    },
    "BeWaterDamPer": {
      "a": 0.05,
      "b": 0,
      "type": 1
    },
    "BeShadowDamPer": {
      "a": 0.05,
      "b": 0,
      "type": 1
    },
    "BeUndeadDamPer": {
      "a": 0.05,
      "b": 0,
      "type": 1
    },
    "BeNeutralDamPer": {
      "a": 0.05,
      "b": 0,
      "type": 1
    }
  },
  "BuffStateID": 137010
}

Self

{
  "id": 137015,
  "BuffName": "Deadly Poison (Rune)",
  "BuffRate": {
    "Odds": {
      "a": 204141,
      "type": 5000
    }
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "BuffEffect": {
    "Hp": {
      "a": 1,
      "b": 0,
      "c": 204141,
      "type": 5260
    },
    "Sp": {
      "a": 0,
      "b": 1,
      "c": 204141,
      "type": 5260
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}

Self

{
  "id": 137018,
  "BuffName": "Delay Add Poison",
  "BuffRate": {
    "Odds": 100
  },
  "Condition": {
    "time": 0.5,
    "type": "AfterTime"
  },
  "BuffEffect": {
    "id": [
      137010,
      137011
    ],
    "type": "AddBuff"
  }
}

Self

{
  "id": 137070,
  "BuffName": "Hide and Seek",
  "BuffRate": {
    "Odds": {
      "a": 2623,
      "b": 100,
      "c": 0,
      "type": 8
    }
  },
  "BuffEffect": {
    "id": [
      137072,
      137073
    ],
    "type": "AddBuff"
  }
}

Self

{
  "id": 137072,
  "BuffDesc": "12448",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "12447",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "Hide",
    "Hiding": 1
  }
}

Self

{
  "id": 137073,
  "BuffDesc": "12450",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "12449",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "SkillRes": {
      "a": 2623,
      "b": 0.03,
      "c": 0,
      "type": 8
    }
  }
}

Formula

{
  "CD": 8,
  "id": 2618010,
  "Buff": {
    "self": [
      137018,
      137012,
      137070,
      137015
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2618000,
      "params": [
        50,
        20
      ]
    }
  ],
  "Icon": "skill_2618001",
  "Camps": "Friend",
  "Level": 10,
  "Logic": "SkillNone",
  "DescId": "##1284015",
  "NameZh": "##1283889",
  "DelayCD": 1,
  "Fire_EP": 2,
  "Pvp_buff": {
    "self": [
      137018,
      137012,
      137070,
      137015
    ]
  },
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/Skill_Hero_Hela_Deathpoison_Attack_01",
  "SkillCost": {
    "1": {
      "num": 1,
      "itemID": 12522
    },
    "sp": 80
  },
  "SkillType": "Buff",
  "Target_EP": 3,
  "Logic_Param": {
    "com_cd_skills": [
      2636
    ]
  },
  "Launch_Range": 0,
  "AutoCondition": [
    {
      "time": 30,
      "type": 1,
      "no_target": 1
    },
    {
      "type": 8,
      "no_target": 1
    }
  ]
}