
Trial of Storm
Lvl: 10
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 220
Range: 8
Thor deals Wind P.DMG equal to P.ATK*4500% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Lvl: 9
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 208
Range: 8
• Thor deals Wind P.DMG equal to P.ATK*4200% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Lvl: 8
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 196
Range: 8
• Thor deals Wind P.DMG equal to P.ATK*3900% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Lvl: 7
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 184
Range: 8
• Thor deals Wind P.DMG equal to P.ATK*3600% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Lvl: 6
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 172
Range: 8
• Thor deals Wind P.DMG equal to P.ATK*3300% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Lvl: 5
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 160
Range: 8
• Thor deals Wind P.DMG equal to P.ATK*3000% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Lvl: 4
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 148
Range: 8
• Thor deals Wind P.DMG equal to P.ATK*2700% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Lvl: 3
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 136
Range: 8
• Thor deals Wind P.DMG equal to P.ATK*2400% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Lvl: 2
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 124
Range: 8
• Thor deals Wind P.DMG equal to P.ATK*2100% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Lvl: 1
Attack
Physical
CD: 15 sec
Skill Delay: 1.5 sec
SP: 112
Range: 8
• Thor deals Wind P.DMG equal to P.ATK*1800% once to up to 10 enemies within 12m. Deals 100% more DMG to enemies in Hiding and nullifies Hiding. They can't enter Hiding within 5s.
Formula
function CommonFun.calcDamage_70501(srcUser, targetUser, params, damageParam, logger)
local Str = srcUser:GetProperty("Str")
local Dex = srcUser:GetProperty("Dex")
local Luk = srcUser:GetProperty("Luk")
local Atk = srcUser:GetProperty("Atk")
local AtkPer = srcUser:GetProperty("AtkPer")
local DamIncrease = srcUser:GetProperty("DamIncrease")
local IgnoreDef = 0
local IgnoreDef1 = srcUser:GetProperty("IgnoreDef")
local IgnoreDef2 = srcUser:GetProperty("IgnoreEquipDef")
if targetUser.boss or targetUser.mini then
IgnoreDef = IgnoreDef1
else
IgnoreDef = IgnoreDef1 + IgnoreDef2
end
if 1 <= IgnoreDef then
IgnoreDef = 1
end
local Refine = srcUser:GetProperty("Refine")
local Def2 = targetUser:GetProperty("Def")
local DefPer2 = targetUser:GetProperty("DefPer")
local Vit2 = targetUser:GetProperty("Vit")
local VitPer2 = targetUser:GetProperty("VitPer")
local DamReduc2 = CommonFun.calcDamReDuc(srcUser, targetUser)
local RefineDamReduc = targetUser:GetProperty("RefineDamReduc")
local damChangePer = damageParam.damChangePer
local raceparam = CommonFun.CalcRaceParam(srcUser, targetUser, params, damageParam, logger)
local bodyparam = CommonFun.CalcBodyParam(srcUser, targetUser, params, damageParam, logger)
local elementparam = CommonFun.CalcElementParam(srcUser, targetUser, params, damageParam, logger)
local bossparam = CommonFun.CalcBossParam(srcUser, targetUser, params, damageParam, logger)
local raceparam2 = CommonFun.CalcRaceParam2(srcUser, targetUser, params, damageParam, logger)
local bodyparam2 = CommonFun.CalcBodyParam2(srcUser, targetUser, params, damageParam, logger)
local elementparam2 = CommonFun.CalcElementParam2(srcUser, targetUser, params, damageParam, logger)
local bossparam2 = CommonFun.CalcBossParam2(srcUser, targetUser, params, damageParam, logger)
local BaseAtk = Str * 2 + math.floor(Str * Str / 100) + math.floor(Dex / 5) + math.floor(Luk / 5)
local AtkFinal = ((Atk - BaseAtk) * (1 + AtkPer) * CommonFun.ShapeCorrection(srcUser, targetUser) * bodyparam * elementparam * elementparam2 + BaseAtk) * raceparam * bossparam * bossparam2
local DefReduc = CommonFun.CalcDef(srcUser, targetUser)
local LongRangeDamReduc2 = targetUser:GetProperty("LongRangeDamReduc")
local skillID, skillLevel = CommonFun.UnmergeSkillID(params.skillIDAndLevel)
if skillID == 2795_SAINT:TRIAL_OF_STORM then
local Hiding = targetUser:GetProperty("Hiding")
local Num = targetUser:GetBuffLayer(138361_ELECTRIC_CHARGE_COUNT_:MAX_STACK_5)
local GemValue = srcUser:GetGemValue(210101_EACH_ELECTRIC_CHARGE_ON_THE_TARGET_INCREASES_DMG_OF_TRIAL_OF_STORM_BY_PERCENTAGE)
damChangePer = damChangePer * (1 + Num * GemValue / 100000)
if Hiding == 1 then
damChangePer = damChangePer * 2
end
end
if skillID == 2805_SAINT:ULTRA_LIGHTNING then
local skilllv_cj = srcUser:GetLernedSkillLevel(2798_SAINT:ULTRA_LIGHTNING)
local GemValue = srcUser:GetGemValue(210121_ULTRA_LIGHTNING_DEALS_PERCENTAGE_MORE_DMG_WHEN_REMAINING_ON_THE_GROUND)
damChangePer = (skilllv_cj + 6) * (1 + GemValue / 100000)
end
local Quake = 1
if skillID == 2804_SAINT:MJOLNIR then
local skilllv_tx = srcUser:GetLernedSkillLevel(2791_SAINT:THOR_S_ARRIVAL)
damChangePer = skilllv_tx * 5
local RefineLv7 = srcUser:GetEquipedRefineLv(7_WEAPON)
if srcUser:HasBuffID(23030_23_:MAX_STACK_0) then
Quake = RefineLv7 * 0.01 + Quake
end
if srcUser:HasBuffID(23040_23_:MAX_STACK_0) then
Quake = RefineLv7 * 0.03 + Quake
end
end
local A = ((AtkFinal * DefReduc * (1 - DamReduc2) + Refine) * damChangePer * (1 - RefineDamReduc) * (1 + DamIncrease - LongRangeDamReduc2) - Vit2 * (1 + VitPer2)) * Quake
local skilllv_bwd = srcUser:GetLernedSkillLevel(2799_SAINT:POWER_FLUCTUATION)
local random_min = 50 + Luk / 10
local random_max = skilllv_bwd * 10 + 200 + Str / 10
local ratio = CommonFun.RandomRange(random_min, math.max(random_min, random_max), srcUser:GetRandom())
if 0 < skilllv_bwd then
A = A * ratio / 100
if 300 < ratio then
if srcUser.isServerCall then
srcUser:AddBuff(138301_POWER_FLUCTUATION_3X_:MAX_STACK_0, targetUser:GetGuid())
end
elseif 200 < ratio and srcUser.isServerCall then
srcUser:AddBuff(138300_POWER_FLUCTUATION_2X_:MAX_STACK_0, targetUser:GetGuid())
end
end
if A <= 1 then
return 1
end
return A
end
Enemy
{
"id": 138350,
"BuffName": "23",
"BuffRate": {
"Odds": 100
},
"Condition": {
"time": 1,
"type": "AfterTime"
},
"BuffEffect": {
"type": "Disperse",
"value": "Hide"
}
}
Enemy
{
"id": 138352,
"BuffDesc": "Can't enter Hiding state",
"BuffIcon": "skillbuff_2795001",
"BuffName": "23",
"BuffRate": {
"Odds": 100
},
"BuffType": {
"isgain": 0,
"isdisperse": 1
},
"IconType": 1,
"BuffEffect": {
"type": "AttrChange",
"AttrEffect2": [
21
]
},
"BuffStateID": 138352
}
Formula
{
"CD": 15,
"id": 2795010,
"Buff": {
"enemy": [
138350,
138352
]
},
"Cost": 1,
"Desc": [
{
"id": 2795000,
"params": [
4500
]
}
],
"Icon": "skill_2795001",
"Camps": "Enemy",
"Level": 10,
"Logic": "SkillSelfRange",
"Damage": [
{
"type": 70501,
"damChangePer": 45,
"elementparam": 1
}
],
"DescId": "##3352431",
"NameZh": "##3352354",
"SE_hit": "Skill/sfx_skill_thor_stormtrial_hit_01",
"DamTime": {
"type": 1,
"value": 3
},
"DelayCD": 1.5,
"Fire_EP": 3,
"Pvp_buff": {
"enemy": [
138350,
138352
]
},
"RollType": 1,
"SkillHit": 0.5,
"AttackAct": [
"use_skill"
],
"Attack_EP": 2,
"SE_attack": "Skill/sfx_skill_thor_stormtrial_attack_01",
"SkillCost": {
"sp": 220
},
"SkillType": "Attack",
"Target_EP": 2,
"DamageType": 1,
"Logic_Param": {
"range": 12,
"no_select": 1,
"range_num": 10,
"select_hide": 1,
"passive_fire": 1,
"buff_skill_effect": 1,
"fire_attackEffect": 1
},
"Launch_Range": 8,
"AttackEffects": [
{
"time": 0.8,
"type": 2,
"curve": 1,
"delay": 700,
"range": 0.1
}
],
"FashionAttackAct": "use_skill21"
}