Skip to content

Commit b2654f7

Browse files
LocalIdentityLocalIdentity
andauthored
Fix Infused Spark Cast time (#2361)
We were adding the 0.5s cast time as a total time mod instead of adding to the base 0.7s cast time Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent f532296 commit b2654f7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Data/SkillStatMap.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2272,7 +2272,7 @@ return {
22722272
div = 1000,
22732273
},
22742274
["base_spell_cast_time_ms"] = {
2275-
mod("TotalCastTime", "BASE", nil),
2275+
mod("Speed", "BASE", nil, ModFlag.Cast),
22762276
div = 1000,
22772277
},
22782278
["active_skill_cast_speed_+%_final"] = {

src/Modules/CalcOffence.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2743,7 +2743,7 @@ function calcs.offence(env, actor, activeSkill)
27432743
baseTime = 1 / ( source.AttackRate or 1 ) + skillModList:Sum("BASE", cfg, "Speed")
27442744
end
27452745
else
2746-
baseTime = skillData.castTimeOverride or activeSkill.activeEffect.grantedEffect.castTime or 1
2746+
baseTime = (skillData.castTimeOverride or activeSkill.activeEffect.grantedEffect.castTime or 1) + skillModList:Sum("BASE", cfg, "Speed")
27472747
end
27482748
local more = skillModList:More(cfg, "Speed")
27492749
output.Repeats = globalOutput.Repeats or 1

0 commit comments

Comments
 (0)