Skip to content

Commit ccd17aa

Browse files
author
Steve
committed
Fix Gemling Frost Wall Ice Crystal life
1 parent f5b9434 commit ccd17aa

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

spec/System/TestSkills_spec.lua

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,23 @@ describe("TestSkills", function()
8585
assert.are.equals(20, stats["alchemists_boon_cast_speed_granted_+%_during_mana_flask"])
8686
end)
8787

88+
it("applies Advanced Thaumaturgy quality to Frost Wall Ice Crystal life", function()
89+
build.skillsTab:PasteSocketGroup("Frost Wall 20/20 1")
90+
runCallback("OnFrame")
91+
92+
local socketGroup = build.skillsTab.socketGroupList[1]
93+
selectActiveSkillById(socketGroup, "FrostWallPlayer")
94+
local baseLife = build.calcsTab.mainOutput.IceCrystalLife
95+
96+
local advancedThaumaturgy = build.spec.nodes[14429]
97+
advancedThaumaturgy.alloc = true
98+
build.spec.allocNodes[advancedThaumaturgy.id] = advancedThaumaturgy
99+
build.buildFlag = true
100+
runCallback("OnFrame")
101+
102+
assert.are.equals(baseLife * 5, build.calcsTab.mainOutput.IceCrystalLife)
103+
end)
104+
88105
it("describes quality stats from secondary skill stat sets", function()
89106
local grantedEffect = data.skills["ExplosiveSpearPlayer"]
90107
local qualityStat = grantedEffect.qualityStats[1]

src/Data/SkillStatMap.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2855,6 +2855,9 @@ return {
28552855
["frost_wall_maximum_life"] = {
28562856
mod("IceCrystalLifeBase", "BASE", nil),
28572857
},
2858+
["ice_crystal_maximum_life_+%"] = {
2859+
mod("IceCrystalLife", "INC", nil),
2860+
},
28582861
-- Parry
28592862
["base_parry_buff_damage_taken_+%_final_to_apply"] = {
28602863
mod("DamageTaken", "MORE", nil, ModFlag.Attack, 0, { type = "GlobalEffect", effectType = "Debuff", effectName = "Parry Debuff", effectCond = "ParryActive" }, { type = "Condition", var = "Effective" }),

0 commit comments

Comments
 (0)