
Cart Tornado
Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x100%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
Skill Levels
• Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x95%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
• Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x90%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
• Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x85%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
• Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x80%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
• Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x75%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
• Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x70%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
• Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x65%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
• Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x60%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
• Spin the cart to create a tornado in the designated area, and cause Wind Physical DMG ([Cart Attack] x55%) to all enemies within 3 meters per second. The tornado lasts for 4 seconds. Carts must be quipped to cast.
Formula
1function CommonFun.calcDamage_6101(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 skilllv_1 = srcUser:GetLernedSkillLevel(266_LORD_KNIGHT:ENHANCED_CART)
28 local skilllv_2 = srcUser:GetLernedSkillLevel(1479_GUILLOTINE_CROSS:ENHANCED_CART)
29 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
30 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
31 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
32 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
33 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
34 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
35 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
36 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
37 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
38 local AtkFinal = ((Atk - BaseAtk + skilllv_1 * 15 + skilllv_2 * 15) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
39 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
40 local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
41 local BaseLvDamage = 0
42 local IBaseLv = srcUser.BaseLv
43 if srcUser:HasBuffID(42180_OLD_PAL_:MAX_STACK_0) then
44 BaseLvDamage = IBaseLv * 20
45 end
46 if srcUser:HasBuffID(42210_UNGRATEFUL_SOUL_:MAX_STACK_0) then
47 BaseLvDamage = IBaseLv * 20
48 end
49 if srcUser:HasBuffID(43790_1735_:MAX_STACK_0) or srcUser:HasBuffID(44000_1819_:MAX_STACK_0) or srcUser:HasBuffID(43580_ACADEMY_AXE_:MAX_STACK_0) then
50 BaseLvDamage = IBaseLv * 50
51 end
52 local num, numMax = srcUser:GetCartNums()
53 local Num1 = srcUser:GetRunePoint(61006_AESIR_EACH_SLOT_OF_THE_CART_INCREASES_0_5_CART_ATTACK_DAMAGE_AND_5_CART_ATTACK_SP_COST)
54 local Num2 = srcUser:GetRunePoint(61007_AESIR_EACH_SLOT_OF_THE_CART_INCREASES_1_CART_ATTACK_DAMAGE_AND_5_CART_ATTACK_SP_COST)
55 local Num3 = srcUser:GetRunePoint(61008)
56 local Num4 = srcUser:GetRunePoint(61009)
57 local Num5 = srcUser:GetRunePoint(61010)
58 local RuneDamage = (Num1 * 0.005 + Num2 * 0.01 + Num3 * 0.01 + Num4 * 0.005 + Num5 * 0.01) * numMax + 1
59 local Num6 = srcUser:GetRunePoint(130010_AESIR_DAMAGE_OF_CART_ATTACK_10)
60 local Num7 = srcUser:GetRunePoint(143027_AESIR_DAMAGE_OF_CART_ATTACK_6)
61 local RuneDamage2 = Num6 * 0.1 + Num7 * 0.06 + 1
62 local Numjs = srcUser:GetRunePoint(143024_AESIR_CART_ATTACK_DAMAGE_0_2_FOR_EACH_1_INCREASE_TO_YOUR_MOVE_SPD)
63 local MoveSpd = srcUser:GetProperty("MoveSpd")
64 local MoveRatio = 1 + (math.max(MoveSpd, 1) - 1) * 0.2 * Numjs
65 local GemValue1 = srcUser:GetGemValue(61082_CART_ATTACK_DMG_PERCENTAGE)
66 local GemValue2 = srcUser:GetGemValue(143022_CART_ATTACK_DMG_PERCENTAGE)
67 local GemValue3 = srcUser:GetGemValue(143062_CART_ATTACK_DMG_PERCENTAGE)
68 local GemDam = 1 + GemValue1 / 100000 + GemValue2 / 100000 + GemValue3 / 100000
69 if srcUser:HasBuffID(21430100_IGNORE_DEF_IN_OVER_THRUST_STATUS_:MAX_STACK_0) and srcUser:HasBuffID(96150_OVER_THRUST_:MAX_STACK_0) then
70 DefReduc = 1
71 end
72 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
73 if skillID == 4400_CHRONOMANCER:CART_TORNADO or skillID == 4429_ROGUE:CART_TORNADO then
74 local skilllv_stc = srcUser:GetLernedSkillLevel(1478_GUILLOTINE_CROSS:CART_ATTACK)
75 local skilllv_ljf = srcUser:GetLernedSkillLevel(4400_CHRONOMANCER:CART_TORNADO)
76 local GemValueNew = srcUser:GetGemValue(143141_CART_TORNADO_DMG_PERCENTAGE)
77 damChangePer = (skilllv_stc * 0.5 + 2.5) * (skilllv_ljf * 0.05 + 0.5) * (1 + GemValueNew / 100000)
78 end
79 local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * RuneDamage * RuneDamage2 * MoveRatio * GemDam + BaseLvDamage
80 local Weapon = srcUser:GetEquipedID(7_WEAPON)
81 local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
82 local beike = 0
83 if srcUser:HasBuffID(90000677_VECER_AXE_1_TIER_8_:MAX_STACK_0) then
84 if 10 <= RefineLv7 and RefineLv7 < 15 then
85 beike = (RefineLv7 - 10) * 0.02
86 elseif 15 <= RefineLv7 then
87 beike = (RefineLv7 - 10) * 0.02 + 0.05
88 end
89 end
90 if srcUser:HasBuffID(41920_DESTROYER_S_WAR_AXE_:MAX_STACK_0) and 5 <= RefineLv7 then
91 beike = (RefineLv7 - 5) * 0.02
92 end
93 if Weapon == 41835_VECER_AXE_1 or Weapon == 141835_VECER_AXE_2 or Weapon == 41867_DESTROYER_S_WAR_AXE_1 or Weapon == 141867_DESTROYER_S_WAR_AXE_2 then
94 return A * (1.15 + beike)
95 end
96 if A <= 1 then
97 return 1
98 end
99 return A
100end