Skip to content
Merged
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
7 changes: 3 additions & 4 deletions src/Data/ModCache.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,7 @@ c["15% reduced Cold Damage"]={{[1]={flags=0,keywordFlags=0,name="ColdDamage",typ
c["15% reduced Duration of Ailments on You"]={{[1]={flags=0,keywordFlags=0,name="SelfAilmentDuration",type="INC",value=-15}},nil}
c["15% reduced Energy Shield Recharge Rate"]={{[1]={flags=0,keywordFlags=0,name="EnergyShieldRecharge",type="INC",value=-15}},nil}
c["15% reduced Flask Charges used"]={{[1]={flags=0,keywordFlags=0,name="FlaskChargesUsed",type="INC",value=-15}},nil}
c["15% reduced Grenade Detonation Time"]={{}," Detonation Time "}
c["15% reduced Grenade Detonation Time"]={{[1]={[1]={skillType=158,type="SkillType"},flags=0,keywordFlags=0,name="DetonationTime",type="INC",value=-15}},nil}
c["15% reduced Magnitude of Ignite on you"]={{[1]={flags=0,keywordFlags=0,name="SelfIgniteEffect",type="INC",value=-15}},nil}
c["15% reduced Movement Speed Penalty while Actively Blocking"]={{[1]={flags=0,keywordFlags=0,name="MovementSpeed",type="INC",value=-15}}," Penalty ly Blocking "}
c["15% reduced Presence Area of Effect"]={{[1]={flags=0,keywordFlags=0,name="PresenceArea",type="INC",value=-15}},nil}
Expand Down Expand Up @@ -2133,7 +2133,7 @@ c["25% reduced Flask Life Recovery rate"]={{[1]={flags=0,keywordFlags=0,name="Fl
c["25% reduced Flask Mana Recovery rate"]={{[1]={flags=0,keywordFlags=0,name="FlaskManaRecoveryRate",type="INC",value=-25}},nil}
c["25% reduced Freeze Duration on you"]={{[1]={flags=0,keywordFlags=0,name="SelfFreezeDuration",type="INC",value=-25}},nil}
c["25% reduced Global Defences"]={{[1]={[1]={type="Global"},flags=0,keywordFlags=0,name="Defences",type="INC",value=-25}},nil}
c["25% reduced Grenade Detonation Time"]={{}," Detonation Time "}
c["25% reduced Grenade Detonation Time"]={{[1]={[1]={skillType=158,type="SkillType"},flags=0,keywordFlags=0,name="DetonationTime",type="INC",value=-25}},nil}
c["25% reduced Ignite Duration on you"]={{[1]={flags=0,keywordFlags=0,name="SelfIgniteDuration",type="INC",value=-25}},nil}
c["25% reduced Light Radius"]={{[1]={flags=0,keywordFlags=0,name="LightRadius",type="INC",value=-25}},nil}
c["25% reduced Mana Regeneration Rate while stationary"]={{[1]={[1]={type="Condition",var="Stationary"},flags=0,keywordFlags=0,name="ManaRegen",type="INC",value=-25}},nil}
Expand Down Expand Up @@ -2792,8 +2792,7 @@ c["50% increased Flask Mana Recovery rate"]={{[1]={flags=0,keywordFlags=0,name="
c["50% increased Freeze Buildup"]={{}," Freeze Buildup "}
c["50% increased Freeze Buildup 30% increased Chill Duration on Enemies"]={{[1]={flags=0,keywordFlags=0,name="EnemyChillDuration",type="INC",value=50}}," Freeze Buildup 30% increased "}
c["50% increased Freeze Buildup 30% increased Magnitude of Chill you inflict"]={{[1]={flags=0,keywordFlags=0,name="EnemyChillMagnitude",type="INC",value=50}}," Freeze Buildup 30% increased "}
c["50% increased Grenade Detonation Time"]={{}," Detonation Time "}
c["50% increased Grenade Detonation Time Grenade Skills Fire an additional Projectile"]={{[1]={[1]={skillType=158,type="SkillType"},flags=0,keywordFlags=0,name="ProjectileCount",type="INC",value=50}}," Detonation Time Grenade Skills Fire an additional "}
c["50% increased Grenade Detonation Time"]={{[1]={[1]={skillType=158,type="SkillType"},flags=0,keywordFlags=0,name="DetonationTime",type="INC",value=50}},nil}
c["50% increased Hazard Area of Effect"]={{[1]={[1]={skillType=203,type="SkillType"},flags=0,keywordFlags=0,name="AreaOfEffect",type="INC",value=50}},nil}
c["50% increased Ignite Magnitude"]={{[1]={flags=0,keywordFlags=8388608,name="AilmentMagnitude",type="INC",value=50}},nil}
c["50% increased Immobilisation buildup against Constructs"]={{}," Immobilisation buildup against Constructs "}
Expand Down
7 changes: 7 additions & 0 deletions src/Data/SkillStatMap.lua
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,13 @@ return {
["base_bleed_duration_+%"] = {
mod("EnemyBleedDuration", "INC", nil),
},
["base_skill_detonation_time"] = {
mod("DetonationTime", "BASE", nil),
div = 1000,
},
["skill_detonation_time_+%"] = {
mod("DetonationTime", "INC", nil),
},
-- Damage
["damage_+%"] = {
mod("Damage", "INC", nil),
Expand Down
8 changes: 8 additions & 0 deletions src/Data/Skills/sup_str.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5718,6 +5718,11 @@ skills["SupportShortFusePlayer"] = {
label = "Short Fuse I",
incrementalEffectiveness = 0.054999999701977,
statDescriptionScope = "gem_stat_descriptions",
statMap = {
["support_fast_forward_detonation_time_+%_final"] = {
mod("DetonationTime", "MORE", nil),
},
},
baseFlags = {
},
constantStats = {
Expand Down Expand Up @@ -5749,6 +5754,9 @@ skills["SupportShortFusePlayerTwo"] = {
incrementalEffectiveness = 0.054999999701977,
statDescriptionScope = "gem_stat_descriptions",
statMap = {
["support_fast_forward_detonation_time_+%_final"] = {
mod("DetonationTime", "MORE", nil),
},
["support_short_fuse_damage_+%_final"] = {
mod("Damage", "MORE", nil),
},
Expand Down
8 changes: 8 additions & 0 deletions src/Export/Skills/sup_str.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1299,12 +1299,20 @@ statMap = {

#skill SupportShortFusePlayer
#set SupportShortFusePlayer
statMap = {
["support_fast_forward_detonation_time_+%_final"] = {
mod("DetonationTime", "MORE", nil),
},
},
#mods
#skillEnd

#skill SupportShortFusePlayerTwo
#set SupportShortFusePlayerTwo
statMap = {
["support_fast_forward_detonation_time_+%_final"] = {
mod("DetonationTime", "MORE", nil),
},
["support_short_fuse_damage_+%_final"] = {
mod("Damage", "MORE", nil),
},
Expand Down
15 changes: 15 additions & 0 deletions src/Modules/CalcOffence.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1817,6 +1817,21 @@ function calcs.offence(env, actor, activeSkill)
end
end

if activeSkill.skillTypes[SkillType.DetonatesAfterTime] then
local base = activeSkill.skillModList:Sum("BASE", skillCfg, "DetonationTime")
local inc, more = calcLib.mods(skillModList, skillCfg, "DetonationTime")
output.DetonationTime = base * inc * more
if breakdown then
breakdown.DetonationTime = { }
breakdown.multiChain(breakdown.DetonationTime, {
base = { "%.2fs ^8(base)", base },
{ "%.2f ^8(increased/reduced detonation time)", inc },
{ "%.2f ^8(more/less detonation time)", more },
total = s_format("= %.2fs", output.DetonationTime),
})
end
end

-- Calculate costs (may be slightly off due to rounding differences)
local costs = {
["Mana"] = { type = "Mana", upfront = true, percent = false, text = "mana", baseCost = 0, baseCostRaw = 0, totalCost = 0, baseCostNoMult = 0, finalBaseCost = 0 },
Expand Down
1 change: 1 addition & 0 deletions src/Modules/CalcSections.lua
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ return {
{ label = "Aura Uptime", haveOutput = "AuraDurationUptime", { format = "{2:output:AuraDurationUptime}%", { breakdown = "AuraDurationUptime" }, }, },
{ label = "Reserve Uptime", haveOutput = "ReserveDurationUptime", { format = "{2:output:ReserveDurationUptime}%", { breakdown = "ReserveDurationUptime" }, }, },
{ label = "Sustainable Trauma", haveOutput = "SustainableTrauma", { format = "{0:output:SustainableTrauma}", { breakdown = "SustainableTrauma" }, { modName = { "ExtraTrauma", "RepeatCount", "Duration", "PrimaryDuration", "SecondaryDuration", "DamagingAilmentDuration"}, cfg = "skill" }, }, },
{ label = "Detonation Time", haveOutput = "DetonationTime", { format = "{3:output:DetonationTime}s", { breakdown = "DetonationTime" }, { modName = { "DetonationTime" }, cfg = "skill" } }},
{ label = "Repeat Count", haveOutput = "RepeatCount", { format = "{output:Repeats}", { modName = { "RepeatCount" }, cfg = "skill" }, }, },
{ label = "Projectile Count", flag = "projectile", { format = "{output:ProjectileCount}", { modName = { "NoAdditionalProjectiles" , "ProjectileCount" }, cfg = "skill" }, }, },
{ label = "2 Add. Proj. Chance", haveOutput = "TwoAdditionalProjectiles", { format = "{output:TwoAdditionalProjectiles}%", { modName = { "TwoAdditionalProjectilesChance", "NoAdditionalProjectiles" }, cfg = "skill" }, }, },
Expand Down
2 changes: 2 additions & 0 deletions src/Modules/ModParser.lua
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ local modNameList = {
["duration"] = "Duration",
["skill effect duration"] = "Duration",
["fuse duration"] = "Duration",
["detonation time"] = "DetonationTime",
["grenade detonation time"] = { "DetonationTime", tag = { type = "SkillType", skillType = SkillType.Grenade } },
["chaos skill effect duration"] = { "Duration", keywordFlags = KeywordFlag.Chaos },
["soul gain prevention duration"] = "SoulGainPreventionDuration",
["aspect of the spider debuff duration"] = { "Duration", tag = { type = "SkillName", skillName = "Aspect of the Spider" } },
Expand Down