Jack Frost
Lvl: 1 Attack Magic Range: 4 Fixed Cast Time: 3

Deals (Self M.Atk*210%) critical water damage to frozen enemy units in the target area, freezing the unfrozen units.

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": 70043000,
  "BuffName": "Freezing Effect [Freeze]",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 110
    }
  },
  "BuffEffect": {
    "type": "StatusChange",
    "Freeze": 1,
    "DefAttr": 3,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "5_Freeze",
    "NoEffectMove": 3,
    "atk_def_priority": 1
  },
  "BuffStateID": 85070
}

Formula

{
  "id": 70043001,
  "Buff": {
    "enemy": [
      70043000
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 100000,
      "params": [
        210
      ]
    }
  ],
  "Icon": "skill_100001",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 8001,
      "damChangePer": 0.6,
      "damChangePer1": 0
    }
  ],
  "DescId": "##171020",
  "NameZh": "##169519",
  "CastAct": "reading",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "Fire_EP": 3,
  "SE_cast": "Common/Magic_cast",
  "Pvp_buff": {
    "enemy": [
      70043000
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "use_magic"
  ],
  "Attack_EP": 3,
  "Lead_Type": {
    "CCT": 3,
    "FCT": 0,
    "type": 2
  },
  "SkillType": "Attack",
  "Target_EP": 3,
  "Logic_Param": {
    "range": 4
  },
  "Launch_Range": 4
}