Illusion Storm
Lvl: 10 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 30 Range: 5 Cast Time: 4

Summon crows to attack the designated area, causing DMG (Atk x3600%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.

Lvl: 9 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 60 Range: 5 Cast Time: 4
• Summon crows to attack the designated area, causing DMG (Atk x3400%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.
Lvl: 8 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 90 Range: 5 Cast Time: 4
• Summon crows to attack the designated area, causing DMG (Atk x3200%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.
Lvl: 7 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 120 Range: 5 Cast Time: 4
• Summon crows to attack the designated area, causing DMG (Atk x3000%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.
Lvl: 6 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 150 Range: 5 Cast Time: 4
• Summon crows to attack the designated area, causing DMG (Atk x2800%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.
Lvl: 5 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 180 Range: 5 Cast Time: 4
• Summon crows to attack the designated area, causing DMG (Atk x2600%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.
Lvl: 4 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 210 Range: 5 Cast Time: 4
• Summon crows to attack the designated area, causing DMG (Atk x2400%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.
Lvl: 3 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 240 Range: 5 Cast Time: 4
• Summon crows to attack the designated area, causing DMG (Atk x2200%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.
Lvl: 2 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 270 Range: 5 Cast Time: 4
• Summon crows to attack the designated area, causing DMG (Atk x2000%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.
Lvl: 1 SummonShadow Physical CD: 4 sec Skill Delay: 1.5 sec SP: 300 Range: 5 Cast Time: 4
• Summon crows to attack the designated area, causing DMG (Atk x1800%) to enemies within 4 meters. If you have learned [Light and Shadow], a Night Shadow can be generated.

Formula

function CommonFun.calcDamage_9204(srcUser, targetUser, params, damageParam, logger)
  local Str = srcUser:GetProperty("Str")
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local DamIncrease = srcUser:GetProperty("DamIncrease")
  local IgnoreDef = 0
  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
  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 Hp2 = targetUser:GetProperty("Hp")
  local MaxHp2 = targetUser:GetProperty("MaxHp")
  local damChangePer = damageParam.damChangePer
  local AttrEffect = srcUser:GetProperty("AttrEffect")
  local bits = CommonFun.getBits(AttrEffect)
  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 AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
  local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)
  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
  if skillID == 481_RUNEMASTER:RAID then
    local Num1 = srcUser:GetRunePoint(90060_AESIR_DAMAGE_OF_RAID_20)
    local RuneDamage1 = Num1 * 0.2 + 1
    A = A * RuneDamage1
  end
  if skillID == 483_RUNEMASTER:INTIMIDATE then
    local Num2 = srcUser:GetRunePoint(90100_AESIR_DAMAGE_OF_INTIMIDATE_10)
    local RuneDamage2 = Num2 * 0.1 + 1
    A = A * RuneDamage2
  end
  if skillID == 487_RUNEMASTER:DISABLING_STRIKE and srcUser:HasBuffID(40672_CALDER_DAGGER_1_:MAX_STACK_0) then
    A = A * 1.5
  end
  if A <= 1 then
    return 1
  end
  if bits[CommonFun.AttrEffect.Hualiduanjian] == 1 then
    return A * 1.5
  end
  return A
end

Logic Param 6380

function CommonFun.calcBuff_6380(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local Atk = srcUser:GetProperty("Atk")
  local AtkPer = srcUser:GetProperty("AtkPer")
  local MAtk = srcUser:GetProperty("MAtk")
  local MAtkPer = srcUser:GetProperty("MAtkPer")
  local Refine = srcUser:GetProperty("Refine")
  local MRefine = srcUser:GetProperty("MRefine")
  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
  local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
  local DamIncrease = srcUser:GetProperty("DamIncrease")
  local skilllv = srcUser:GetLernedSkillLevel(a)
  local A = -(Atk * (1 + AtkPer) * DefReduc * (1 - DamReduc2)) * (skilllv * b + c) * (1 - RefineDamReduc) * (1 + DamIncrease)
  local AttrFunction = srcUser:GetProperty("AttrFunction")
  local bitfunc = CommonFun.getBits(AttrFunction)
  if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
    A = 0
  end
  if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
    A = 0
  end
  if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
    A = -1
  end
  if targetUser:DamageAlways1() then
    A = -1
  end
  return A
end

Logic Param 6

function CommonFun.calcBuff_6(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local MaxHp = targetUser:GetProperty("MaxHp")
  local A = MaxHp * (a + c) + b
  if 0 < A or a == 0 then
    return A
  end
  if srcUser:GetNpcID() == 0 and targetUser:HasBuffID(160000_BOSS_IMMUNE_EFFECT_:MAX_STACK_0) and targetUser.boss == false and targetUser.mini == false then
    return 0
  end
  if srcUser:GetNpcID() == 0 and (targetUser.boss or targetUser.mini) then
    local Vit = srcUser:GetProperty("Vit")
    local MAtk = srcUser:GetProperty("MAtk")
    local MAtkPer = srcUser:GetProperty("MAtkPer")
    local Refine = srcUser:GetProperty("Refine")
    local MRefine = srcUser:GetProperty("MRefine")
    local Def2 = targetUser:GetProperty("Def")
    local DefPer2 = targetUser:GetProperty("DefPer")
    local MDef2 = targetUser:GetProperty("MDef")
    local MDefPer2 = targetUser:GetProperty("MDefPer")
    local Vit2 = targetUser:GetProperty("Vit")
    local VitPer2 = targetUser:GetProperty("VitPer")
    local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
    local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
    local Int2 = targetUser:GetProperty("Int")
    local IntPer2 = targetUser:GetProperty("IntPer")
    local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
    local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
    local Str = srcUser:GetProperty("Str")
    local Dex = srcUser:GetProperty("Dex")
    local Luk = srcUser:GetProperty("Luk")
    local Atk = srcUser:GetProperty("Atk")
    local AtkPer = srcUser:GetProperty("AtkPer")
    local DamIncrease = srcUser:GetProperty("DamIncrease")
    local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
    local IgnoreDef = srcUser:GetProperty("IgnoreDef")
    if 1 <= IgnoreDef then
      IgnoreDef = 1
    end
    local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
    if 1 <= IgnoreMDef then
      IgnoreMDef = 1
    end
    local raceparam = 1
    local srcRace = srcUser.race
    local targetRace = targetUser.race
    if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      targetRace = 2
    end
    if targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and targetUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
    elseif targetUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
      srcRace = 2
    end
    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 MAtkFinal = MAtk * (1 + MAtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    local AtkFinal = Atk * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * raceparam
    if MAtkFinal <= AtkFinal then
      local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
      A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * a * 100 * (1 - RefineDamReduc) * (1 + DamIncrease) - Vit2 * (1 + VitPer2) + b
    else
      local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
      A = (MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * a * 100 * (1 - RefineMDamReduc) * (1 + MDamIncrease) - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + b
    end
  end
  local AttrFunction = srcUser:GetProperty("AttrFunction")
  local bitfunc = CommonFun.getBits(AttrFunction)
  if (targetUser.boss or targetUser.mini or targetUser.changelinepunish) and (targetUser.zoneType == 1 or targetUser.zoneType == 22) and targetUser.noPunishBoss == false and bitfunc[CommonFun.AttrFunction.JustInViceZone] == 1 and targetUser.isBossFromBranch == false then
    A = 0
  end
  if targetUser.boss and targetUser.zoneType == 22 and CommonFun.CheckStormBossMiss(targetUser, srcUser) then
    A = 0
  end
  if targetUser:GetNpcID() == 30043_YEAR or targetUser:GetNpcID() == 280303_WILDNESS_SPIRIT_BEAST or targetUser:GetNpcID() == 56008_GOMORA or targetUser:GetNpcID() == 56009_BALTAN or targetUser:GetNpcID() == 56010_GOLZA or targetUser:GetNpcID() == 56011_BEMSTAR or targetUser:GetNpcID() == 56012_ELEKING or targetUser:GetNpcID() == 56013_KING_JOE then
    A = -1
  end
  if targetUser:DamageAlways1() then
    A = -1
  end
  return A
end

Logic Param 6390

function CommonFun.calcBuff_6390(srcUser, targetUser, a, b, c, d, lv)
  if srcUser == nil or targetUser == nil then
    return 0
  end
  local skilllv = srcUser:GetLernedSkillLevel(4208_SORCERER:SHADOW_SACRIFICE)
  local Dex = srcUser:GetProperty("Dex")
  local Luk = srcUser:GetProperty("Luk")
  local GemNew = srcUser:GetGemValue(91151_SHADOW_SACRIFICE_ABSORBS_PERCENTAGE_MORE_DMG)
  local GemDamNew = 1 + GemNew / 100000
  local A = (Dex + Luk) * skilllv * 60 * GemDamNew
  return A
end

Logic Param

{
  "id": 132025,
  "BuffName": "Shadow inherits ATK",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "type": "AttrChange",
    "AtkPer": {
      "a": 0,
      "b": -0.25,
      "c": 91141,
      "type": 5020
    }
  }
}

Logic Param

{
  "id": 132050,
  "BuffName": "Shadow Blast",
  "BuffRate": {
    "Odds": {
      "a": 4212,
      "b": 100,
      "c": 0,
      "type": 8
    }
  },
  "Condition": {
    "type": "Die"
  },
  "BuffEffect": {
    "id": [
      132051,
      132052
    ],
    "type": "AddBuff"
  }
}

Logic Param

{
  "id": 132051,
  "BuffName": "Shadow Blast DMG",
  "BuffRate": {
    "Odds": 100
  },
  "BuffEffect": {
    "Hp": {
      "a": 4212,
      "b": 1,
      "c": 1,
      "type": 6380
    },
    "type": "HSPChange"
  },
  "BuffStateID": 132050
}

Logic Param

{
  "id": 132052,
  "BuffName": "Poisoned",
  "BuffRate": {
    "Odds": {
      "a": 4226,
      "b": 25,
      "c": 0,
      "type": 8
    }
  },
  "BuffEffect": {
    "id": [
      132053
    ],
    "type": "AddBuff"
  }
}

Logic Param

{
  "id": 132053,
  "BuffName": "Poison Effect [Poison]",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "type": 150
    }
  },
  "BuffEffect": {
    "id": [
      132054,
      132055
    ],
    "type": "AddBuff"
  }
}

Logic Param

{
  "id": 132054,
  "BuffName": "Poison Effect [Poison]",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "type": "StatusChange",
    "DefPer": -0.25,
    "AttrEffect": [
      3,
      4
    ],
    "StateEffect": "1_Poison"
  },
  "BuffStateID": 120030
}

Logic Param

{
  "id": 132055,
  "BuffName": "Poison Bleeding Effect [Poison]",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 0,
    "isdisperse": 1
  },
  "BuffEffect": {
    "Hp": {
      "a": -0.02,
      "b": -3,
      "type": 6
    },
    "type": "HpReduce",
    "delHpPer": {
      "a": 0.2,
      "type": 153
    },
    "StateEffect": "1_Poison",
    "limit_layer": 3
  }
}

Logic Param

{
  "id": 132070,
  "BuffDesc": "Absorbs DMG",
  "BuffIcon": "skillbuff_commonbuff",
  "BuffName": "Dark Shadow (Absorbs DMG)",
  "BuffRate": {
    "Odds": 100
  },
  "BuffType": {
    "isgain": 1,
    "isdisperse": 1
  },
  "IconType": 1,
  "BuffEffect": {
    "type": "AbsorbDamage",
    "AbsorbAmount": {
      "type": 6390
    },
    "end_extra_buff": [
      132071
    ]
  },
  "BuffStateID": 132070
}

Logic Param

{
  "id": 132110,
  "BuffName": "The death of the shadow adds Buff for the master",
  "BuffRate": {
    "Odds": {
      "a": 0,
      "b": 100,
      "c": 20910190,
      "type": 5040
    }
  },
  "Condition": {
    "type": "Die"
  },
  "BuffEffect": {
    "id": [
      132070
    ],
    "type": "AddBuff"
  }
}
Manhole

Logic Param

{
  "id": 90004955,
  "BuffName": "23",
  "BuffRate": {
    "Odds": {
      "a": 90004954,
      "b": 0,
      "c": 100,
      "type": 8160
    }
  },
  "Condition": {
    "type": "Die"
  },
  "BuffEffect": {
    "id": 1141001,
    "Odds": 100,
    "type": "UseSkill",
    "IsActive": 0
  }
}

Formula

{
  "CD": 4,
  "id": 4207010,
  "Cost": 1,
  "Desc": [
    {
      "id": 4207000,
      "params": [
        3600
      ]
    }
  ],
  "Icon": "skill_4207001",
  "Camps": "Enemy",
  "Level": 10,
  "Logic": "SkillPointRange",
  "Damage": [
    {
      "type": 9204,
      "damChangePer": 36
    }
  ],
  "DescId": "##171795",
  "NameZh": "##169553",
  "CastAct": "reading",
  "DamTime": {
    "type": 1,
    "value": 3
  },
  "DelayCD": 1.5,
  "Fire_EP": 3,
  "ItemCost": [
    {
      "id": 12903,
      "count": 1580
    }
  ],
  "RollType": 1,
  "AttackAct": [
    "use_skill"
  ],
  "Attack_EP": 2,
  "Lead_Type": {
    "CCT": 0,
    "FCT": 4,
    "type": 2
  },
  "SE_attack": "Skill/Phantom_qunyafengbao",
  "SkillCost": {
    "sp": 30
  },
  "SkillType": "SummonShadow",
  "Target_EP": 3,
  "DamageType": 1,
  "Logic_Param": {
    "loop": false,
    "count": 1,
    "range": 4,
    "effect": "Eff_CrowsStorm_floor,LowRange_B2",
    "buffIDs": [
      132025,
      132050,
      132110,
      90004955
    ],
    "interval": 1,
    "num_type": 13,
    "no_select": 1,
    "isCountTrap": 1,
    "shadowLevel": [
      [
        580101,
        8
      ],
      [
        580102,
        9
      ],
      [
        580103,
        10
      ],
      [
        580104,
        11
      ],
      [
        580105,
        12
      ]
    ]
  },
  "Launch_Range": 5,
  "ExtraMaxLevel": 0
}