You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add support for Atziri's Communion support gem (#2303)
* Add support for Atziri's Communion support gem
Supports Persistent Skills by reserving Life instead of Spirit.
* Simplify calc and add test
* Fix ModCache test
* Fix alphabetical order
---------
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
Copy file name to clipboardExpand all lines: src/Data/ModCache.lua
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1387,7 +1387,6 @@ c["100% increased Thorns damage if you've consumed an Endurance Charge Recently"
1387
1387
c["100% increased amount of Life Leeched"]={{[1]={flags=0,keywordFlags=0,name="MaxLifeLeechRate",type="INC",value=100}},nil}
1388
1388
c["100% increased chance to Shock"]={{[1]={flags=0,keywordFlags=0,name="EnemyShockChance",type="INC",value=100}},nil}
1389
1389
c["100% increased effect of Socketed Augment Items"]={{[1]={flags=0,keywordFlags=0,name="SocketedAugmentItemEffect",type="INC",value=100}},nil}
1390
-
c["100% increased effect of Socketed Augment Items This item gains bonuses from Socketed Items as though it was a Body Armour"]={{[1]={flags=0,keywordFlags=0,name="SocketedAugmentItemEffect",type="INC",value=100}}," This item gains bonuses from Socketed Items as though it was a Body Armour "}
1391
1390
c["100% increased effect of Socketed Soul Cores"]={{[1]={flags=0,keywordFlags=0,name="SocketedSoulCoreEffect",type="INC",value=100}},nil}
1392
1391
c["100% increased maximum Divinity"]={{}," maximum Divinity "}
1393
1392
c["100% increased maximum Divinity 20% reduced maximum Divinity per Corrupted Item Equipped"]={{}," maximum Divinity 20% reduced maximum Divinity per Corrupted Item Equipped "}
description="Supports Persistent Skills, making them Reserve Life instead of Spirit. Cannot Support Skills which create Minions.",
700
+
color=3,
701
+
support=true,
702
+
requireSkillTypes= { SkillType.Persistent, },
703
+
addSkillTypes= { },
704
+
excludeSkillTypes= { SkillType.CreatesMinion, },
705
+
gemFamily= { "AtziriCommunionLineage",},
706
+
isLineage=true,
707
+
flavourText= {"The Red Communion was meant to transcend the limits", "of the soul, to transfigure the flesh, to bestow immortality.", "It accomplished all of these things... most horribly.", },
description="Supports Attacks and Warcries you use yourself. Freezing an enemy with Supported Skills infuses you and your allies with Cold damage for a short time. ",
ifactiveSkill.skillTypes[SkillType.IsBlasphemy] andactiveSkill.activeEffect.srcInstance.supportEffectandactiveSkill.activeEffect.srcInstance.supportEffect.isSupportingandactiveSkill.skillData["blasphemyReservationFlat" ..name] then
274
-
-- Sadly no better way to get key/val table element count in lua.
275
-
localinstances=0
276
-
for_inpairs(activeSkill.activeEffect.srcInstance.supportEffect.isSupporting) do
277
-
instances=instances+1
278
-
end
279
-
280
-
-- Extra reservation of blasphemy needs to be separated from the reservation caused by curses
0 commit comments