SkillSoul Strike
Soul Strike
Lvl: 1
Attack
Magic
CD: 5 sec
Range: 6
Deals (Atk100%) Dmg to the target
Lvl: 1
Attack
Magic
CD: 5 sec
Range: 6
Deals (Atk100%) Dmg to the target

Formula
function CommonFun.calcDamage_30(srcUser, targetUser, params, damageParam, logger)
  local Luk = srcUser:GetProperty("Luk")
  local Int = srcUser:GetProperty("Int")
  local Vit = srcUser:GetProperty("Vit")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
  local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
  if 1 <= IgnoreMDef then
    IgnoreMDef = 1
  end
  local MRefine = srcUser:GetProperty("MRefine")
  local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, params, damageParam)
  local targetDefElement = targetUser:GetProperty("DefAttr")
  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
  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 BaseMAtk = Int + math.floor(Int * Int / 100)
  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
  local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
  local CardXR = 1
  local CardNum = srcUser:GetEquipCardNum(7, 23048_HILL_WIND_CARD)
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 84_:JUPITEL_THUNDER then
    CardXR = CardNum * 0.25 + 1
  end
  local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * CardXR
  if skillID == 1930_:HEAVY_SLASH then
    local MDamSpike = srcUser:GetProperty("MDamSpike_MPEN")
    MAtkFinal = (MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk
    A = (MAtkFinal * (1 + MDamSpike) + MRefine) * damChangePer * (1 - RefineMDamReduc) * (1 + MDamIncrease)
  end
  if skillID == 1500_:ICE_WALL then
    local Num1 = srcUser:GetRunePoint(143026_AESIR_ICE_WALL_DAMAGE_INCREASES_BY_10)
    A = A * (1 + Num1 * 0.1)
  end
  if skillID == 3209_:CHRONOLOGY_BOLT then
    local skilllv_1 = srcUser:GetLernedSkillLevel(3226_:CHRONOLOGY_BOLT_ENHANCE)
    local taozhuang1 = 1
    if srcUser:HasBuffID(91000470_SAGE_S_BOOK_TELEKINETIC_ORB_:MAX_STACK_0) or srcUser:HasBuffID(91000770_SAGE_S_HANDBOOK_TELEKINETIC_ORB_:MAX_STACK_0) or srcUser:HasBuffID(91001490_SAGE_S_BOOK_CONTRACT_JEWELERY_:MAX_STACK_0) or srcUser:HasBuffID(91001500_SAGE_S_HANDBOOK_CONTRACT_JEWELERY_:MAX_STACK_0) then
      taozhuang1 = 1.15
    end
    local Ring1 = srcUser:GetEquipedID(7_WEAPON)
    local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
    if Ring1 == 63440_SAGE_S_HANDBOOK_1 or Ring1 == 163440_SAGE_S_HANDBOOK_2 then
      taozhuang1 = RefineLv * 0.01 + taozhuang1
    end
    local Num1 = srcUser:GetRunePoint(22160_AESIR_INCREASES_THE_DAMAGE_OF_FIRE_BOLT_COLD_BOLT_LIGHTNING_BOLT_AND_CHRONOLOGY_BOLT_BY_10)
    local Num2 = srcUser:GetRunePoint(22161_AESIR_INCREASES_THE_DAMAGE_OF_FIRE_BOLT_COLD_BOLT_LIGHTNING_BOLT_AND_CHRONOLOGY_BOLT_BY_10)
    local RuneDamage = (Num1 + Num2) * 0.1 + 1
    local GemKj = 0
    local GemSj = 0
    if srcUser:HasBuffID(126122_CHRONOLOGY_BOLT_TIME_FIELD_:MAX_STACK_0) then
      GemSj = srcUser:GetGemValue(82151_WHILE_YOU_ARE_IN_TIME_FIELD_INCREASE_CHRONOLOGY_BOLT_DMG_BY_PERCENTAGE)
    end
    local GemDam = 1 + GemSj / 100000
    A = A * (1 + skilllv_1 * 0.06) * taozhuang1 * RuneDamage * GemDam
  end
  if A <= 1 then
    return 1
  end
  return A
end
Buff Raw
Enemy
{
  "id": 100017700,
  "BuffName": "Soul Strike [Darkness]",
  "BuffRate": {
    "Odds": {
      "a": 2,
      "b": 10,
      "type": 186
    }
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "HitPer": -0.5,
    "FleePer": -0.5,
    "AttrEffect": [
      27
    ],
    "StateEffect": "12_Dark"
  }
}
Raw
{
  "CD": 5,
  "id": 10184001,
  "Buff": {
    "enemy": [
      100017700
    ]
  },
  "Cost": 0,
  "Desc": [
    {
      "id": 10000,
      "params": [
        100
      ]
    }
  ],
  "Icon": "skill_10000",
  "Camps": "Enemy",
  "Level": 1,
  "Logic": "SkillLockedTarget",
  "Damage": [
    {
      "type": 30,
      "damChangePer": 3,
      "elementparam": 7
    }
  ],
  "DescId": "##170630",
  "NameZh": "##170166",
  "DamTime": {
    "type": 1,
    "value": 3
  },
  "Fire_EP": 3,
  "Pvp_buff": {
    "enemy": [
      100017700
    ]
  },
  "RollType": 2,
  "AttackAct": [
    "attack"
  ],
  "Attack_EP": 3,
  "SkillType": "Attack",
  "Target_EP": 3,
  "Launch_Range": 6
}