Storm Gust
Lvl: 1 Attack Magic Skill Delay: 5 sec Range: 6 Fixed Cast Time: 3

Creates blizzard, dealing (M. ATK *500%) water M. DMG to all enemies in the target area and knocking them back. Has a 15% chance to freeze them for 7 sec

Formula

function CommonFun.calcDamage_8001(srcUser, targetUser, params, damageParam, logger)
  local damChangePer = damageParam.damChangePer
  local damChangePer1 = damageParam.damChangePer1
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * damChangePer + damChangePer1
  if A <= 1 then
    return 1
  end
  return A
end

Enemy

{
  "id": 120121,
  "BuffName": "Freeze [Freeze]",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 110
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "NoAct": 1,
    "Freeze": 1,
    "DefAttr": 3,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "5_Freeze",
    "NoEffectMove": 3,
    "atk_def_priority": 1
  },
  "BuffStateID": 85070
}

Formula

{
  "id": 70031001,
  "Buff": {
    "enemy": [
      120121
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 81000,
      "params": [
        500,
        15,
        7
      ]
    }
  ],
  "Icon": "skill_81001",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillPointRange",
  "Damage": [
    {
      "type": 8001,
      "damChangePer": 0.1,
      "damChangePer1": 0
    }
  ],
  "DescId": "##1283984",
  "NameZh": "##169949",
  "SE_hit": "Common/enemy_hit_1-Common/enemy_hit_2-Common/enemy_hit_3-Common/enemy_hit_4",
  "CastAct": "reading",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 5,
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "SE_fire": "Skill/StormGust_fire",
  "Pvp_buff": {
    "enemy": [
      120121
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "CCT": 3,
    "FCT": 0,
    "type": 2
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "Logic_Param": {
    "loop": false,
    "count": 7,
    "range": 3,
    "effect": "StormGust,LowRange_B2",
    "interval": 0.7,
    "no_select": 1,
    "range_num": 10,
    "isCountTrap": 1
  },
  "Launch_Range": 6
}