
Varetyr Spear
Lvl: 20
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 210
Range: 6
Cast Time: 8
Fixed Cast Time: 0.2
Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *1310%. All opponents that receive damage have a 30% chance of being stunned for 2 sec
Lvl: 19
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 200
Range: 6
Cast Time: 8
Fixed Cast Time: 0.3
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *1250%. All opponents that receive damage have a 29% chance of being stunned for 2 sec
Lvl: 18
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 190
Range: 6
Cast Time: 8
Fixed Cast Time: 0.4
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *1190%. All opponents that receive damage have a 28% chance of being stunned for 2 sec
Lvl: 17
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 180
Range: 6
Cast Time: 8
Fixed Cast Time: 0.5
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *1130%. All opponents that receive damage have a 27% chance of being stunned for 2 sec
Lvl: 16
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 170
Range: 6
Cast Time: 8
Fixed Cast Time: 0.6
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *1070%. All opponents that receive damage have a 26% chance of being stunned for 2 sec
Lvl: 15
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 160
Range: 6
Cast Time: 8
Fixed Cast Time: 0.7
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *1010%. All opponents that receive damage have a 25% chance of being stunned for 2 sec
Lvl: 14
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 150
Range: 6
Cast Time: 7
Fixed Cast Time: 0.8
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *950%. All opponents that receive damage have a 24% chance of being stunned for 2 sec
Lvl: 13
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 140
Range: 6
Cast Time: 6
Fixed Cast Time: 0.9
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *890%. All opponents that receive damage have a 23% chance of being stunned for 2 sec
Lvl: 12
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 130
Range: 6
Cast Time: 5
Fixed Cast Time: 1
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *830%. All opponents that receive damage have a 22% chance of being stunned for 2 sec
Lvl: 11
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 120
Range: 6
Cast Time: 4
Fixed Cast Time: 1.1
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *770%. All opponents that receive damage have a 21% chance of being stunned for 2 sec
Lvl: 10
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 110
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *710%. All opponents that receive damage have a 20% chance of being stunned for 2 sec
Lvl: 9
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 104
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *660%. All opponents that receive damage have a 19% chance of being stunned for 2 sec
Lvl: 8
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 98
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *610%. All opponents that receive damage have a 18% chance of being stunned for 2 sec
Lvl: 7
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 92
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *560%. All opponents that receive damage have a 17% chance of being stunned for 2 sec
Lvl: 6
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 86
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *510%. All opponents that receive damage have a 16% chance of being stunned for 2 sec
Lvl: 5
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 80
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *460%. All opponents that receive damage have a 15% chance of being stunned for 2 sec
Lvl: 4
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 74
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *410%. All opponents that receive damage have a 14% chance of being stunned for 2 sec
Lvl: 3
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 68
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *360%. All opponents that receive damage have a 13% chance of being stunned for 2 sec
Lvl: 2
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 62
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *310%. All opponents that receive damage have a 12% chance of being stunned for 2 sec
Lvl: 1
Attack
Magic
CD: 1.5 sec
Skill Delay: 2.2 sec
SP: 56
Range: 6
Cast Time: 3
Fixed Cast Time: 1.2
• Summons a Giant Lighting Lance that falls from the heavens,inflicting two lots of damage: Wind Physical Damage and M.Dmg equivalent to M.Atk *260%. All opponents that receive damage have a 11% chance of being stunned for 2 sec
Aesir
• Varetyr Spear - Mastery [Varetyr Spear] Cast Delay -0.25 sec
• Varetyr Spear - Empower [Varetyr Spear] M.Dmg +8%
• Varetyr Spear - Suppress [Varetyr Spear] inflicts an extra 20% damage on frozen enemies
Formula
function CommonFun.calcDamage_8203(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 MRefine = srcUser:GetProperty("MRefine")
local RangeDam = srcUser:GetProperty("RangeDam")
local srcAtkElement = CommonFun.GetUserAtkAttr(srcUser, targetUser, 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 BaseMAtk = Int + math.floor(Int * Int / 100)
local MAtkFinal = ((MAtk - BaseMAtk) * (1 + MAtkPer) + BaseMAtk) * raceparam * bossparam * bossparam2
local MDefReduc = CommonFun.CalcMDef(srcUser, targetUser)
local Num_shand = srcUser:GetRunePoint(82028_AESIR_VARETYR_SPEAR_M_DMG_8)
local RuneDamage = 1 + Num_shand * 0.08
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)) * RuneDamage
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
local B = (MAtkFinal * DefReduc * (1 - DamReduc2) + MRefine) * (1 - RefineDamReduc) * damChangePer * (1 + MDamIncrease) * CommonFun.calcMagicElement(srcUser, targetUser, params, damageParam) * elementparam2 - Vit2 / 2 * (1 + VitPer2) - Int2 * (1 + IntPer2)
local skilllv_ele = srcUser:GetLernedSkillLevel(1333_ASSASSIN:SUMMON_ELEMENTAL)
local ElementNpc = srcUser:getCurElementElfID()
local elementRatio = 1
if ElementNpc == 580040 then
elementRatio = 1 + skilllv_ele * 0.01
end
local StateEffect = targetUser:GetProperty("StateEffect")
local bits2 = CommonFun.getBits(StateEffect)
local Num_yaz = srcUser:GetRunePoint(82029_AESIR_VARETYR_SPEAR_INFLICTS_AN_EXTRA_20_DAMAGE_ON_FROZEN_ENEMIES)
local RuneDamage2 = 1
local GemValue1 = srcUser:GetGemValue(82031_LIGHTNING_GUN_DMG_PERCENTAGE)
local GemDam = 1 + GemValue1 / 100000
if bits2[CommonFun.StateEffect.Freeze] == 1 then
local GemValue2 = srcUser:GetGemValue(82032_LIGHTNING_GUN_DEALS_DMG_PERCENTAGE_TO_ENEMIES_UNDER_FROZEN_STATUS)
RuneDamage2 = 1 + Num_yaz * 0.2 + GemValue2 / 100000
end
local C = (A + B) * elementRatio * RuneDamage2 * GemDam
if C <= 1 then
return 1
end
return C
end
Enemy
{
"id": 118320,
"BuffDesc": "Stun: disable movement, stop restoring mana",
"BuffIcon": "skillbuff_181001",
"BuffName": "Varetyr Spear [Stun]",
"BuffRate": {
"Odds": {
"a": 1,
"b": 10,
"type": 130
}
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "StatusChange",
"NoAct": 1,
"AttrEffect": [
3,
4
],
"StateEffect": "4_Dizzy"
},
"BuffStateID": 80010
}
Formula
{
"CD": 1.5,
"id": 1329020,
"Buff": {
"enemy": [
118320
]
},
"Cost": 1,
"Desc": [
{
"id": 1329000,
"params": [
1310,
30
]
}
],
"Icon": "skill_1329001",
"Camps": "Enemy",
"Level": 20,
"Logic": "SkillLockedTarget",
"Damage": [
{
"type": 8203,
"damChangePer": 13.1,
"elementparam": 1
}
],
"DescId": "##170385",
"NameZh": "##170091",
"SE_hit": "Skill/skill_magic_lightningspear_hit",
"CastAct": "reading",
"DamTime": {
"type": 1,
"value": 2
},
"DelayCD": 2.2,
"Fire_EP": 3,
"SE_cast": "Common/Magic_cast",
"Pvp_buff": {
"enemy": [
118320
]
},
"RollType": 2,
"AttackAct": [
"use_skill"
],
"Attack_EP": 3,
"Lead_Type": {
"CCT": 0.2,
"FCT": 8,
"type": 2
},
"SE_attack": "Skill/EleVortexnew_attack",
"SkillCost": {
"sp": 210
},
"SkillType": "Attack",
"Target_EP": 0,
"DamageType": 2,
"Logic_Param": {
"range": 3,
"range_num": 8
},
"Launch_Range": 6
}