Ice Cone Damage
Lvl: 1 Attack Physical

Deals (Atk100%) Dmg to the target

Formula

function CommonFun.calcDamage_9013(srcUser, targetUser, params, damageParam, logger)
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * 0.2
  return A
end

Enemy

{
  "id": 120120,
  "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": 70790001,
  "Buff": {
    "enemy": [
      120120
    ]
  },
  "Cost": 0,
  "Desc": [
    {
      "id": 10000,
      "params": [
        100
      ]
    }
  ],
  "Icon": "skill_10000",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 9013
    }
  ],
  "DescId": "##170630",
  "NameZh": "##169121",
  "DamTime": {
    "type": 1,
    "value": 1
  },
  "Fire_EP": 6,
  "Pvp_buff": {
    "enemy": [
      120120
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 2,
  "SkillType": "Attack",
  "Target_EP": 3,
  "Logic_Param": {
    "pre_attack": {
      "type": 4,
      "action": "sprint",
      "no_track": 1,
      "initSpeed": 10,
      "speedLimit": 60,
      "acceleration": 10
    }
  },
  "Launch_Range": 0
}