Skip to content

Commit 96496dd

Browse files
author
LocalIdentity
committed
Better fix
1 parent c14a1cd commit 96496dd

4 files changed

Lines changed: 43 additions & 7 deletions

File tree

src/Classes/GemSelectControl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function GemSelectClass:PopulateGemList()
109109
local characterLevel = self.skillsTab.build and self.skillsTab.build.characterLevel or 1
110110

111111
for gemId, gemData in pairs(self.skillsTab.build.data.gems) do
112-
if (self.sortGemsBy and gemData.tags[self.sortGemsBy] == true or not self.sortGemsBy) then
112+
if not gemData.grantedEffect.fromItem and (self.sortGemsBy and gemData.tags[self.sortGemsBy] == true or not self.sortGemsBy) then
113113
local levelRequirement = gemData.grantedEffect.levels[1].levelRequirement or 1
114114
if characterLevel >= levelRequirement or not matchLevel then
115115
if self.imbuedSelect then

src/Data/Gems.lua

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12836,6 +12836,26 @@ return {
1283612836
reqInt = 40,
1283712837
naturalMaxLevel = 20,
1283812838
},
12839+
["Metadata/Items/Gems/SkillGemSupportEarthbreaker"] = {
12840+
name = "Earthbreaker",
12841+
gameId = "Metadata/Items/Gems/SupportGemEarthbreaker",
12842+
variantId = "SupportEarthbreaker",
12843+
grantedEffectId = "SupportEarthbreaker",
12844+
tags = {
12845+
attack = true,
12846+
melee = true,
12847+
slam = true,
12848+
area = true,
12849+
strength = true,
12850+
support = true,
12851+
totem = true,
12852+
},
12853+
tagString = "Attack, Melee, Slam, AoE, Support, Totem",
12854+
reqStr = 100,
12855+
reqDex = 0,
12856+
reqInt = 0,
12857+
naturalMaxLevel = 20,
12858+
},
1283912859
["Metadata/Items/Gems/SkillGemAbsolution"] = {
1284012860
name = "Absolution",
1284112861
baseTypeName = "Absolution",
@@ -13621,6 +13641,24 @@ return {
1362113641
reqInt = 60,
1362213642
naturalMaxLevel = 20,
1362313643
},
13644+
["Metadata/Items/Gems/SkillGemSupportDivineBlessing"] = {
13645+
name = "Divine Blessing",
13646+
gameId = "Metadata/Items/Gems/SupportGemDivineBlessing",
13647+
variantId = "SupportDivineBlessing",
13648+
grantedEffectId = "SupportDivineBlessing",
13649+
tags = {
13650+
strength = true,
13651+
support = true,
13652+
aura = true,
13653+
duration = true,
13654+
blessing = true,
13655+
},
13656+
tagString = "Support, Aura, Duration, Blessing",
13657+
reqStr = 60,
13658+
reqDex = 0,
13659+
reqInt = 40,
13660+
naturalMaxLevel = 20,
13661+
},
1362413662
["Metadata/Items/Gems/SkillGemSupportMarkOnHit"] = {
1362513663
name = "Mark On Hit",
1362613664
gameId = "Metadata/Items/Gems/SupportGemMarkOnHit",

src/Data/Skills/other.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1203,8 +1203,8 @@ skills["GemDetonateMines"] = {
12031203
},
12041204
}
12051205
skills["SupportDivineBlessing"] = {
1206-
name = "SupportDivineBlessing",
1207-
hidden = true,
1206+
name = "Divine Blessing",
1207+
description = "Supports aura skills that create permanent auras around you, changing their reservation to a cost and making them temporary. Cannot support banner or stance skills.",
12081208
color = 1,
12091209
support = true,
12101210
requireSkillTypes = { SkillType.CanHaveBlessing, },
@@ -1376,8 +1376,8 @@ skills["ElementalAegis"] = {
13761376
},
13771377
}
13781378
skills["SupportEarthbreaker"] = {
1379-
name = "SupportEarthbreaker",
1380-
hidden = true,
1379+
name = "Earthbreaker",
1380+
description = "Supports slam skills, causing them to summon an ancestor totem that uses the skill for you while you're near it. Being near it grants you increased area of effect for melee skills.",
13811381
color = 1,
13821382
support = true,
13831383
requireSkillTypes = { SkillType.Slam, SkillType.Totemable, SkillType.AND, },

src/Export/Skills/other.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,6 @@ local skills, mod, flag, skill = ...
388388
#flags spell
389389
#mods
390390

391-
#noGem
392391
#skill SupportDivineBlessing
393392
fromItem = true,
394393
statMap = {
@@ -415,7 +414,6 @@ local skills, mod, flag, skill = ...
415414
},
416415
#mods
417416

418-
#noGem
419417
#skill SupportEarthbreaker
420418
fromItem = true,
421419
addFlags = {

0 commit comments

Comments
 (0)