
Crazy Weed
Summon a plant that inflicts Earth Physical Damage equivalent to 1600% Atk to enemies within range and randomly removes 8 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar etc.). Have a 20% chance of randomly removing 2 Gain Effect from enemies
Aesir Effects
Skill Levels
• Summon a plant that inflicts Earth Physical Damage equivalent to 1550% Atk to enemies within range and randomly removes 8 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar etc.). Have a 16% chance of randomly removing 2 Gain Effect from enemies
• Summon a plant that inflicts Earth Physical Damage equivalent to 1500% Atk to enemies within range and randomly removes 8 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar etc.). Have a 12% chance of randomly removing 2 Gain Effect from enemies
• Summon a plant that inflicts Earth Physical Damage equivalent to 1450% Atk to enemies within range and randomly removes 8 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar etc.). Have a 8% chance of randomly removing 2 Gain Effect from enemies
• Summon a plant that inflicts Earth Physical Damage equivalent to 1400% Atk to enemies within range and randomly removes 8 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar etc.). Have a 4% chance of randomly removing 2 Gain Effect from enemies
• Summon a plant to deal earth damage equal to 1350% Atk to enemies in range and removes 8 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
• Summon a plant to deal earth damage equal to 1280% Atk to enemies in range and removes 7 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
• Summon a plant to deal earth damage equal to 1210% Atk to enemies in range and removes 6 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
• Summon a plant to deal earth damage equal to 1140% Atk to enemies in range and removes 5 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
• Summon a plant to deal earth damage equal to 1070% Atk to enemies in range and removes 4 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
• Summon a plant to deal earth damage equal to 1000% Atk to enemies in range and removes 4 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
• Summon a plant to deal earth damage equal to 930% Atk to enemies in range and removes 3 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
• Summon a plant to deal earth damage equal to 860% Atk to enemies in range and removes 3 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
• Summon a plant to deal earth damage equal to 790% Atk to enemies in range and removes 2 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
• Summon a plant to deal earth damage equal to 720% Atk to enemies in range and removes 2 traps and magic effects from the ground (such as Ankle Snare, The Circle, Light Shield, Storm Gust, Fire Pillar and more)
Formula
1function CommonFun.calcDamage_13403(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 Int = srcUser:GetProperty("Int")
6 local Atk = srcUser:GetProperty("Atk")
7 local AtkPer = srcUser:GetProperty("AtkPer")
8 local DamIncrease = srcUser:GetProperty("DamIncrease")
9 local IgnoreDef = 0
10 local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
11 local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
12 if targetUser.boss or targetUser.mini then
13 IgnoreDef = IgnoreDef1
14 else
15 IgnoreDef = IgnoreDef1 + IgnoreDef2
16 end
17 if 1 <= IgnoreDef then
18 IgnoreDef = 1
19 end
20 local Refine = srcUser:GetProperty("Refine")
21 local Def2 = targetUser:GetProperty("Def")
22 local DefPer2 = targetUser:GetProperty("DefPer")
23 local Vit2 = targetUser:GetProperty("Vit")
24 local VitPer2 = targetUser:GetProperty("VitPer")
25 local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
26 local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
27 local damChangePer = damageParam.damChangePer
28 local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
29 local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
30 local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
31 local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
32 local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
33 local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
34 local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
35 local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
36 local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
37 if skillID == 1133_ARCANE_MASTER:GOLDEN_HOOF then
38 AtkPer = 0
39 end
40 local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
41 local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
42 local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
43 local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
44 local GemValue = srcUser:GetGemValue(132032_CRAZY_WEED_DMG_PERCENTAGE)
45 local GemDam = 1 + GemValue / 100000
46 local A = (AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) * GemDam - Vit2 * (1 + VitPer2)
47 local Redhandbag3 = 1
48 local Ring1 = srcUser:GetEquipedID(1)
49 if Ring1 == 42551_RED_SQUARE_BAG or Ring1 == 142551_RED_SQUARE_BAG_1 then
50 Redhandbag3 = 1.15
51 end
52 local RefineLv1 = srcUser:GetEquipedRefineLv(1)
53 if 10 <= RefineLv1 and srcUser:HasBuffID(90002213_RED_SQUARE_BAG_TIER_4_:MAX_STACK_0) then
54 Redhandbag3 = Redhandbag3 + 0.15
55 end
56 local equipRing = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_EQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
57 if (equipRing.id == 42592 or equipRing.id == 142592) and 10 <= equipRing.refinelv then
58 Redhandbag3 = Redhandbag3 + 0.15 + 0.15
59 elseif equipRing.id == 42592 or equipRing.id == 142592 then
60 Redhandbag3 = Redhandbag3 + 0.15
61 end
62 local equipRingSD = srcUser:getEquip(CommonFun.PackType.EPACKTYPE_SHADOWEQUIP, CommonFun.EquipPos.EEQUIPPOS_SHIELD)
63 if (equipRingSD.id == 42592 or equipRingSD.id == 142592) and 10 <= equipRingSD.refinelv then
64 Redhandbag3 = Redhandbag3 + 0.3 * equipRingSD.quench_per / 100
65 elseif equipRingSD.id == 42592 or equipRingSD.id == 142592 then
66 Redhandbag3 = Redhandbag3 + 0.15 * equipRingSD.quench_per / 100
67 end
68 if skillID == 1124_ARCANE_MASTER:CRAZY_WEED then
69 local Numxp = srcUser:GetRunePoint(134060_AESIR_CRAZY_WEED_DAMAGE_8)
70 local RuneDamage = 1 + Numxp * 0.08
71 local skilllv_zw = srcUser:GetLernedSkillLevel(3704_ROYAL_GUARD:BOTANICAL_RESEARCH)
72 A = A * Redhandbag3 * RuneDamage * (1 + skilllv_zw * 0.02)
73 end
74 if A <= 1 then
75 return 1
76 end
77 return A
78end