Dark Circle
Lvl: 1 Buff CD: 5 sec

Restore 30 points of your own Frenzy, causing the duration of the Abyssal Mark on enemies within 10 meters of you to reset

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": 136380,
  "BuffName": "Dark Circle - Restore Frenzy",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AddBuff",
    "layer": [
      {
        "id": 136400,
        "layer": 30
      }
    ]
  }
}

Self

{
  "id": 136381,
  "BuffName": "Dark Circle - Recover HP",
  "BuffRate": {
    "Odds": {
      "a": 201141,
      "type": 5000
    }
  },
  "BuffEffect": {
    "Hp": {
      "a": 1,
      "b": 0,
      "c": 201141,
      "type": 5260
    },
    "type": "HSPChange",
    "calc_heal": 1
  }
}

Self

{
  "id": 136382,
  "BuffName": "Dark Circle Time Reset",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "ResetBuffTime",
    "buffIDs": [
      136480
    ]
  }
}

Formula

{
  "CD": 5,
  "id": 2507001,
  "Buff": {
    "self": [
      136380,
      136381,
      136382
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2507000
    }
  ],
  "Icon": "skill_2507001",
  "Camps": "Friend",
  "Level": 1,
  "Logic": "SkillNone",
  "DescId": "##1262241",
  "NameZh": "##1258999",
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      136380,
      136381,
      136382
    ]
  },
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 2,
  "Contidion": {
    "skillid": 2502001
  },
  "SE_attack": "Skill/Skill_Hero_Thanatos_Attack_07",
  "SkillType": "Buff",
  "Target_EP": 3,
  "Logic_Param": {
    "no_skill_delay": 1
  },
  "Launch_Range": 0,
  "AutoCondition": [
    {
      "time": 10,
      "type": 1,
      "no_target": 1
    }
  ],
  "NoTargetAutoCast": 1
}