Ultra Lightning

Ultra Lightning

Lv 10AttackPhysical

Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*4800% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path.

CD: 12 sec
Range: 10

Skill Levels

Lvl: 9
Attack
Physical
CD: 12 sec
SP: 300
Range: 10

• Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*4500% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path. [Mjölnir] detonates all [electric charges] of enemies along the path. Each [electric charge] causes HP Loss equal to 50% DMG once. When [Mjölnir] is on the ground, it deals Wind P.DMG equal to P.ATK*1500% per sec to enemies within 4m.

Lvl: 8
Attack
Physical
CD: 12 sec
SP: 300
Range: 10

• Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*4200% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path. [Mjölnir] detonates all [electric charges] of enemies along the path. Each [electric charge] causes HP Loss equal to 50% DMG once. When [Mjölnir] is on the ground, it deals Wind P.DMG equal to P.ATK*1400% per sec to enemies within 4m.

Lvl: 7
Attack
Physical
CD: 12 sec
SP: 300
Range: 10

• Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*3900% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path. [Mjölnir] detonates all [electric charges] of enemies along the path. Each [electric charge] causes HP Loss equal to 50% DMG once. When [Mjölnir] is on the ground, it deals Wind P.DMG equal to P.ATK*1300% per sec to enemies within 4m.

Lvl: 6
Attack
Physical
CD: 12 sec
SP: 300
Range: 10

• Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*3600% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path. [Mjölnir] detonates all [electric charges] of enemies along the path. Each [electric charge] causes HP Loss equal to 50% DMG once. When [Mjölnir] is on the ground, it deals Wind P.DMG equal to P.ATK*1200% per sec to enemies within 4m.

Lvl: 5
Attack
Physical
CD: 12 sec
SP: 300
Range: 10

• Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*3300% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path. [Mjölnir] detonates all [electric charges] of enemies along the path. Each [electric charge] causes HP Loss equal to 50% DMG once. When [Mjölnir] is on the ground, it deals Wind P.DMG equal to P.ATK*1100% per sec to enemies within 4m.

Lvl: 4
Attack
Physical
CD: 12 sec
SP: 300
Range: 10

• Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*3000% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path. [Mjölnir] detonates all [electric charges] of enemies along the path. Each [electric charge] causes HP Loss equal to 50% DMG once. When [Mjölnir] is on the ground, it deals Wind P.DMG equal to P.ATK*1000% per sec to enemies within 4m.

Lvl: 3
Attack
Physical
CD: 12 sec
SP: 300
Range: 10

• Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*2700% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path. [Mjölnir] detonates all [electric charges] of enemies along the path. Each [electric charge] causes HP Loss equal to 50% DMG once. When [Mjölnir] is on the ground, it deals Wind P.DMG equal to P.ATK*900% per sec to enemies within 4m.

Lvl: 2
Attack
Physical
CD: 12 sec
SP: 300
Range: 10

• Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*2400% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path. [Mjölnir] detonates all [electric charges] of enemies along the path. Each [electric charge] causes HP Loss equal to 50% DMG once. When [Mjölnir] is on the ground, it deals Wind P.DMG equal to P.ATK*800% per sec to enemies within 4m.

Lvl: 1
Attack
Physical
CD: 12 sec
SP: 300
Range: 10

• Thor throws [Mjölnir] at the specified area, dealing Wind P.DMG equal to P.ATK*2100% to all enemies along the path. If the skill is used again in 5s, Thor will turn into a ball lightning and dash at the area, dealing DMG one more time to enemies along the path. [Mjölnir] detonates all [electric charges] of enemies along the path. Each [electric charge] causes HP Loss equal to 50% DMG once. When [Mjölnir] is on the ground, it deals Wind P.DMG equal to P.ATK*700% per sec to enemies within 4m.

Formula

1function CommonFun.calcDamage_70501(srcUser, targetUser, params, damageParam, logger)
2  local Str = srcUser:GetProperty("Str")
3  local Dex = srcUser:GetProperty("Dex")
4  local Luk = srcUser:GetProperty("Luk")
5  local Atk = srcUser:GetProperty("Atk")
6  local AtkPer = srcUser:GetProperty("AtkPer")
7  local DamIncrease = srcUser:GetProperty("DamIncrease")
8  local IgnoreDef = 0
9  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
10  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
11  if targetUser.boss or targetUser.mini then
12    IgnoreDef = IgnoreDef1
13  else
14    IgnoreDef = IgnoreDef1 + IgnoreDef2
15  end
16  if 1 <= IgnoreDef then
17    IgnoreDef = 1
18  end
19  local Refine = srcUser:GetProperty("Refine")
20  local Def2 = targetUser:GetProperty("Def")
21  local DefPer2 = targetUser:GetProperty("DefPer")
22  local Vit2 = targetUser:GetProperty("Vit")
23  local VitPer2 = targetUser:GetProperty("VitPer")
24  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
25  local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
26  local damChangePer = damageParam.damChangePer
27  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
28  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
29  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
30  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
31  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
32  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
33  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
34  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
35  local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
36  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
37  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
38  local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
39  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
40  if skillID == 2795_SAINT:TRIAL_OF_STORM then
41    local Hiding = targetUser:GetProperty("Hiding")
42    local Num = targetUser:GetBuffLayer(138361_ELECTRIC_CHARGE_COUNT_:MAX_STACK_5)
43    local GemValue = srcUser:GetGemValue(210101_EACH_ELECTRIC_CHARGE_ON_THE_TARGET_INCREASES_DMG_OF_TRIAL_OF_STORM_BY_PERCENTAGE)
44    damChangePer = damChangePer * (1 + Num * GemValue / 100000)
45    if Hiding == 1 then
46      damChangePer = damChangePer * 2
47    end
48  end
49  if skillID == 2805_SAINT:ULTRA_LIGHTNING then
50    local skilllv_cj = srcUser:GetLernedSkillLevel(2798_SAINT:ULTRA_LIGHTNING)
51    local GemValue = srcUser:GetGemValue(210121_ULTRA_LIGHTNING_DEALS_PERCENTAGE_MORE_DMG_WHEN_REMAINING_ON_THE_GROUND)
52    damChangePer = (skilllv_cj + 6) * (1 + GemValue / 100000)
53  end
54  local Quake = 1
55  if skillID == 2804_SAINT:MJOLNIR then
56    local skilllv_tx = srcUser:GetLernedSkillLevel(2791_SAINT:THOR_S_ARRIVAL)
57    damChangePer = skilllv_tx * 5
58    local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
59    if srcUser:HasBuffID(23030_23_:MAX_STACK_0) then
60      Quake = RefineLv7 * 0.01 + Quake
61    end
62    if srcUser:HasBuffID(23040_23_:MAX_STACK_0) then
63      Quake = RefineLv7 * 0.03 + Quake
64    end
65  end
66  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Quake
67  local skilllv_bwd = srcUser:GetLernedSkillLevel(2799_SAINT:POWER_FLUCTUATION)
68  local random_min = 50 + Luk / 10
69  local random_max = skilllv_bwd * 10 + 200 + Str / 10
70  local ratio = CommonFun.RandomRange(random_min, math.max(random_min, random_max), srcUser:GetRandom())
71  if 0 < skilllv_bwd then
72    A = A * ratio / 100
73    if 300 < ratio then
74      if srcUser.isServerCall then
75        srcUser:AddBuff(138301_POWER_FLUCTUATION_3X_:MAX_STACK_0, targetUser:GetGuid())
76      end
77    elseif 200 < ratio and srcUser.isServerCall then
78      srcUser:AddBuff(138300_POWER_FLUCTUATION_2X_:MAX_STACK_0, targetUser:GetGuid())
79    end
80  end
81  if A <= 1 then
82    return 1
83  end
84  return A
85end
Preserved HTML snapshot from ROM Handbook