Skip to content

Commit 61cd602

Browse files
EuceliaLocalIdentity
andauthored
Adds gloves not importing when using Way of the Stonefist (#2072)
* Adds Fists of Stone base and fixes mod parsing" * adjust type * Fix base export * Remove blank parse The mod is not supported and this parsing could also match other mods in the future that would be undesired --------- Co-authored-by: Eucelia <Eucelia@users.noreply.github.com> Co-authored-by: LocalIdentity <localidentity2@gmail.com>
1 parent 6751730 commit 61cd602

3 files changed

Lines changed: 29 additions & 0 deletions

File tree

src/Data/Bases/gloves.lua

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1981,3 +1981,26 @@ itemBases["Runemastered Grand Manchettes"] = {
19811981
}
19821982

19831983

1984+
itemBases["Fists of Stone"] = {
1985+
type = "Gloves",
1986+
quality = 20,
1987+
hidden = true,
1988+
socketLimit = 3,
1989+
tags = { armour = true, default = true, dex_int_armour = true, gloves = true, },
1990+
implicit = "Has +3 to Evasion Rating per player level\nHas +1 to maximum Energy Shield per player level",
1991+
implicitModTypes = { { }, { }, },
1992+
armour = { },
1993+
req = { },
1994+
}
1995+
itemBases["Runeforged Fists of Stone"] = {
1996+
type = "Gloves",
1997+
quality = 20,
1998+
hidden = true,
1999+
socketLimit = 3,
2000+
tags = { armour = true, default = true, dex_int_armour = true, gloves = true, runeforged = true, },
2001+
implicit = "Has +2 to Evasion Rating per player level\nHas +1 to maximum Energy Shield per player level\nHas +1 to maximum Runic Ward per player level",
2002+
implicitModTypes = { { }, { }, { }, },
2003+
armour = { },
2004+
req = { },
2005+
}
2006+

src/Export/Bases/gloves.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,8 @@ local itemBases = ...
2828
#subType
2929
#baseMatch BaseType Metadata/Items/Armours/Gloves/GlovesDemigods1
3030

31+
#subType
32+
#forceHide true
33+
#baseMatch Metadata/Items/Armours/Gloves/FourGlovesDexIntAscendancy
34+
#forceHide false
35+

src/Modules/ModParser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1453,6 +1453,7 @@ local modTagList = {
14531453
["per mana burn on you"] = { tag = { type = "Multiplier", var = "ManaBurnStacks" } },
14541454
["per mana burn, up to a maximum of (%d+)%%"] = function(num) return { tag = { type = "Multiplier", var = "ManaBurnStacks", limit = tonumber(num), limitTotal = true } } end,
14551455
["per level"] = { tag = { type = "Multiplier", var = "Level" } },
1456+
["per player level"] = { tag = { type = "Multiplier", var = "Level" } },
14561457
["per (%d+) player levels"] = function(num) return { tag = { type = "Multiplier", var = "Level", div = num } } end,
14571458
["per defiance"] = { tag = { type = "Multiplier", var = "Defiance" } },
14581459
["per (%d+)%% (%a+) effect on enemy"] = function(num, _, effectName) return { tag = { type = "Multiplier", var = firstToUpper(effectName) .. "Effect", div = num, actor = "enemy" } } end,

0 commit comments

Comments
 (0)