Skill | Cold Bolt |

Lvl: 10
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk800%) water M.DmgLvl: 1
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk300%) water M.Dmg
Lvl: 2
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk350%) water M.Dmg
Lvl: 3
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk400%) water M.Dmg
Lvl: 4
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk450%) water M.Dmg
Lvl: 5
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk500%) water M.Dmg
Lvl: 6
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk550%) water M.Dmg
Lvl: 7
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk600%) water M.Dmg
Lvl: 8
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk650%) water M.Dmg
Lvl: 9
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk700%) water M.Dmg
Lvl: 10
Attack
Magic
CD: 5 sec
Range: 6
Cast Time: 0.64
Fixed Cast Time: 0.16
Attacks enemies with the ice arrows from the sky, dealing (M.Atk800%) water M.Dmg
Formula
function CommonFun.calcDamage_38(srcUser, targetUser, params, damageParam, logger)
local Int = srcUser:GetProperty("Int")
local Vit = srcUser:GetProperty("Vit")
local MAtk = srcUser:GetProperty("MAtk")
local MAtkPer = srcUser:GetProperty("MAtkPer")
local MDamIncrease = CommonFun.calcMDamIncrease(srcUser, targetUser)
local IgnoreMDef = srcUser:GetProperty("IgnoreMDef")
if 1 <= IgnoreMDef then
IgnoreMDef = 1
end
local Num1 = srcUser:GetRunePoint(22120_AESIR_COLD_BOLT_HAS_A_8_CHANCE_TO_BECOME_HIGH_ENERGY_DEALING_10_TOTAL_DAMAGE)
local RuneRate = 0
if 0 < Num1 then
RuneRate = 8
end
local RuneDamage = Num1 * 0.1 + 1
local Num2 = srcUser:GetRunePoint(22160_AESIR_INCREASES_THE_DAMAGE_OF_FIRE_BOLT_COLD_BOLT_LIGHTNING_BOLT_AND_CHRONOLOGY_BOLT_BY_10)
local Num3 = srcUser:GetRunePoint(22161_AESIR_INCREASES_THE_DAMAGE_OF_FIRE_BOLT_COLD_BOLT_LIGHTNING_BOLT_AND_CHRONOLOGY_BOLT_BY_10)
local RuneDamage1 = (Num2 + Num3) * 0.1 + 1
local MRefine = srcUser:GetProperty("MRefine")
local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, params, damageParam)
local targetDefElement = targetUser:GetProperty("DefAttr")
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
local MDef2 = targetUser:GetProperty("MDef")
local MDefPer2 = targetUser:GetProperty("MDefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local Int2 = targetUser:GetProperty("Int")
local IntPer2 = targetUser:GetProperty("IntPer")
local MDamReduc2 = CommonFun.calcMDamReDuc(srcUser, targetUser)
local RefineMDamReduc = targetUser:GetProperty("RefineMDamReduc")
local damChangePer = damageParam.damChangePer
local damChangePer1 = damageParam.damChangePer1
local BaseMAtk = Int + math.floor(Int * Int / 100)
local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local BaseLvDamage = 0
local IBaseLv = srcUser.BaseLv
if srcUser:HasBuffID(42110_FLUORESCENCE_:MAX_STACK_0) then
BaseLvDamage = IBaseLv * 15
end
if srcUser:HasBuffID(42120_MJOLNIR_SPELLBOOK_:MAX_STACK_0) then
BaseLvDamage = IBaseLv * 15
end
local taozhuang1 = 1
if srcUser:HasBuffID(91000470_SAGE_S_BOOK_TELEKINETIC_ORB_:MAX_STACK_0) or srcUser:HasBuffID(91000770_SAGE_S_HANDBOOK_TELEKINETIC_ORB_:MAX_STACK_0) or srcUser:HasBuffID(91001490_SAGE_S_BOOK_CONTRACT_JEWELERY_:MAX_STACK_0) or srcUser:HasBuffID(91001500_SAGE_S_HANDBOOK_CONTRACT_JEWELERY_:MAX_STACK_0) then
taozhuang1 = 1.15
end
if srcUser:HasBuffID(90004514_SAGE_S_HANDBOOK_1_T5_:MAX_STACK_0) then
taozhuang1 = taozhuang1 + 0.15
end
local Ring1 = srcUser:GetEquipedID(7_WEAPON)
local RefineLv = srcUser:GetEquipedRefineLv(7_WEAPON)
if Ring1 == 63440_SAGE_S_HANDBOOK_1 or Ring1 == 163440_SAGE_S_HANDBOOK_2 then
taozhuang1 = RefineLv * 0.01 + taozhuang1
end
local GemValue = srcUser:GetGemValue(82072_COLD_BOLT_DMG_PERCENTAGE)
local GemDam = 1 + GemValue / 100000
local SnowBeast = 1
if srcUser:HasBuffID(53980_SMALL_SIROMA_CARD_:MAX_STACK_0) then
SnowBeast = 1.1
end
if srcUser:HasBuffID(53980_SMALL_SIROMA_CARD_:MAX_STACK_0) and srcUser:HasBuffID(80002350_SIROMA_CARD_DEPOSITE_:MAX_STACK_0) then
SnowBeast = SnowBeast + 0.02
end
local A = ((MAtkFinal * MDefReduc * (1 - MDamReduc2) + MRefine) * (1 - RefineMDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2) + damChangePer1) * RuneDamage1 * taozhuang1 * GemDam * SnowBeast + BaseLvDamage
if A <= 1 then
return 1
end
if CommonFun.IsInRate(RuneRate, srcUser:GetRandom()) then
return A * RuneDamage, CommonFun.DamageType.Crit
end
return A
end
Raw
{
"CD": 5,
"id": 100050010,
"Desc": [
{
"id": 100050010,
"params": [
800
]
}
],
"Icon": "skill_74001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 38,
"damChangePer": 8,
"elementparam": 3,
"damChangePer1": 200
}
],
"DescId": "##171691",
"NameZh": "##169905",
"SE_hit": "Common/fist_hit_1-Common/fist_hit_2-Common/fist_hit_3-Common/fist_hit_4",
"CastAct": "reading",
"DamTime": {
"type": 1,
"value": 8
},
"Fire_EP": 3,
"SE_cast": "Common/Magic_cast",
"RollType": 2,
"AttackAct": [
"use_magic"
],
"Attack_EP": 3,
"Lead_Type": {
"CCT": 0.16,
"FCT": 0.64,
"type": 2
},
"SkillType": "Attack",
"Target_EP": 2,
"Launch_Range": 6
}