Pain Release
Lvl: 5 Buff CD: 21 sec Skill Delay: 2.5 sec SP: 300 Range: 6 Cast Time: 6

Designate an enemy to lose True Dmg (Saint Int x30 + Saint M.Atk) every time they are attacked in 7 seconds. Under [Hoddle's Wings] status, True Dmg will double

Lvl: 4 Buff CD: 21 sec Skill Delay: 2.5 sec SP: 250 Range: 6 Cast Time: 6
• Designate an enemy to lose True Dmg (Saint Int x24 + Saint M.Atk) every time they are attacked in 7 seconds. Under [Hoddle's Wings] status, True Dmg will double
Lvl: 3 Buff CD: 21 sec Skill Delay: 2.5 sec SP: 200 Range: 6 Cast Time: 6
• Designate an enemy to lose True Dmg (Saint Int x18 + Saint M.Atk) every time they are attacked in 7 seconds. Under [Hoddle's Wings] status, True Dmg will double
Lvl: 2 Buff CD: 21 sec Skill Delay: 2.5 sec SP: 150 Range: 6 Cast Time: 6
• Designate an enemy to lose True Dmg (Saint Int x12 + Saint M.Atk) every time they are attacked in 7 seconds. Under [Hoddle's Wings] status, True Dmg will double
Lvl: 1 Buff CD: 21 sec Skill Delay: 2.5 sec SP: 100 Range: 6 Cast Time: 6
• Designate an enemy to lose True Dmg (Saint Int x6 + Saint M.Atk) every time they are attacked in 7 seconds. Under [Hoddle's Wings] status, True Dmg will double

Enemy 6150

function CommonFun.calcBuff_6150(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(3602_PALADIN:PAIN_RELEASE)
  local Int = srcUser:GetProperty("Int")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local GemValue = srcUser:GetGemValue(51142_PAIN_RELEASE_INT_FACTOR_PERCENTAGE)
  local A = -(Int * (6 * skilllv_1 + GemValue / 1000) + MAtk * (1 + MAtkPer))
  if srcUser:HasBuffID(129060_HODDLE_S_WINGS_:MAX_STACK_0) then
    A = A * 2
  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

Enemy

{
  "id": 129110,
  "BuffName": "Pain Release",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "Condition": {
    "type": "BeAttack",
    "all_skill": 1
  },
  "BuffEffect": {
    "id": [
      129111
    ],
    "type": "AddBuff"
  },
  "BuffStateID": 129110
}

Enemy

{
  "id": 129111,
  "BuffName": "Pain Release (HP Lose)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "type": 6150
    },
    "type": "HSPChange"
  }
}

Enemy

{
  "id": 129112,
  "BuffName": "Pain Release (Reduce Reduc.)",
  "BuffRate": {
    "Odds": {
      "a": 3621,
      "b": 100,
      "c": 0,
      "type": 8
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "AttrChange",
    "DamReduc": {
      "a": 3621,
      "b": -0.04,
      "c": 0,
      "type": 8
    },
    "MDamReduc": {
      "a": 3621,
      "b": -0.04,
      "c": 0,
      "type": 8
    }
  }
}

Formula

{
  "CD": 21,
  "id": 3602005,
  "Buff": {
    "enemy": [
      129110,
      129112
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 3602000,
      "params": [
        30
      ]
    }
  ],
  "Icon": "skill_3602001",
  "Camps": "Enemy",
  "Level": 5,
  "Logic": "SkillLockedTarget",
  "DescId": "##171343",
  "NameZh": "##159138",
  "CastAct": "reading",
  "DelayCD": 2.5,
  "Fire_EP": 3,
  "ItemCost": [
    {
      "id": 12903,
      "count": 1020
    }
  ],
  "Pvp_buff": {
    "enemy": [
      129110,
      129112
    ]
  },
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 2,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 6,
    "type": 2
  },
  "SE_attack": "Skill/Phantom_luanwu",
  "SkillCost": {
    "sp": 300
  },
  "SkillType": "Buff",
  "Target_EP": 2,
  "DamageType": 4,
  "Launch_Range": 6,
  "ExtraMaxLevel": 0
}