Fate Guardian - SP Regen
Lvl: 5 Passive

Restore your lost SP by 5% every time you use [Tarot Card of Fate] actively or passively

Lvl: 4 Passive
• Restore your lost SP by 4% every time you use [Tarot Card of Fate] actively or passively
Lvl: 3 Passive
• Restore your lost SP by 3% every time you use [Tarot Card of Fate] actively or passively
Lvl: 2 Passive
• Restore your lost SP by 2% every time you use [Tarot Card of Fate] actively or passively
Lvl: 1 Passive
• Restore your lost SP by 1% every time you use [Tarot Card of Fate] actively or passively

Self 6100

function CommonFun.calcBuff_6100(srcUser, targetUser, a, b, c, d, lv, damage)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxSp = srcUser:GetProperty("MaxSp")
  local Sp = srcUser:GetProperty("Sp")
  local skilllv_1 = srcUser:GetLernedSkillLevel(3428_LIGHTBRINGER:FATE_GUARDIAN_SP_REGEN)
  local skilllv_2 = srcUser:GetLernedSkillLevel(3528_CRUSADER:FATE_GUARDIAN_SP_REGEN)
  local A = (MaxSp - Sp) * (0.01 * (skilllv_1 + skilllv_2))
  return A
end

Self

{
  "id": 128180,
  "BuffName": "Fate Guardian - SP Regen",
  "BuffRate": {
    "Odds": 100
  },
  "Condition": {
    "type": "UseSkill",
    "need_skill": [
      1383
    ],
    "buff_skill_can_trigger": 1
  },
  "BuffEffect": {
    "Sp": {
      "type": 6100
    },
    "type": "HSPChange"
  }
}

Formula

{
  "id": 3428005,
  "Buff": {
    "self": [
      128180
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 3428000,
      "params": [
        5
      ]
    }
  ],
  "Level": 5,
  "DescId": "##171821",
  "NameZh": "##159141",
  "ItemCost": [
    {
      "id": 12903,
      "count": 680
    }
  ],
  "Pvp_buff": {
    "self": [
      128180
    ]
  },
  "ExtraMaxLevel": 0
}