Lightning Cling
Lvl: 5 Attack CD: 10 sec Skill Delay: 1.5 sec SP: 150 Range: 7 Cast Time: 5

Channels ball lightning in the specified area, towing enemies within 5m towards the center. The ball lightning lasts 5s. It reduces attack and casting ranges of towed enemies by 60%, and keeps their MOV SPD within 100% for 3s. For every electric charge the enemies have, duration increases by 1s.

Lvl: 4 Attack CD: 10 sec Skill Delay: 1.5 sec SP: 140 Range: 7 Cast Time: 5
• Channels ball lightning in the specified area, towing enemies within 5m towards the center. The ball lightning lasts 5s. It reduces attack and casting ranges of towed enemies by 48%, and keeps their MOV SPD within 100% for 3s. For every electric charge the enemies have, duration increases by 1s.
Lvl: 3 Attack CD: 10 sec Skill Delay: 1.5 sec SP: 130 Range: 7 Cast Time: 5
• Channels ball lightning in the specified area, towing enemies within 5m towards the center. The ball lightning lasts 5s. It reduces attack and casting ranges of towed enemies by 36%, and keeps their MOV SPD within 100% for 3s. For every electric charge the enemies have, duration increases by 1s.
Lvl: 2 Attack CD: 10 sec Skill Delay: 1.5 sec SP: 120 Range: 7 Cast Time: 5
• Channels ball lightning in the specified area, towing enemies within 5m towards the center. The ball lightning lasts 5s. It reduces attack and casting ranges of towed enemies by 24%, and keeps their MOV SPD within 100% for 3s. For every electric charge the enemies have, duration increases by 1s.
Lvl: 1 Attack CD: 10 sec Skill Delay: 1.5 sec SP: 110 Range: 7 Cast Time: 5
• Channels ball lightning in the specified area, towing enemies within 5m towards the center. The ball lightning lasts 5s. It reduces attack and casting ranges of towed enemies by 12%, and keeps their MOV SPD within 100% for 3s. For every electric charge the enemies have, duration increases by 1s.

Formula

function CommonFun.calcDamage_9206(srcUser, targetUser, params, damageParam, logger)
  local A = 0
  return A, CommonFun.DamageType.Normal
end

Enemy

{
  "id": 138370,
  "BuffDesc": "23",
  "BuffIcon": "skillbuff_2796001",
  "BuffName": "23",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "AtkDistancePer": {
      "a": -0.12,
      "b": 0,
      "type": 1
    }
  },
  "BuffStateID": 138370
}

Enemy

{
  "id": 138371,
  "BuffDesc": "Move SPD cannot exceed 100%",
  "BuffIcon": "skillbuff_2796001",
  "BuffName": "23",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "LimitAttr",
    "MaxAttr": {
      "MoveSpd": 1,
      "MoveSpdPer": 0
    }
  }
}

Formula

{
  "CD": 10,
  "id": 2796005,
  "Buff": {
    "enemy": [
      138370,
      138371
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 2796000,
      "params": [
        60
      ]
    }
  ],
  "Icon": "skill_2796001",
  "Camps": "Enemy",
  "Level": 5,
  "Logic": "SkillPointRange",
  "Damage": [
    {
      "type": 9206
    }
  ],
  "DescId": "##3352432",
  "NameZh": "##3352364",
  "CastAct": "reading",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "DelayCD": 1.5,
  "Fire_EP": 3,
  "Pvp_buff": {
    "enemy": [
      138370,
      138371
    ]
  },
  "AttackAct": [
    "use_skill2"
  ],
  "Attack_EP": 0,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 5,
    "type": 2
  },
  "SE_attack": "Skill/sfx_skill_thor_lightninggravitation_attack_01",
  "SkillCost": {
    "sp": 150
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "HitEffects": [
    {
      "type": 1,
      "speed": 2,
      "distance": 4,
      "direction": "forward",
      "ignore_no_hit_back": 1
    }
  ],
  "Logic_Param": {
    "loop": false,
    "count": 5,
    "range": 5,
    "interval": 1,
    "no_select": 1,
    "range_num": 10,
    "isCountTrap": 1,
    "must_debuff": 1,
    "trap_effect": "sfx_thor_jdyl_floor_prf,LowBuff_B",
    "zero_damage_hitback": 1
  },
  "Launch_Range": 7
}