Light Cross
Lvl: 10 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 88

Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x150%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.

Lvl: 9 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 84
• Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x145%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.
Lvl: 8 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 80
• Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x140%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.
Lvl: 7 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 76
• Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x135%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.
Lvl: 6 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 72
• Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x130%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.
Lvl: 5 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 68
• Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x125%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.
Lvl: 4 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 64
• Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x120%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.
Lvl: 3 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 60
• Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x115%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.
Lvl: 2 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 56
• Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x110%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.
Lvl: 1 Attack Physical CD: 2.5 sec Skill Delay: 1 sec SP: 52
• Take yourself as the center to deal Phy. DMG equal to ([Overbrand] x105%) to all enemies within 3.5 meters and force the target to sit for 1 second. Must be equipped with Spear weapons.

Formula

function CommonFun.calcDamage_7402(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Int = srcUser:GetProperty("Int")
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local DamIncrease = srcUser:GetProperty("DamIncrease")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local IgnoreDef = 0
  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
  local WeaponType = srcUser:GetEquipedWeaponType()
  if targetUser.boss or targetUser.mini then
    IgnoreDef = IgnoreDef1
  else
    IgnoreDef = IgnoreDef1 + IgnoreDef2
  end
  if 1 <= IgnoreDef then
    IgnoreDef = 1
  end
  local Refine = srcUser:GetProperty("Refine")
  local Def2 = targetUser:GetProperty("Def")
  local DefPer2 = targetUser:GetProperty("DefPer")
  local Vit2 = targetUser:GetProperty("Vit")
  local VitPer2 = targetUser:GetProperty("VitPer")
  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local MRefine = srcUser:GetProperty("MRefine")
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
  if 1 <= IgnoreMDef then
    IgnoreMDef = 1
  end
  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 damChangePer = damageParam.damChangePer
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
  local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
  local HpAtk = 0
  local Hp = srcUser:GetProperty("Hp")
  if srcUser:HasBuffID(56420_BLOODBATH_CARD_:MAX_STACK_0) and srcUser:HasBuffID(56430_BLOODBATH_CARD_:MAX_STACK_0) == false then
    HpAtk = math.min(Hp * 0.05, Atk * (1 + AtkPer))
  elseif srcUser:HasBuffID(56430_BLOODBATH_CARD_:MAX_STACK_0) then
    HpAtk = math.min(Hp * 0.05, Atk * (1 + AtkPer) + MAtk * (1 + MAtkPer))
  end
  local AtkFinal = (((Atk - BaseAtk) * (1 + AtkPer) + HpAtk) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local Najia = 0
  local RefineLv = srcUser:GetEquipedRefineLv(1)
  if srcUser:HasBuffID(90001267_SHIELD_OF_NAGA_R8_:MAX_STACK_0) then
    Najia = 1 + RefineLv / 100 * 20
  end
  local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
  if equipRing.id == 42583 or equipRing.id == 142583 then
    Najia = 1 + equipRing.refinelv / 100 * 20
  end
  local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
  if equipRingSD.id == 42583 or equipRingSD.id == 142583 then
    Najia = 1 + equipRingSD.refinelv / 100 * 20 * equipRingSD.quench_per / 100
  end
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  local gsz = 1
  local Fifth = 1
  if skillID == 3808_ROYAL_GUARD:LIGHT_CROSS then
    local skilllv_xsz = srcUser:GetLernedSkillLevel(1182_THIEF:OVERBRAND)
    local skilllv_gsz = srcUser:GetLernedSkillLevel(3808_ROYAL_GUARD:LIGHT_CROSS)
    damChangePer = 5.2 + skilllv_xsz * 0.8
    local GemValue = srcUser:GetGemValue(72151_LIGHT_CROSS_DMG_PERCENTAGE)
    local GemDam = 1 + GemValue / 100000
    gsz = (1 + skilllv_gsz * 0.05) * GemDam
    if srcUser:HasBuffID(90004234_DEEP_SEA_FEAR_1_T5_:MAX_STACK_0) then
      Fifth = Fifth + 0.15
    end
  end
  local BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) * elementparam * elementparam2 + BaseMAtk) * raceparam * bossparam * bossparam2
  local A = ((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine) * (damChangePer + Najia) * (1 + DamIncrease - ShortRangeDamReduc2) * (1 - RefineDamReduc) - Vit2 * (1 + VitPer2)
  if A <= 1 then
    A = 1
  end
  local Num = srcUser:GetRunePoint(74030_AESIR_OVERBRAND_DAMAGE_7)
  local RuneDamage = 1 + Num * 0.07
  local Card = 1
  if srcUser:HasBuffID(52790_DULLAHAN_CARD_:MAX_STACK_0) then
    Card = 1.1
  end
  local EquipDamage = 1
  if srcUser:HasBuffID(41770_DEEP_SEA_FEAR_:MAX_STACK_0) then
    EquipDamage = EquipDamage + 0.3
  end
  if srcUser:HasBuffID(90001253_SPEARFISH_PIKE_R4_:MAX_STACK_0) and srcUser:HasBuffID(90001267_SHIELD_OF_NAGA_R8_:MAX_STACK_0) then
    EquipDamage = EquipDamage + 0.1
  end
  if srcUser:HasBuffID(41770_DEEP_SEA_FEAR_:MAX_STACK_0) and srcUser:HasBuffID(90001267_SHIELD_OF_NAGA_R8_:MAX_STACK_0) then
    EquipDamage = EquipDamage + 0.1
  end
  if srcUser:HasBuffID(90001253_SPEARFISH_PIKE_R4_:MAX_STACK_0) and srcUser:HasBuffID(43300_DRAGON_FLAME_SHIELD_:MAX_STACK_0) then
    EquipDamage = EquipDamage + 0.1
  end
  if srcUser:HasBuffID(41770_DEEP_SEA_FEAR_:MAX_STACK_0) and srcUser:HasBuffID(43300_DRAGON_FLAME_SHIELD_:MAX_STACK_0) then
    EquipDamage = EquipDamage + 0.1
  end
  if equipRingSD.id ~= 0 then
    if srcUser:HasBuffID(90001253_SPEARFISH_PIKE_R4_:MAX_STACK_0) and srcUser:HasBuffLayer(43300, EBUFFERLAYER_SHADOW) then
      EquipDamage = EquipDamage + 0.1
    end
    if srcUser:HasBuffID(41770_DEEP_SEA_FEAR_:MAX_STACK_0) and srcUser:HasBuffLayer(43300, EBUFFERLAYER_SHADOW) then
      EquipDamage = EquipDamage + 0.1
    end
  end
  local equipRingarmour = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
  if equipRingarmour.id == 42088 or equipRingarmour.id == 142088 then
    EquipDamage = EquipDamage + 0.1
  end
  local equipRingSDarmour = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_ARMOUR)
  if equipRingSDarmour.id == 42088 or equipRingSDarmour.id == 142088 then
    EquipDamage = EquipDamage + 0.1 * equipRingSDarmour.quench_per / 100
  end
  local GemValue = srcUser:GetGemValue(72041_OVERBRAND_DMG_PERCENTAGE)
  local GemDam = 1 + GemValue / 100000
  local cj = 1
  local hasbuff = false
  if srcUser.isServerCall then
    hasbuff = srcUser:GetBuffActive(130071)
  else
    hasbuff = srcUser:HasBuffID(130071_SPEAR_OF_RECKONING_INCREASE_DMG_:MAX_STACK_0)
  end
  if hasbuff == true then
    local skilllv_qh = srcUser:GetLernedSkillLevel(3828_DIVINE_AVENGER:SPEAR_OF_RECKONING_ENHANCE)
    cj = 1.3 + skilllv_qh * 0.06
    if srcUser.isServerCall then
      srcUser:AddBuff(130072_SPEAR_OF_RECKONING_CONSUME_:MAX_STACK_0, srcUser:GetGuid())
    end
  end
  local Result = A * RuneDamage * Card * EquipDamage * GemDam * gsz * cj * Fifth
  return Result
end

Self

{
  "id": 90004236,
  "BuffDesc": "13185",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "13184",
  "BuffRate": {
    "Odds": {
      "a": 90004234,
      "b": 0,
      "c": 100,
      "type": 8160
    }
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AttrChange",
    "SkillRes": 0.15
  }
}

Enemy

{
  "id": 130060,
  "BuffName": "Light Cross (Forced Action)",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 3070
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "PlayAction",
    "actionid": 3
  }
}

Enemy

{
  "id": 130061,
  "BuffName": "Light Cross (Forced Action)",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 3070
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "AttrChange",
    "NoMove": 1,
    "NoSkill": 1,
    "NoAttack": 1,
    "NoEffectMove": 3
  }
}

Formula

{
  "CD": 2.5,
  "id": 3808010,
  "Buff": {
    "self": [
      90004236
    ],
    "enemy": [
      130060,
      130061
    ]
  },
  "Cost": 1,
  "Desc": [
    {
      "id": 3808000,
      "params": [
        150
      ]
    }
  ],
  "Icon": "skill_3808001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillSelfRange",
  "Damage": [
    {
      "type": 7402,
      "damChangePer": 0
    }
  ],
  "DescId": "##2818736",
  "NameZh": "##169525",
  "DamTime": {
    "type": 1,
    "value": 2
  },
  "DelayCD": 1,
  "Fire_EP": 3,
  "ItemCost": [
    {
      "id": 12903,
      "count": 2100
    }
  ],
  "Pvp_buff": {
    "self": [
      90004236
    ],
    "enemy": [
      130060,
      130061
    ]
  },
  "RollType": 1,
  "AttackAct": [
    "use_skill7"
  ],
  "Attack_EP": 2,
  "SE_attack": "Skill/skill_magic_lightcross_attack",
  "SkillCost": {
    "sp": 88
  },
  "SkillType": "Attack",
  "Target_EP": 2,
  "DamageType": 1,
  "Logic_Param": {
    "range": 3.5,
    "no_hit": 1,
    "range_num": 15
  },
  "Launch_Range": 0,
  "PreCondition": [
    {
      "type": 2,
      "itemtype": 170
    }
  ],
  "ExtraMaxLevel": 1
}