Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion src/Data/Skills/act_int.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17706,7 +17706,10 @@ skills["StormBurst"] = {
},
{
name = "Max Channelled Orbs"
}
},
{
name = "Max Duration Explode"
},
},
preDamageFunc = function(activeSkill, output)
if activeSkill.skillPart == 2 then
Expand All @@ -17715,6 +17718,10 @@ skills["StormBurst"] = {
local jumpPeriod = activeSkill.skillData.repeatFrequency * 10
-- additional 1 tick upon spawn of orb
activeSkill.skillData.dpsMultiplier = (activeSkill.skillData.dpsMultiplier or 1) * (1 + math.floor(duration * 10 / jumpPeriod))
elseif activeSkill.skillPart == 3 then
local remainingJumps = math.floor((activeSkill.skillData.duration * output.DurationMod + 0.001) / activeSkill.skillData.repeatFrequency)
-- Tested in-game and the skill grants more damage only after you have at least 0.8s duration
activeSkill.skillModList:NewMod("Damage", "MORE", math.max(activeSkill.skillData.remainingDurationDamage * remainingJumps - 100, 0), "Skill:StormBurst")
end
end,
statMap = {
Expand All @@ -17723,6 +17730,7 @@ skills["StormBurst"] = {
div = 1000,
},
["storm_burst_new_damage_+%_final_per_remaining_teleport_zap"] = {
skill("remainingDurationDamage", nil),
},
},
baseFlags = {
Expand Down
10 changes: 9 additions & 1 deletion src/Export/Skills/act_int.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3832,7 +3832,10 @@ local skills, mod, flag, skill = ...
},
{
name = "Max Channelled Orbs"
}
},
{
name = "Max Duration Explode"
},
},
preDamageFunc = function(activeSkill, output)
if activeSkill.skillPart == 2 then
Expand All @@ -3841,6 +3844,10 @@ local skills, mod, flag, skill = ...
local jumpPeriod = activeSkill.skillData.repeatFrequency * 10
-- additional 1 tick upon spawn of orb
activeSkill.skillData.dpsMultiplier = (activeSkill.skillData.dpsMultiplier or 1) * (1 + math.floor(duration * 10 / jumpPeriod))
elseif activeSkill.skillPart == 3 then
local remainingJumps = math.floor((activeSkill.skillData.duration * output.DurationMod + 0.001) / activeSkill.skillData.repeatFrequency)
-- Tested in-game and the skill grants more damage only after you have at least 0.8s duration
activeSkill.skillModList:NewMod("Damage", "MORE", math.max(activeSkill.skillData.remainingDurationDamage * remainingJumps - 100, 0), "Skill:StormBurst")
end
end,
statMap = {
Expand All @@ -3849,6 +3856,7 @@ local skills, mod, flag, skill = ...
div = 1000,
},
["storm_burst_new_damage_+%_final_per_remaining_teleport_zap"] = {
skill("remainingDurationDamage", nil),
},
},
#baseMod skill("radius", 16)
Expand Down