Abyss Contract
Lvl: 5 Passive

Runemaster attaches Auto Attack that sequels to the current SP x1. Each Auto Attack will reduce the current SP by 1%

Lvl: 4 Passive
• Runemaster attaches Auto Attack that sequels to the current SP x0.8. Each Auto Attack will reduce the current SP by 1%
Lvl: 3 Passive
• Runemaster attaches Auto Attack that sequels to the current SP x0.6. Each Auto Attack will reduce the current SP by 1%
Lvl: 2 Passive
• Runemaster attaches Auto Attack that sequels to the current SP x0.4. Each Auto Attack will reduce the current SP by 1%
Lvl: 1 Passive
• Runemaster attaches Auto Attack that sequels to the current SP x0.2. Each Auto Attack will reduce the current SP by 1%

Self 5960

function CommonFun.calcBuff_5960(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Sp = srcUser:GetProperty("Sp")
  if b == 1 then
    local Opening = srcUser:GetSkillOptByOption(17)
    if Opening == 0 then
      return -Sp * a
    end
    return 0
  end
  local A = -Sp * a
  return A
end

Self

{
  "id": 124110,
  "BuffName": "Magic Blade",
  "BuffRate": {
    "Odds": 100
  },
  "Condition": {
    "type": "Attack",
    "normal_skill": 1
  },
  "BuffEffect": {
    "Sp": {
      "a": 0.01,
      "b": 1,
      "type": 5960
    },
    "type": "HSPChange"
  }
}

Formula

{
  "id": 3002005,
  "Buff": {
    "self": [
      124110
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 3002000,
      "params": [
        1,
        1
      ]
    }
  ],
  "Icon": "skill_3002001",
  "Level": 5,
  "DescId": "##171194",
  "NameZh": "##169747",
  "ItemCost": [
    {
      "id": 12903,
      "count": 1350
    }
  ],
  "Pvp_buff": {
    "self": [
      124110
    ]
  },
  "ExtraMaxLevel": 0
}