Ice Cone Explosion
Lvl: 1 Buff Physical Range: 6

Deals (Atk100%) Dmg to the target

Enemy 2910

function CommonFun.calcBuff_2910(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
  local Hp = targetUser:GetProperty("Hp")
  local A = -(MaxHp * 0.3 + Hp * 0.1)
  return A
end

Enemy

{
  "id": 160730,
  "BuffName": "Ice Cone Explosion",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "type": 2910
    },
    "type": "HSPChange"
  }
}

Formula

{
  "id": 70770001,
  "Buff": {
    "enemy": [
      160730
    ]
  },
  "Cost": 0,
  "Desc": [
    {
      "id": 10000,
      "params": [
        100
      ]
    }
  ],
  "Icon": "skill_10000",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillSelfRange",
  "DescId": "##170630",
  "NameZh": "##159109",
  "Fire_EP": 3,
  "Pvp_buff": {
    "enemy": [
      160730
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 3,
  "SkillType": "Buff",
  "Target_EP": 2,
  "Logic_Param": {
    "range": 3
  },
  "Launch_Range": 6
}