Star Arrows
Lvl: 5 Buff CD: 15 sec Skill Delay: 1 sec

Turns the arrows into meteors. Self loses 5% of Current SP every 2 seconds. Each Auto Attack causes the enemy to lose (self Current SP x 5% x Int) points of HP and additionally increases the Auto Attack by the remaining SP x1 for 30 seconds. When your SP is exhausted, the effect will stop in advance. This effect cannot be dispelled.

Lvl: 4 Buff CD: 15 sec Skill Delay: 1 sec
• Turns the arrows into meteors. Self loses 4% of Current SP every 2 seconds. Each Auto Attack causes the enemy to lose (self Current SP x 4% x Int) points of HP and additionally increases the Auto Attack by the remaining SP x1 for 30 seconds. When your SP is exhausted, the effect will stop in advance. This effect cannot be dispelled.
Lvl: 3 Buff CD: 15 sec Skill Delay: 1 sec
• Turns the arrows into meteors. Self loses 3% of Current SP every 2 seconds. Each Auto Attack causes the enemy to lose (self Current SP x 3% x Int) points of HP and additionally increases the Auto Attack by the remaining SP x1 for 30 seconds. When your SP is exhausted, the effect will stop in advance. This effect cannot be dispelled.
Lvl: 2 Buff CD: 15 sec Skill Delay: 1 sec
• Turns the arrows into meteors. Self loses 2% of Current SP every 2 seconds. Each Auto Attack causes the enemy to lose (self Current SP x 2% x Int) points of HP and additionally increases the Auto Attack by the remaining SP x1 for 30 seconds. When your SP is exhausted, the effect will stop in advance. This effect cannot be dispelled.
Lvl: 1 Buff CD: 15 sec Skill Delay: 1 sec
• Turns the arrows into meteors. Self loses 1% of Current SP every 2 seconds. Each Auto Attack causes the enemy to lose (self Current SP x 1% x Int) points of HP and additionally increases the Auto Attack by the remaining SP x1 for 30 seconds. When your SP is exhausted, the effect will stop in advance. This effect cannot be dispelled.

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 6300

function CommonFun.calcBuff_6300(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv_1 = srcUser:GetLernedSkillLevel(4009_SAGE:STAR_ARROWS)
  local Sp = srcUser:GetProperty("Sp")
  local Int = srcUser:GetProperty("Int")
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local ResultDamInc = srcUser:GetProperty("ResultDamInc")
  local ResultDamRes = targetUser:GetProperty("ResultDamRes")
  local NpcParam = CommonFun.NpcParam(srcUser, targetUser, params, damageParam, logger)
  local Result = 1 + ResultDamInc - ResultDamRes
  Result = math.max(Result, 0.1)
  local A = -skilllv_1 / 100 * Sp * Int * (1 - RefineDamReduc) * Result * NpcParam
  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

{
  "id": 131090,
  "BuffDesc": "Keep reducing SP. Reduce enemy’s SP every time you attack and cause true DMG",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Star Arrows change effect",
  "BuffRate": {
    "Odds": 100
  },
  "IconType": 1,
  "BuffEffect": {
    "ids": [
      252,
      300
    ],
    "type": "DynamicSkillConfig",
    "value": "Eff_InfiniteStars_bullet",
    "configType": 1
  },
  "BuffStateID": 131090
}

Self

{
  "id": 131095,
  "BuffName": "Continuously reduce SP",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Sp": {
      "a": 0.05,
      "type": 5960
    },
    "type": "HSPChange"
  }
}

Self

{
  "id": 131096,
  "BuffName": "Attack reduces HP and SP",
  "BuffRate": {
    "Odds": 100
  },
  "Condition": {
    "type": "Attack",
    "normal_skill": 1,
    "must_have_damage": 1
  },
  "BuffEffect": {
    "id": [
      131097
    ],
    "type": "AddBuff"
  }
}

Self

{
  "id": 131097,
  "BuffName": "Star Arrows reduces HP and SP",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "type": 6300
    },
    "Sp": {
      "a": 4026,
      "b": 1,
      "type": 6470
    },
    "type": "HSPChange"
  }
}

Formula

{
  "CD": 15,
  "id": 4009005,
  "Buff": {
    "self": [
      131090,
      131096,
      131095
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 4009000,
      "params": [
        5,
        5,
        5
      ]
    }
  ],
  "Icon": "skill_4009001",
  "Camps": "Friend",
  "Level": 5,
  "Logic": "SkillNone",
  "DescId": "##1255168",
  "NameZh": "##166309",
  "DelayCD": 1,
  "Fire_EP": 6,
  "ItemCost": [
    {
      "id": 12903,
      "count": 1020
    }
  ],
  "Pvp_buff": {
    "self": [
      131090,
      131096,
      131095
    ]
  },
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/Frenzy",
  "SkillType": "Buff",
  "Target_EP": 3,
  "DamageType": 4,
  "Launch_Range": 0,
  "AutoCondition": [
    {
      "time": 15,
      "type": 1,
      "no_target": 1
    },
    {
      "type": 8,
      "no_target": 1
    }
  ],
  "ExtraMaxLevel": 0,
  "NoTargetAutoCast": 1
}