Invasion

Invasion

Lv 10AttackMagic

Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*2400% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

CD: 3 sec
Range: 6
Cast: 6

Skill Levels

Lvl: 9
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 178
Range: 6
Cast Time: 6

• Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*2220% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

Lvl: 8
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 164
Range: 6
Cast Time: 6

• Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*2040% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

Lvl: 7
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 150
Range: 6
Cast Time: 6

• Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*1860% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

Lvl: 6
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 136
Range: 6
Cast Time: 6

• Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*1680% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

Lvl: 5
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 122
Range: 6
Cast Time: 6

• Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*1500% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

Lvl: 4
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 108
Range: 6
Cast Time: 6

• Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*1320% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

Lvl: 3
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 94
Range: 6
Cast Time: 6

• Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*1140% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

Lvl: 2
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 80
Range: 6
Cast Time: 6

• Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*960% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

Lvl: 1
Attack
Magic
CD: 3 sec
Skill Delay: 1 sec
SP: 66
Range: 6
Cast Time: 6

• Send a rapidly advancing sandstorm at the specified direction, dealing M.ATK*780% Earth M.DMG to enemies in the 3*10m area in front of it. When attacking Lv.1 Earth armor, ignore the elemental counter.

Formula

1function CommonFun.calcDamage_67501(srcUser, targetUser, params, damageParam, logger)
2  local Int = srcUser:GetProperty("Int")
3  local Vit = srcUser:GetProperty("Vit")
4  local MAtk = srcUser:GetProperty("MAtk")
5  local MAtkPer = srcUser:GetProperty("MAtkPer")
6  local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
7  local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
8  if 1 <= IgnoreMDef then
9    IgnoreMDef = 1
10  end
11  local MRefine = srcUser:GetProperty("MRefine")
12  local RangeDam = srcUser:GetProperty("RangeDam")
13  local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, params, damageParam)
14  local targetDefElement = targetUser:GetProperty("DefAttr")
15  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
16  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
17  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
18  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
19  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
20  local MDef2 = targetUser:GetProperty("MDef")
21  local MDefPer2 = targetUser:GetProperty("MDefPer")
22  local Vit2 = targetUser:GetProperty("Vit")
23  local VitPer2 = targetUser:GetProperty("VitPer")
24  local Int2 = targetUser:GetProperty("Int")
25  local IntPer2 = targetUser:GetProperty("IntPer")
26  local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
27  local RefineMDamReduc = CommonFun.calcRefineMDamReduc(srcUser, targetUser)
28  local damChangePer = damageParam.damChangePer
29  local BaseMAtk = Int + math.floor(Int * Int / 100)
30  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
31  local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
32  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
33  if damageParam.elementparam == 10 then
34    local skilllv_ds = srcUser:GetLernedSkillLevel(2713_ARCHBISHOP:SNAKE_POISON)
35    damChangePer = skilllv_ds
36    if targetUser:GetNpcID() ~= 0 then
37      damChangePer = damChangePer * 2
38    end
39  end
40  local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)) * (1 + RangeDam)
41  if skillID == 2718_ARCHBISHOP:FIRE_BREATH then
42    local Num = srcUser:GetBuffLayer(137570_SERPENT_ECHO_:MAX_STACK_3)
43    local count = params.hitedCount
44    if count == 1 then
45      A = A * (1 + Num * 0.5)
46    end
47  end
48  if skillID == 2706_ARCHBISHOP:ABYSSAL_SPEAR or skillID == 2705_ARCHBISHOP:INVASION then
49    local GemValue = srcUser:GetGemValue(207141_GUN_OF_THE_ABYSS_INVASION_DAMAGE_PERCENTAGE)
50    A = A * (1 + GemValue / 100000)
51  end
52  if A <= 1 then
53    return 1
54  end
55  if srcUser:HasBuffID(137540_SURGING_ARCANE_:MAX_STACK_10) then
56    local skilllv_an = srcUser:GetLernedSkillLevel(2704_ARCHBISHOP:DISASTER_PANIC)
57    return A * (1 + skilllv_an * 0.2), CommonFun.DamageType.Crit
58  end
59  return A
60end
Preserved HTML snapshot from ROM Handbook