Storm Gust

Storm Gust

Lv 1AttackPhysical

Deals (Atk100%) Dmg to the target

Range: 2

Aesir Effects

• STR auto attack Acolyte, Priest and High Priest's auto attack bonus converted from strength increases by 5%, Auto Attack increases by
• SP auto attack Acolyte, Priest and High Priest's M.Atk bonus increases by 7%, Auto Attack increases by
• Auto Attack -Silence auto attacks have a 2% chance to silence the target for 1 sec. The chance halves in PVP.

Formula

1function CommonFun.calcDamage_50(srcUser, targetUser, params, damageParam, logger)
2  local Str1 = srcUser:GetProperty("Str")
3  local Num1 = srcUser:GetRunePoint(51013_AESIR_ACOLYTE_PRIEST_AND_HIGH_PRIEST_S_AUTO_ATTACK_BONUS_CONVERTED_FROM_STRENGTH_INCREASES_BY_5_AUTO_ATTACK_INCREASES_BY)
4  local RuneDamage = Num1 * 0.05 + 1
5  local Str = Str1 * RuneDamage
6  local Dex = srcUser:GetProperty("Dex")
7  local Luk = srcUser:GetProperty("Luk")
8  local Atk1 = srcUser:GetProperty("Atk")
9  local MAtk = srcUser:GetProperty("MAtk")
10  local MAtkPer = srcUser:GetProperty("MAtkPer")
11  local Num1 = srcUser:GetRunePoint(52013_AESIR_ACOLYTE_PRIEST_AND_HIGH_PRIEST_S_M_ATK_BONUS_INCREASES_BY_7_AUTO_ATTACK_INCREASES_BY)
12  local Num2 = srcUser:GetRunePoint(52014)
13  local Num3 = srcUser:GetRunePoint(52015)
14  local Num4 = srcUser:GetRunePoint(52016)
15  local Num5 = srcUser:GetRunePoint(52017)
16  local Num6 = srcUser:GetRunePoint(52018)
17  local RuneDamage1 = (Num1 + Num2 + Num3 + Num4 + Num5 + Num6) * 0.07
18  local Atk = Atk1 + RuneDamage1 * MAtk * (1 + MAtkPer)
19  local AtkPer = srcUser:GetProperty("AtkPer")
20  local NormalAtk = srcUser:GetProperty("NormalAtk")
21  NormalAtk = NormalAtk + 5 * Str
22  local DamIncrease = srcUser:GetProperty("DamIncrease")
23  local IgnoreDef = 0
24  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
25  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
26  if targetUser.boss or targetUser.mini then
27    IgnoreDef = IgnoreDef1
28  else
29    IgnoreDef = IgnoreDef1 + IgnoreDef2
30  end
31  if 1 <= IgnoreDef then
32    IgnoreDef = 1
33  end
34  local skilllv_1 = srcUser:GetLernedSkillLevel(damageParam.skill1_id)
35  local Refine = srcUser:GetProperty("Refine")
36  local fromid = targetUser:GetBuffFromID(45000120_REPENTANCE_:MAX_STACK_0)
37  local guid = srcUser:GetGuid()
38  local BUffDam = 1
39  if fromid == guid then
40    BUffDam = 1.3
41  end
42  local Def2 = targetUser:GetProperty("Def")
43  local DefPer2 = targetUser:GetProperty("DefPer")
44  local Vit2 = targetUser:GetProperty("Vit")
45  local VitPer2 = targetUser:GetProperty("VitPer")
46  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
47  local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
48  local race2 = targetUser.race
49  if targetUser:HasBuffID(139410_TWO_FACE_DEMON_KING_HUMAN_:MAX_STACK_0) then
50    race2 = 3
51  end
52  if srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) and srcUser:HasBuffID(49325_RACIAL_ANCIENT_RELICS_CD_:MAX_STACK_0) then
53  elseif srcUser:HasBuffID(49320_RACIAL_ANCIENT_RELICS_PERMANENT_:MAX_STACK_0) then
54    race2 = 2
55  end
56  local DefAttr2 = targetUser:GetProperty("DefAttr")
57  local damChangePer = damageParam.damChangePer
58  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
59  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
60  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
61  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
62  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
63  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
64  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
65  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
66  local BaseAtk = Str1 * 2 + math.floor(Str1 * Str1 / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
67  local BaseAtk1 = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
68  local AtkFinal = ((Atk - BaseAtk + NormalAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk1) * raceparam * bossparam * bossparam2
69  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
70  local ShortRangeDamReduc2 = targetUser:GetProperty("ShortRangeDamReduc")
71  local zhufu = 1
72  if srcUser:HasBuffID(129040_HAMMER_OF_BLESSINGS_:MAX_STACK_0) or srcUser:HasBuffID(129041_HAMMER_OF_BLESSINGS_SHORT_TERM_:MAX_STACK_0) then
73    local skilllv_zf = srcUser:GetLernedSkillLevel(3610_PALADIN:HAMMER_OF_BLESSINGS)
74    local GemValue = srcUser:GetGemValue(51161_BLESSING_HAMMER_S_INHERITED_AUTO_ATK_PERCENTAGE)
75    zhufu = 1 + skilllv_zf * 0.05 + GemValue / 100000
76  end
77  local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - ShortRangeDamReduc2) - Vit2 * (1 + VitPer2)) * BUffDam * zhufu
78  if A <= 1 then
79    return 1
80  end
81  if race2 == 3 or DefAttr2 == 9 or srcUser:HasBuffID(20510031_REGARD_THE_ENEMY_AS_DARK_ELEMENT_:MAX_STACK_0) and srcUser:HasBuffID(22000520_DEMON_BANE_IS_EFFECTIVE_ON_THE_DARK_ELEMENT_:MAX_STACK_0) or DefAttr2 == 7 and srcUser:HasBuffID(22000520_DEMON_BANE_IS_EFFECTIVE_ON_THE_DARK_ELEMENT_:MAX_STACK_0) then
82    return A * (1 + math.min(skilllv_1, 10) * 0.05)
83  end
84  return A
85end
Preserved HTML snapshot from ROM Handbook