Dragon Breath

Dragon Breath

Lv 10AttackPhysical

Order the dragon to breathe fire, dealing (Atk + M.Atk) * 1160% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 100% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

CD: 1 sec
Range: 6
Cast: 2

Aesir Effects

• Dragon Breath - Enhance [Dragon Breath] & [Dragon’s Water Breath] Dmg +6%

Skill Levels

Lvl: 9
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 40
Range: 6
Cast Time: 2

• Order the dragon to breathe fire, dealing (Atk + M.Atk) * 1110% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 90% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

Lvl: 8
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 38
Range: 6
Cast Time: 2

• Order the dragon to breathe fire, dealing (Atk + M.Atk) * 1060% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 80% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

Lvl: 7
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 36
Range: 6
Cast Time: 2

• Order the dragon to breathe fire, dealing (Atk + M.Atk) * 1010% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 70% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

Lvl: 6
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 34
Range: 6
Cast Time: 2

• Order the dragon to breathe fire, dealing (Atk + M.Atk) * 960% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 60% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

Lvl: 5
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 32
Range: 6
Cast Time: 2

• Order the dragon to breathe fire, dealing (Atk + M.Atk) * 910% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 50% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

Lvl: 4
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 30
Range: 6
Cast Time: 2

• Order the dragon to breathe fire, dealing (Atk + M.Atk) * 860% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 40% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

Lvl: 3
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 28
Range: 6
Cast Time: 2

• Order the dragon to breathe fire, dealing (Atk + M.Atk) * 810% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 30% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

Lvl: 2
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 26
Range: 6
Cast Time: 2

• Order the dragon to breathe fire, dealing (Atk + M.Atk) * 760% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 20% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

Lvl: 1
Attack
Physical
CD: 1 sec
Skill Delay: 1 sec
SP: 24
Range: 6
Cast Time: 2

• Order the dragon to breathe fire, dealing (Atk + M.Atk) * 710% fire Physical Dmg to enemies in range. Enemies hit by the hellishly hot dragon breathe have a 10% chance to burn. HP Alight status increases damage by 20%. Every 10 VIT increases damage by 1%

Formula

1function CommonFun.calcDamage_1401(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 MAtk = srcUser:GetProperty("MAtk")
9  local MAtkPer = srcUser:GetProperty("MAtkPer")
10  local DamIncrease = srcUser:GetProperty("DamIncrease")
11  local IgnoreDef = 0
12  local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
13  local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
14  if targetUser.boss or targetUser.mini then
15    IgnoreDef = IgnoreDef1
16  else
17    IgnoreDef = IgnoreDef1 + IgnoreDef2
18  end
19  if 1 <= IgnoreDef then
20    IgnoreDef = 1
21  end
22  local MRefine = srcUser:GetProperty("MRefine")
23  local Refine = srcUser:GetProperty("Refine")
24  local Def2 = targetUser:GetProperty("Def")
25  local DefPer2 = targetUser:GetProperty("DefPer")
26  local Vit2 = targetUser:GetProperty("Vit")
27  local VitPer2 = targetUser:GetProperty("VitPer")
28  local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
29  local RefineDamReduc = CommonFun.calcRefineDamReduc(srcUser, targetUser)
30  local damChangePer = damageParam.damChangePer
31  local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
32  local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
33  local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
34  local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
35  local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
36  local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
37  local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
38  local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
39  local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
40  local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
41  local BaseMAtk = Int + math.floor(Int * Int / 100)
42  local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) * elementparam * elementparam2 + BaseMAtk) * raceparam * bossparam * bossparam2
43  local DefReduc = CommonFun.CalcDef(srcUser, targetUser, params)
44  local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
45  local Vit = srcUser:GetProperty("Vit")
46  local VitRatio = 1 + Vit / 1000
47  local HpFire = 1
48  if srcUser:HasBuffID(80220_HP_ALIGHT_:MAX_STACK_0) or srcUser:HasBuffID(80223_HP_ALIGHT_PEAK_:MAX_STACK_0) then
49    HpFire = 1.2
50  end
51  local skilllv_1 = srcUser:GetLernedSkillLevel(1260_ASSASSIN:DRAGON_TRAINING)
52  local Ride = 1
53  if srcUser:HasEquipFeature(1) then
54    Ride = 1 + skilllv_1 * 0.05
55  end
56  local Dragon = 1
57  local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
58  if srcUser:HasBuffID(41200_LANCE_OF_DRAGON_TAMER_1_:MAX_STACK_0) then
59    Dragon = 1 + RefineLv7 * 0.01
60  end
61  local Dragon1 = 0
62  if srcUser:HasBuffID(41200_LANCE_OF_DRAGON_TAMER_1_:MAX_STACK_0) and 15 <= RefineLv7 then
63    Dragon1 = 1
64  end
65  if srcUser:HasBuffID(41740_DRAGON_HOWL_:MAX_STACK_0) then
66    Dragon = 1 + RefineLv7 * 0.01
67  end
68  if srcUser:HasBuffID(41740_DRAGON_HOWL_:MAX_STACK_0) and 15 <= RefineLv7 then
69    Dragon1 = 2
70  end
71  local Numxp = srcUser:GetRunePoint(14020_AESIR_DRAGON_BREATH_DRAGON_S_WATER_BREATH_DMG_6)
72  local RuneDamage = 1 + Numxp * 0.06
73  local card = 1
74  if srcUser:HasBuffID(52580_FIRE_ELF_CARD_:MAX_STACK_0) then
75    card = 1.1
76  end
77  local GemValue = srcUser:GetGemValue(11001_DRAGON_BREATH_AND_DRAGON_S_WATER_BREATH_DMG_PERCENTAGE)
78  local GemDam = 1 + GemValue / 100000
79  local Sign = 1
80  local Num1 = targetUser:GetBuffLayer(117660_DEEP_CUT_:MAX_STACK_5)
81  local fromid = targetUser:GetBuffFromID(117660_DEEP_CUT_:MAX_STACK_5)
82  local guid = srcUser:GetGuid()
83  local skilllv_1 = srcUser:GetLernedSkillLevel(1267_ASSASSIN:DEEP_CUT)
84  skilllv_1 = math.min(skilllv_1, 5)
85  local GemValue = srcUser:GetGemValue(11131_DAMAGE_CAUSED_BY_EACH_DEEP_CUT_STACK_PERCENTAGE)
86  if fromid == guid and srcUser:HasBuffID(20110130_DRAGON_BREATH_TRIGGERS_DEEP_CUT_:MAX_STACK_0) then
87    Sign = 1 + (skilllv_1 * 0.01 + 0.02 + GemValue / 100000) * Num1
88  end
89  local A = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * (damChangePer + Dragon1) * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * HpFire * VitRatio * Ride * Dragon * RuneDamage * card * GemDam * Sign
90  local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
91  if skillID == 3008_BLACKSMITH:MAGIC_DRAGON_BREATH or skillID == 3015_BLACKSMITH:MAGIC_DRAGON_BREATH then
92    local skilllv_hlx = srcUser:GetLernedSkillLevel(1261_ASSASSIN:DRAGON_BREATH)
93    local skilllv_slx = srcUser:GetLernedSkillLevel(1272_ASSASSIN:DRAGON_S_WATER_BREATH)
94    local damChangePer_hlx = skilllv_hlx * 0.5 + 6.6
95    local damChangePer_slx = skilllv_slx * 0.5 + 6.6
96    local hlx = damageParam.hlx
97    local slx = damageParam.slx
98    local Dam_hlx = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * (damChangePer_hlx + Dragon1) * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * HpFire * VitRatio * Ride * Dragon * RuneDamage * card * GemDam * Sign
99    local Dam_slx = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * (damChangePer_slx + Dragon1) * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * HpFire * VitRatio * Ride * Dragon * RuneDamage * card * GemDam * Sign
100    if skilllv_hlx < 1 then
101      Dam_hlx = 0
102    end
103    if skilllv_slx < 1 then
104      Dam_slx = 0
105    end
106    local skilllv_ml = srcUser:GetLernedSkillLevel(3008_BLACKSMITH:MAGIC_DRAGON_BREATH)
107    local GemValue_lx = srcUser:GetGemValue(11161_MAGIC_DRAGON_BREATH_ADDITIONALLY_CAUSES_DARK_PHY_DMG_OF_DRAGON_BREATH_PERCENTAGE)
108    local Dam_alx = 0
109    if 0 < GemValue_lx and hlx == 0 and slx == 0 then
110      Dam_alx = (((AtkFinal + MAtkFinal) * DefReduc * (1 - DamReduc2) + Refine + MRefine) * (damChangePer_hlx + Dragon1) * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * HpFire * VitRatio * Ride * Dragon * RuneDamage * card * GemDam * Sign
111    end
112    A = (Dam_hlx * hlx + Dam_slx * slx) * (skilllv_ml * 0.08 + 0.2) + Dam_alx * GemValue_lx / 100000
113  end
114  local StateEffect = targetUser:GetProperty("StateEffect")
115  local bits = CommonFun.getBits(StateEffect)
116  local GemState = srcUser:GetGemValue(11002_DRAGON_BREATH_AND_DRAGON_S_WATER_BREATH_DEAL_AN_EXTRA_PERCENTAGE_DMG_TO_TARGETS_UNDER_FREEZING_AND_BURN_STATUS)
117  local skilllv_ha = srcUser:GetLernedSkillLevel(3005_BLACKSMITH:DARK_KNIGHT)
118  if bits[CommonFun.StateEffect.Burn] == 1 or bits[CommonFun.StateEffect.Freeze] == 1 then
119    A = A * (1 + GemState / 100000)
120  end
121  if bits[CommonFun.StateEffect.Dark] == 1 then
122    A = A * (1 + skilllv_ha * 0.04)
123  end
124  local enemy = srcUser:IsEnemy(targetUser)
125  if enemy == false then
126    return 0, CommonFun.DamageType.None
127  end
128  if A <= 1 then
129    return 1
130  end
131  return A
132end
Preserved HTML snapshot from ROM Handbook