Electrical Gyration
Lvl: 5 Buff CD: 13 sec Skill Delay: 1 sec

Costs 30% of current HP, restores 60% Max Magic and reduces damage taken by 30%. Lasts 3 seconds. The skill can be used during the channeling of [Rechargeable Incendiary Gun]

Lvl: 4 Buff CD: 13 sec Skill Delay: 1 sec
• Costs 24% of current HP, restores 48% Max Magic and reduces damage taken by 24%. Lasts 3 seconds. The skill can be used during the channeling of [Rechargeable Incendiary Gun]
Lvl: 3 Buff CD: 13 sec Skill Delay: 1 sec
• Costs 18% of current HP, restores 36% Max Magic and reduces damage taken by 18%. Lasts 3 seconds. The skill can be used during the channeling of [Rechargeable Incendiary Gun]
Lvl: 2 Buff CD: 13 sec Skill Delay: 1 sec
• Costs 12% of current HP, restores 24% Max Magic and reduces damage taken by 12%. Lasts 3 seconds. The skill can be used during the channeling of [Rechargeable Incendiary Gun]
Lvl: 1 Buff CD: 13 sec Skill Delay: 1 sec
• Costs 6% of current HP, restores 12% Max Magic and reduces damage taken by 6%. Lasts 3 seconds. The skill can be used during the channeling of [Rechargeable Incendiary Gun]

Self 6399

function CommonFun.calcBuff_6399(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Hp = targetUser:GetProperty("Hp")
  local skilllv = srcUser:GetLernedSkillLevel(a)
  local A = Hp * skilllv * b
  local B = skilllv * b
  if targetUser.boss or targetUser.mini then
    A = CommonFun.calcBuff_6(srcUser, targetUser, B, 0, c, d, lv)
  end
  if targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) then
    A = 0
  end
  return A
end

Self

{
  "id": 136900,
  "BuffName": "Energy Circle",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "a": 2596,
      "b": -0.06,
      "c": 0,
      "type": 6399
    },
    "Sp": {
      "a": 2596,
      "b": 0,
      "c": 0.12,
      "type": 6402
    },
    "type": "HSPChange"
  },
  "BuffStateID": 136900
}

Self

{
  "id": 136901,
  "BuffDesc": "Damage taken reduced",
  "BuffIcon": "skillbuff_2596001",
  "BuffName": "Energy Circle (DMG Reduc.)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "ResultDamRes": {
      "a": 0.06,
      "type": 1
    }
  }
}

Formula

{
  "CD": 13,
  "id": 2596005,
  "Buff": {
    "self": [
      136900,
      136901
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2596000,
      "params": [
        30,
        60,
        30
      ]
    }
  ],
  "Icon": "skill_2596001",
  "Camps": "Friend",
  "Level": 5,
  "Logic": "SkillNone",
  "DescId": "##1267326",
  "NameZh": "##1266323",
  "DelayCD": 1,
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      136900,
      136901
    ]
  },
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 3,
  "SE_attack": "Skill/Skill_Hero_Janos_Attack_07",
  "SkillType": "Buff",
  "Target_EP": 3,
  "Launch_Range": 0,
  "AutoCondition": [
    {
      "type": 15,
      "value": 30
    }
  ],
  "FashionAttackAct": "use_skill_Knuckle"
}