Triangle Shot

Triangle Shot

Lv 20AttackPhysical

Shoot 3 arrows at the same time, deal triple Dmg (440% Atk) to a single enemy; bows must be equipped to release this skill

Range: 5

Skill Levels

Lvl: 19
Attack
Physical
Skill Delay: 1.5 sec
SP: 45
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (420% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 18
Attack
Physical
Skill Delay: 1.5 sec
SP: 43
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (400% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 17
Attack
Physical
Skill Delay: 1.5 sec
SP: 41
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (380% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 16
Attack
Physical
Skill Delay: 1.5 sec
SP: 39
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (360% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 15
Attack
Physical
Skill Delay: 1.5 sec
SP: 37
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (340% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 14
Attack
Physical
Skill Delay: 1.5 sec
SP: 35
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (320% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 13
Attack
Physical
Skill Delay: 1.5 sec
SP: 33
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (300% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 12
Attack
Physical
Skill Delay: 1.5 sec
SP: 31
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (280% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 11
Attack
Physical
Skill Delay: 1.5 sec
SP: 29
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (260% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 10
Attack
Physical
Skill Delay: 1.5 sec
SP: 27
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (240% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 9
Attack
Physical
Skill Delay: 1.5 sec
SP: 26
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (230% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 8
Attack
Physical
Skill Delay: 1.5 sec
SP: 25
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (220% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 7
Attack
Physical
Skill Delay: 1.5 sec
SP: 24
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (210% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 6
Attack
Physical
Skill Delay: 1.5 sec
SP: 23
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (200% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 5
Attack
Physical
Skill Delay: 1.5 sec
SP: 22
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (190% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 4
Attack
Physical
Skill Delay: 1.5 sec
SP: 21
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (180% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 3
Attack
Physical
Skill Delay: 1.5 sec
SP: 20
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (170% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 2
Attack
Physical
Skill Delay: 1.5 sec
SP: 19
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (160% Atk) to a single enemy; bows must be equipped to release this skill

Lvl: 1
Attack
Physical
Skill Delay: 1.5 sec
SP: 18
Range: 5

• Shoot 3 arrows at the same time, deal triple Dmg (150% Atk) to a single enemy; bows must be equipped to release this skill

Formula

1function CommonFun.calcDamage_9203(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 AttrEffect = targetUser:GetProperty("AttrEffect")
21  local bits = CommonFun.getBits(AttrEffect)
22  local Def2 = targetUser:GetProperty("Def")
23  local DefPer2 = targetUser:GetProperty("DefPer")
24  local Vit2 = targetUser:GetProperty("Vit")
25  local VitPer2 = targetUser:GetProperty("VitPer")
26  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
27  local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
28  local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
29  local damChangePer = damageParam.damChangePer
30  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
31  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
32  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
33  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
34  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
35  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
36  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
37  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
38  local BaseAtk = Dex * 2 + math.floor(Dex * Dex / 100) + math.floor(Str / 5) + math.floor(Luk / 5)
39  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
40  local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
41  local skilllv_1 = srcUser:GetLernedSkillLevel(468_RUNEMASTER:DOUBLE_STRAFE)
42  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
43  local Num1 = srcUser:GetRunePoint(90050_AESIR_DAMAGE_OF_TRIANGLE_SHOT_8)
44  local RuneDamage = Num1 * 0.08 + 1
45  local Num2 = 1
46  local WeaponRefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
47  if srcUser:HasBuffID(90001633_ROGUEMASTER_S_BOW_TIER_4_:MAX_STACK_0) then
48    Num2 = WeaponRefineLv * 0.03 + 1
49  end
50  if srcUser:HasBuffID(90001635_ROGUEMASTER_S_BOW_TIER_6_:MAX_STACK_0) then
51    Num2 = Num2 + 0.1
52  end
53  if srcUser:HasBuffID(41880_ROBIN_HOOD_S_BOW_:MAX_STACK_0) then
54    Num2 = WeaponRefineLv * 0.03 + Num2
55  end
56  if srcUser:HasBuffID(41880_ROBIN_HOOD_S_BOW_:MAX_STACK_0) then
57    Num2 = Num2 + 0.2
58  end
59  local Master = CommonFun.getNpcMasterUser(srcUser)
60  if Master ~= nil then
61    local WeaponRefineLvMaster = Master:GetEquipedRefineLv(7_WEAPON)
62    if Master:HasBuffID(90001633_ROGUEMASTER_S_BOW_TIER_4_:MAX_STACK_0) then
63      Num2 = WeaponRefineLvMaster * 0.03 + 1
64    end
65    if Master:HasBuffID(90001635_ROGUEMASTER_S_BOW_TIER_6_:MAX_STACK_0) then
66      Num2 = Num2 + 0.1
67    end
68    if Master:HasBuffID(41880_ROBIN_HOOD_S_BOW_:MAX_STACK_0) then
69      Num2 = WeaponRefineLvMaster * 0.03 + Num2
70    end
71    if Master:HasBuffID(41880_ROBIN_HOOD_S_BOW_:MAX_STACK_0) then
72      Num2 = Num2 + 0.2
73    end
74  end
75  local fromid = targetUser:GetBuffFromID(116470_MARK_OF_DEATH_:MAX_STACK_0)
76  local guid = srcUser:GetGuid()
77  local BUffDam = 1
78  local skilllv_dead = srcUser:GetLernedSkillLevel(1147_ARCANE_MASTER:MARK_OF_DEATH)
79  local GemBiaoji = srcUser:GetGemValue(91121_MARK_OF_DEATH_DAMAGE_INCREASE_EFFECT_PERCENTAGE)
80  local Numxp = srcUser:GetRunePoint(94080_AESIR_MARK_OF_DEATH_EFFECT_2)
81  if fromid == guid or skillID == 4228_SORCERER:STORM_GUST_SORCERER:STORM_GUST_SORCERER:STORM_GUST and fromid ~= 0 then
82    BUffDam = 1 + skilllv_dead * 0.02 + Numxp * 0.02 + GemBiaoji / 100000
83  end
84  local GemValue = srcUser:GetGemValue(91082_TRIANGLE_SHOT_DMG_PERCENTAGE)
85  local GemDam = 1 + GemValue / 100000
86  local targetid = targetUser:GetGuid()
87  local distance = srcUser:GetDistance(targetid)
88  local skilllv_cy = srcUser:GetLernedSkillLevel(478_RUNEMASTER:VULTURE_S_EYE)
89  local DisDam = 1
90  if 10 < skilllv_cy then
91    DisDam = 1 + distance / 7.5 * (skilllv_cy - 10) * 0.06
92    DisDam = math.min(DisDam, 1.6)
93  end
94  if skillID == 476_RUNEMASTER:TRIANGLE_SHOT then
95    damChangePer = damChangePer + skilllv_1 * 0.1
96  end
97  if skillID == 4203_SORCERER:COMBO_ARROW or skillID == 4228_SORCERER:STORM_GUST_SORCERER:STORM_GUST_SORCERER:STORM_GUST then
98    local skilllv_san = srcUser:GetLernedSkillLevel(476_RUNEMASTER:TRIANGLE_SHOT)
99    local skilllv_duo = srcUser:GetLernedSkillLevel(4203_SORCERER:COMBO_ARROW)
100    local skilllv_xjn = srcUser:GetLernedSkillLevel(4222_SORCERER:COMBO_ARROW_COMBO)
101    if skilllv_san <= 10 then
102      damChangePer = (0.3 * skilllv_san + 4.2 + skilllv_1 * 0.1) * (1 + skilllv_duo * 0.05) * (1 + skilllv_xjn * 0.04)
103    else
104      damChangePer = ((skilllv_san - 10) * 0.6 + 7.2 + skilllv_1 * 0.1) * (1 + skilllv_duo * 0.05) * (1 + skilllv_xjn * 0.04)
105    end
106    if skillID == 4228_SORCERER:STORM_GUST_SORCERER:STORM_GUST_SORCERER:STORM_GUST then
107      damChangePer = damChangePer * 0.8
108    end
109  end
110  local BaseLvDamage = 0
111  local IBaseLv = srcUser.BaseLv
112  if srcUser:HasBuffID(43740_1777_:MAX_STACK_0) or srcUser:HasBuffID(43950_1813_:MAX_STACK_0) or srcUser:HasBuffID(43530_ACADEMY_BOW_:MAX_STACK_0) then
113    BaseLvDamage = IBaseLv * 50
114  end
115  local A = (((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) * RuneDamage - Vit2 * (1 + VitPer2)) * Num2 * BUffDam * GemDam + BaseLvDamage) * DisDam
116  if A <= 1 then
117    return 1
118  end
119  return A
120end
Preserved HTML snapshot from ROM Handbook