SkillFlash
Flash
Lvl: 1
Telesport
Range: 5
Teleports to the target's side.
Lvl: 1
Telesport
Range: 5
Teleports to the target's side.

Buff Formula
Self 4630
function CommonFun.calcBuff_4630(srcUser, targetUser, a, b, c, d, lv)
  local Vit = srcUser:GetProperty("Vit")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local MaxHp = targetUser:GetProperty("MaxHp")
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
  if 1 <= IgnoreMDef then
    IgnoreMDef = 1
  end
  local MRefine = srcUser:GetProperty("MRefine")
  local MDef2 = targetUser:GetProperty("MDef")
  local MDefPer2 = targetUser:GetProperty("MDefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local Int2 = targetUser:GetProperty("Int")
  local IntPer2 = targetUser:GetProperty("IntPer")
  local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
  local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
  local raceparam = 1
  local srcRace = srcUser.race
  local targetRace = targetUser.race
  if nil == CommonFun.RaceProps[targetRace] then
    return 0
  end
  if nil == CommonFun.RaceProps[srcRace] then
    return 0
  end
  local raceInc = srcUser:GetProperty(CommonFun.RaceProps[targetRace][1])
  local raceRed = targetUser:GetProperty(CommonFun.RaceProps[srcRace][2])
  local raceparam = 1 + raceInc - raceRed
  if raceparam <= 0.1 then
    raceparam = 0.1
  end
  local srcAtkElement = c
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local ElementRate = GameConfig.ElementRestrain[srcAtkElement][targetDefElement]
  if nil == CommonFun.NatureProps[srcAtkElement] or nil == CommonFun.NatureProps[targetDefElement] or nil == targetDefElement then
    return 0
  end
  local elementInc = srcUser:GetProperty(CommonFun.NatureProps[targetDefElement][1])
  local elementRed = targetUser:GetProperty(CommonFun.NatureProps[srcAtkElement][2])
  local elementAtk = srcUser:GetProperty(CommonFun.NatureProps[srcAtkElement][3])
  local elementparam = (1 + elementInc) * ElementRate
  local elementparam2 = 1 + elementAtk - elementRed
  if elementparam2 <= 0.1 then
    elementparam2 = 0.1
  end
  local ele = elementparam * elementparam2
  if targetDefElement == nil or ElementRate == nil or elementInc == nil or elementRed == nil or elementAtk == nil then
    ele = 1
  end
  local MAtkFinal = b * CommonFun.ShapeCorrection(srcUser, targetUser) * ele * raceparam
  local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
  local A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + MaxHp * a
  if targetUser:GetNpcID() == 280931_BOVINE_OF_EARTH then
    A = MaxHp * 0.1
  end
  return -A
end
Buff Raw
Self
{
  "id": 173040,
  "BuffName": "Flash Damage Halo",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "id": [
      173041
    ],
    "type": "AddBuff"
  },
  "BuffStateID": 173040
}
{
  "id": 173041,
  "BuffName": "Damage Halo",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "a": 0.1,
      "b": 40000,
      "c": 5,
      "type": 4630
    },
    "type": "HSPChange"
  }
}
Raw
{
  "id": 78120001,
  "Buff": {
    "self": [
      173040
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 78120001,
      "params": [
        100
      ]
    }
  ],
  "Icon": "skill_100160001",
  "Camps": "None",
  "Level": 1,
  "Logic": "SkillNone",
  "DescId": "##1236275",
  "NameZh": "##169667",
  "Fire_EP": 3,
  "Pvp_buff": {
    "self": [
      173040
    ]
  },
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 3,
  "SkillType": "Telesport",
  "Target_EP": 3,
  "Logic_Param": {
    "continueAttack": 1
  },
  "Launch_Range": 5
}