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
Fix Prism of Belief not working with some Skill Gems (#1435)
Prism of Belief wasn't working with some skill gems as it was trying to match the GrantedEffect Id instead of the Gem Id in a few cases
If has 2 manual name overrides for Spectres and Companions
Prism of Belief also was generating variants for skills that came from the tree or only from item.
Technically it should be using the gem list in SkillGemForUniqueStat.dat but after correctly tagging all the gems that come from items, we only need to manually excluded 2 gems
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
description = "While active, the first time any Skill Hits a Shocked enemy in your Presence, that Skill also Hits other Shocked enemies in your Presence, up to a maximum.",
Copy file name to clipboardExpand all lines: src/Data/Skills/act_str.lua
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1264,6 +1264,7 @@ skills["BerserkPlayer"] = {
1264
1264
skills["BlackPowderBlitzReservationPlayer"] = {
1265
1265
name = "Black Powder Blitz",
1266
1266
baseTypeName = "Black Powder Blitz",
1267
+
fromItem = true,
1267
1268
color = 1,
1268
1269
description = "Replaces your dodge roll with an explosive-assisted leap, firing off a round from your prosthetic cannon leg that Blinds and Ignites enemies in the area you escape from. The explosion will cause any Grenades in its area of effect to also explode.",
description = "Grants your weapon Surges. Non-Melee Projectile Attacks with that weapon Consume Surges to cause the Projectiles fired to explode at the end of their flight.",
description = "While active, taking Lightning damage builds up charge on you. Reaching full charge expends all charge to Trigger this skill, creating a Chaining lightning bolt that arcs to nearby enemies.",
Copy file name to clipboardExpand all lines: src/Modules/ModParser.lua
+5-8Lines changed: 5 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -2070,14 +2070,11 @@ local function flag(name, ...)
2070
2070
return mod(name, "FLAG", true, ...)
2071
2071
end
2072
2072
2073
-
local gemIdLookup = {
2074
-
["power charge on critical hit"] = "SupportPowerChargeOnCritical",
2075
-
}
2076
-
for name, grantedEffect in pairs(data.skills) do
2077
-
if not grantedEffect.hidden or grantedEffect.fromItem or grantedEffect.fromTree then
2078
-
local gemName = grantedEffect.baseTypeName and grantedEffect.baseTypeName:lower() or grantedEffect.name:lower()
2079
-
gemIdLookup[gemName] = grantedEffect.id
2080
-
end
2073
+
local gemIdLookup = { }
2074
+
for gemId, gemData in pairs(data.gems) do
2075
+
local grantedEffect = gemData.grantedEffect
2076
+
local gemName = (grantedEffect.fromItem or grantedEffect.fromTree) and grantedEffect.baseTypeName and grantedEffect.baseTypeName:lower() or gemData.name:lower()
2077
+
gemIdLookup[gemName] = grantedEffect.id
2081
2078
end
2082
2079
local function grantedExtraSkill(name, level, noSupports)
0 commit comments