Skip to content

Commit def8e10

Browse files
author
LocalIdentity
committed
Accuracy node parsing
1 parent 7e9a113 commit def8e10

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Data/ModCache.lua

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3250,7 +3250,7 @@ c["15% increased Accuracy Rating with Two Handed Melee Weapons"]={{[1]={flags=60
32503250
c["15% increased Area Damage"]={{[1]={flags=512,keywordFlags=0,name="Damage",type="INC",value=15}},nil}
32513251
c["15% increased Area of Effect"]={{[1]={flags=0,keywordFlags=0,name="AreaOfEffect",type="INC",value=15}},nil}
32523252
c["15% increased Area of Effect during Effect"]={{[1]={[1]={type="Condition",var="UsingFlask"},flags=0,keywordFlags=0,name="AreaOfEffect",type="INC",value=15}},nil}
3253-
c["15% increased Area of Effect for Attacks while you have at least 1 nearby Ally"]={{[1]={flags=1,keywordFlags=0,name="AreaOfEffect",type="INC",value=15}}," while you have at least 1 nearby Ally "}
3253+
c["15% increased Area of Effect for Attacks while you have at least 1 nearby Ally"]={{[1]={[1]={threshold=1,type="MultiplierThreshold",var="NearbyAlly"},flags=1,keywordFlags=0,name="AreaOfEffect",type="INC",value=15}},nil}
32543254
c["15% increased Area of Effect for Skills used by Totems"]={{[1]={flags=0,keywordFlags=16384,name="AreaOfEffect",type="INC",value=15}},nil}
32553255
c["15% increased Area of Effect if you have Stunned an Enemy Recently"]={{[1]={[1]={type="Condition",var="StunnedEnemyRecently"},flags=0,keywordFlags=0,name="AreaOfEffect",type="INC",value=15}},nil}
32563256
c["15% increased Area of Effect if you've Killed Recently"]={{[1]={[1]={type="Condition",var="KilledRecently"},flags=0,keywordFlags=0,name="AreaOfEffect",type="INC",value=15}},nil}
@@ -5339,8 +5339,7 @@ c["40% increased Fire Damage"]={{[1]={flags=0,keywordFlags=0,name="FireDamage",t
53395339
c["40% increased Fire Damage with Hits and Ailments against Blinded Enemies"]={{[1]={[1]={actor="enemy",type="ActorCondition",var="Blinded"},flags=0,keywordFlags=786432,name="FireDamage",type="INC",value=40}},nil}
53405340
c["40% increased Fortification Duration"]={{[1]={flags=0,keywordFlags=0,name="FortifyDuration",type="INC",value=40}},nil}
53415341
c["40% increased Global Accuracy Rating"]={{[1]={[1]={type="Global"},flags=0,keywordFlags=0,name="Accuracy",type="INC",value=40}},nil}
5342-
c["40% increased Global Accuracy Rating while you have at least 1 nearby Ally"]={{[1]={[1]={type="Global"},flags=0,keywordFlags=0,name="Accuracy",type="INC",value=40}}," while you have at least 1 nearby Ally "}
5343-
c["40% increased Global Accuracy Rating while you have at least 1 nearby Ally 15% increased Area of Effect for Attacks while you have at least 1 nearby Ally"]={{[1]={[1]={type="Global"},flags=0,keywordFlags=0,name="Accuracy",type="INC",value=40}}," while you have at least 1 nearby Ally 15% increased Area of Effect for Attacks while you have at least 1 nearby Ally "}
5342+
c["40% increased Global Accuracy Rating while you have at least 1 nearby Ally"]={{[1]={[1]={type="Global"},[2]={threshold=1,type="MultiplierThreshold",var="NearbyAlly"},flags=0,keywordFlags=0,name="Accuracy",type="INC",value=40}},nil}
53445343
c["40% increased Global Critical Strike Chance"]={{[1]={[1]={type="Global"},flags=0,keywordFlags=0,name="CritChance",type="INC",value=40}},nil}
53455344
c["40% increased Global Critical Strike Chance while wielding a Staff"]={{[1]={[1]={type="Global"},[2]={type="Condition",var="UsingStaff"},flags=0,keywordFlags=0,name="CritChance",type="INC",value=40}},nil}
53465345
c["40% increased Global Defences"]={{[1]={[1]={type="Global"},flags=0,keywordFlags=0,name="Defences",type="INC",value=40}},nil}

src/Modules/ModParser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1487,6 +1487,7 @@ local modTagList = {
14871487
["while affected by a rare abyss jewel"] = { tag = { type = "MultiplierThreshold", var = "RareAbyssJewels", threshold = 1 } },
14881488
["while affected by a magic abyss jewel"] = { tag = { type = "MultiplierThreshold", var = "MagicAbyssJewels", threshold = 1 } },
14891489
["while affected by a normal abyss jewel"] = { tag = { type = "MultiplierThreshold", var = "NormalAbyssJewels", threshold = 1 } },
1490+
["while you have at least (%d+) nearby all[yi]e?s?"] = function(num) return { tag = { type = "MultiplierThreshold", var = "NearbyAlly", threshold = num } } end,
14901491
-- Slot conditions
14911492
["when in main hand"] = { tag = { type = "SlotNumber", num = 1 } },
14921493
["whi?l?en? in off hand"] = { tag = { type = "SlotNumber", num = 2 } },

0 commit comments

Comments
 (0)