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
[0.5] Add support for Spirit Walker's The Catha's Balance, The Empty Roar's Empower mod, and some 0.5 passive nodes (#1985)
* add support for Empty Roar empower mod
add support for a few 0.5 tree nodes like totems have no cost and the rewording of eldritch battery
fix stat scaling bug with Heavy Armour notable
* lol ggg removed the no cost
* update empty roar parse with MaxUptimeRatio
* update for double mana cost wording
update a few piecemeal for new wording
add parsing for The Catha's Balance
* Fix Catha's node not working
---------
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
Copy file name to clipboardExpand all lines: src/Data/ModCache.lua
+12-14Lines changed: 12 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -3547,8 +3547,7 @@ c["Aggravate Bleeding on Enemies when they Enter your Presence 100% increased Th
3547
3547
c["Aggravate Bleeding on targets you Critically Hit with Attacks"]={nil,"Aggravate Bleeding on targets you Critically Hit with Attacks "}
3548
3548
c["Aggravating any Bleeding with this Weapon also Aggravates all Ignites on the target"]={nil,"Aggravating any Bleeding with this Weapon also Aggravates all Ignites on the target "}
3549
3549
c["Aggravating any Bleeding with this Weapon also Aggravates all Ignites on the target 40% chance to Aggravate Bleeding on Hit"]={nil,"Aggravating any Bleeding with this Weapon also Aggravates all Ignites on the target 40% chance to Aggravate Bleeding on Hit "}
3550
-
c["All Attacks count as Empowered Attacks"]={nil,"All Attacks count as Empowered Attacks "}
3551
-
c["All Attacks count as Empowered Attacks Cannot use Warcries"]={nil,"All Attacks count as Empowered Attacks Cannot use Warcries "}
3550
+
c["All Attacks count as Empowered Attacks"]={{[1]={flags=1,keywordFlags=0,name="Condition:Empowered",type="FLAG",value=true},[2]={flags=1,keywordFlags=0,name="MaxEmpoweredUptimeRatio",type="FLAG",value=true}},nil}
3552
3551
c["All Damage from Hits Contributes to Chill Magnitude"]={{[1]={flags=0,keywordFlags=0,name="CanChill",type="FLAG",value=true}},nil}
3553
3552
c["All Damage from Hits Contributes to Poison Magnitude"]={{[1]={flags=0,keywordFlags=0,name="CanPoison",type="FLAG",value=true}},nil}
3554
3553
c["All Damage from Hits Contributes to Shock Chance"]={{[1]={flags=0,keywordFlags=0,name="PhysicalCanShock",type="FLAG",value=true},[2]={flags=0,keywordFlags=0,name="FireCanShock",type="FLAG",value=true},[3]={flags=0,keywordFlags=0,name="ColdCanShock",type="FLAG",value=true},[4]={flags=0,keywordFlags=0,name="ChaosCanShock",type="FLAG",value=true}},nil}
@@ -3901,11 +3900,11 @@ c["Companions deal 10% increased damage per Idol in your Equipment 2% increased
c["Companions deal 60% increased damage against Immobilised enemies"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={[1]={actor="enemy",type="ActorCondition",var="Immobilised"},flags=0,keywordFlags=0,name="Damage",type="INC",value=60}}}},nil}
3904
-
c["Companions gain 12% Damage as extra Chaos Damage"]={nil,"Companions gain 12% Damage as extra Chaos Damage "}
3905
-
c["Companions gain 12% Damage as extra Cold Damage"]={nil,"Companions gain 12% Damage as extra Cold Damage "}
3906
-
c["Companions gain 4% Damage as extra Chaos Damage"]={nil,"Companions gain 4% Damage as extra Chaos Damage "}
3907
-
c["Companions gain 4% Damage as extra Cold Damage"]={nil,"Companions gain 4% Damage as extra Cold Damage "}
3908
-
c["Companions gain added Attack damage equal to 60% of your main hand Weapon's damage"]={nil,"Companions gain added Attack damage equal to 60% of your main hand Weapon's damage "}
3903
+
c["Companions gain 12% Damage as extra Chaos Damage"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="DamageGainAsChaos",type="BASE",value=12}}}},nil}
3904
+
c["Companions gain 12% Damage as extra Cold Damage"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="DamageGainAsCold",type="BASE",value=12}}}},nil}
3905
+
c["Companions gain 4% Damage as extra Chaos Damage"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="DamageGainAsChaos",type="BASE",value=4}}}},nil}
3906
+
c["Companions gain 4% Damage as extra Cold Damage"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="DamageGainAsCold",type="BASE",value=4}}}},nil}
3907
+
c["Companions gain added Attack damage equal to 60% of your main hand Weapon's damage"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="GainMainHandDmgFromParent",type="FLAG",value=true}}},[2]={flags=0,keywordFlags=0,name="Multiplier:MainHandDamageToAllies",type="BASE",value=60}},nil}
3909
3908
c["Companions gain your Strength"]={{[1]={flags=0,keywordFlags=0,name="StrengthAddedToCompanions",type="FLAG",value=true}},nil}
3910
3909
c["Companions have +12% to all Elemental Resistances"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="ElementalResist",type="BASE",value=12}}}},nil}
3911
3910
c["Companions have +30% to Chaos Resistance"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="ChaosResist",type="BASE",value=30}}}},nil}
@@ -3920,13 +3919,12 @@ c["Companions have 30% increased Area of Effect"]={{[1]={[1]={skillType=219,type
3920
3919
c["Companions have 50% chance to gain Onslaught on Kill"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={[1]={type="Condition",var="KilledRecently"},flags=0,keywordFlags=0,name="Condition:Onslaught",type="FLAG",value=true}}}},nil}
3921
3920
c["Companions have 6% increased Attack Speed"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=1,keywordFlags=0,name="Speed",type="INC",value=6}}}},nil}
3922
3921
c["Companions have 8% increased Movement Speed"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="MovementSpeed",type="INC",value=8}}}},nil}
3923
-
c["Companions have a 40% chance to Poison on Hit"]={nil,"a 40% chance to Poison on Hit "}
3924
-
c["Companions in your Presence have Onslaught while you are Shapeshifted"]={nil,"Companions in your Presence have Onslaught while you are Shapeshifted "}
3922
+
c["Companions have a 40% chance to Poison on Hit"]={{[1]={[1]={skillType=219,type="SkillType"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="PoisonChance",type="BASE",value=40}}}},nil}
3923
+
c["Companions in your Presence have Onslaught while you are Shapeshifted"]={nil,"in your Presence have Onslaught while you are Shapeshifted "}
c["Consume all Rage when Shapeshifting to Human form to recover 1% of maximum life per Rage Consumed"]={nil,"Consume all Rage when Shapeshifting to Human form to recover 1% of maximum life per Rage Consumed "}
3927
3926
c["Consuming Glory grants you 3% increased Attack damage per Glory consumed for 6 seconds, up to 60%"]={nil,"Consuming Glory grants you 3% increased Attack damage per Glory consumed for 6 seconds, up to 60% "}
3928
-
c["Convert 100% of maximum Energy Shield to maximum Mana"]={nil,"Convert 100% of maximum Energy Shield to maximum Mana "}
3929
-
c["Convert 100% of maximum Energy Shield to maximum Mana Mana Costs are Doubled"]={{[1]={[1]={globalLimit=100,globalLimitKey="EnergyShieldDoubledLimit",type="Multiplier",var="EnergyShieldDoubled"},flags=0,keywordFlags=0,name="EnergyShield",type="MORE",value=100},[2]={flags=0,keywordFlags=0,name="Multiplier:EnergyShieldDoubled",type="OVERRIDE",value=1}},"Convert 100% of to maximum Mana Mana Costs are d "}
3927
+
c["Convert 100% of maximum Energy Shield to maximum Mana"]={{[1]={flags=0,keywordFlags=0,name="EnergyShieldConvertToMana",type="BASE",value=100}},nil}
3930
3928
c["Converts all Evasion Rating to Armour"]={{[1]={flags=0,keywordFlags=0,name="IronReflexes",type="FLAG",value=true},[2]={flags=0,keywordFlags=0,name="EvasionConvertToArmour",type="BASE",value=100}},nil}
3931
3929
c["Copy a random Modifier from each enemy in your Presence when"]={nil,"Copy a random Modifier from each enemy in your Presence when "}
3932
3930
c["Copy a random Modifier from each enemy in your Presence when you Shapeshift to an Animal form"]={nil,"Copy a random Modifier from each enemy in your Presence when you Shapeshift to an Animal form "}
@@ -4396,7 +4394,7 @@ c["Gain Arcane Surge when a Minion Dies"]={{[1]={flags=0,keywordFlags=0,name="Mi
4396
4394
c["Gain Arcane Surge when a Minion Dies 40% increased maximum Energy Shield"]={{[1]={flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="Condition:ArcaneSurge",type="FLAG",value=true}}}}," when a Dies 40% increased "}
4397
4395
c["Gain Arcane Surge when you Shapeshift to Human form after"]={{[1]={flags=0,keywordFlags=0,name="Condition:ArcaneSurge",type="FLAG",value=true}}," when you Shapeshift to Human form after "}
4398
4396
c["Gain Arcane Surge when you Shapeshift to Human form after being Shapeshifted for at least 8 seconds"]={{[1]={flags=0,keywordFlags=0,name="Condition:ArcaneSurge",type="FLAG",value=true}}," when you Shapeshift to Human form after being Shapeshifted for at least 8 seconds "}
4399
-
c["Gain Armour equal to 150% of total Strength Requirements of Equipped Boots, Gloves and Helmet"]={nil,"Armour equal to 150% of total Strength Requirements of Equipped Boots, Gloves and Helmet "}
4397
+
c["Gain Armour equal to 150% of total Strength Requirements of Equipped Boots, Gloves and Helmet"]={{[1]={[1]={percent=150,stat="StrRequirementsOnBoots",type="PercentStat"},flags=0,keywordFlags=0,name="Armour",type="BASE",value=1},[2]={[1]={percent=150,stat="StrRequirementsOnGloves",type="PercentStat"},flags=0,keywordFlags=0,name="Armour",type="BASE",value=1},[3]={[1]={percent=150,stat="StrRequirementsOnHelmet",type="PercentStat"},flags=0,keywordFlags=0,name="Armour",type="BASE",value=1}},nil}
4400
4398
c["Gain Cold Thorns Damage equal to 18% of your maximum Mana"]={nil,"Cold Thorns Damage equal to 18% of your maximum Mana "}
4401
4399
c["Gain Combo from all Attack Hits"]={nil,"Combo from all Attack Hits "}
4402
4400
c["Gain Deflection Rating equal to 10% of Evasion Rating"]={{[1]={flags=0,keywordFlags=0,name="EvasionGainAsDeflection",type="BASE",value=10}},nil}
@@ -4885,7 +4883,7 @@ c["Lose all Power Charges on reaching maximum Power Charges Shocks you when you
4885
4883
c["Lose all Rage on reaching Maximum Rage"]={nil,"Lose all Rage on reaching Maximum Rage "}
4886
4884
c["Lose all Tailwind when Hit"]={nil,"Lose all Tailwind when Hit "}
4887
4885
c["Maim on Critical Hit"]={nil,"Maim on Critical Hit "}
4888
-
c["Mana Costs are Doubled"]={{[1]={[1]={globalLimit=100,globalLimitKey="ManaCostDoubledLimit",type="Multiplier",var="ManaCostDoubled"},flags=0,keywordFlags=0,name="ManaCost",type="MORE",value=100},[2]={flags=0,keywordFlags=0,name="Multiplier:ManaCostDoubled",type="OVERRIDE",value=1}},"s are d "}
4886
+
c["Mana Costs are Doubled"]={{[1]={flags=0,keywordFlags=0,name="ManaCost",type="MORE",value=100}},nil}
4889
4887
c["Mana Flasks also recover Life"]={nil,"Mana Flasks also recover Life "}
4890
4888
c["Mana Flasks gain 0.1 charges per Second"]={{[1]={flags=0,keywordFlags=0,name="ManaFlaskChargesGenerated",type="BASE",value=0.1}},nil}
4891
4889
c["Mana Flasks gain 0.22 charges per Second"]={{[1]={flags=0,keywordFlags=0,name="ManaFlaskChargesGenerated",type="BASE",value=0.22}},nil}
@@ -5364,7 +5362,7 @@ c["Skills have 20% increased Critical Hit Chance per Connected Blue Support Gem"
5364
5362
c["Skills have 5% chance to not remove Elemental Infusions but still count as consuming them"]={{}," to not remove Elemental Infusions but still count as consuming them "}
5365
5363
c["Skills have 6% increased Skill Speed per Connected Green Support Gem"]={{[1]={flags=0,keywordFlags=0,name="SkillSpeedIncreasedPerGreenSupport",type="FLAG",value=6}},nil}
5366
5364
c["Skills have a 125% longer Perfect Timing window"]={{[1]={flags=0,keywordFlags=0,name="PerfectTiming",type="INC",value=125}},nil}
5367
-
c["Skills have a 15% chance to not consume Glory"]={nil,"a 15% chance to not consume Glory "}
5365
+
c["Skills have a 15% chance to not consume Glory"]={{}," to not consume Glory "}
5368
5366
c["Skills have a 150% longer Perfect Timing window"]={{[1]={flags=0,keywordFlags=0,name="PerfectTiming",type="INC",value=150}},nil}
["totems you place grant embankment auras"] = { flag("Condition:StrategicEmbankments") },
3235
+
["totems you place grant embankment auras"] = { flag("Condition:StrategicEmbankments") },
3224
3236
-- Witchhunter
3225
3237
["grants skill: sorcery ward"] = {
3226
3238
flag("Condition:SorceryWard"),
@@ -5612,6 +5624,10 @@ local specialModList = {
5612
5624
["placed banners also grant (%d+)%% increased attack damage to you and allies"] = function(num) return { mod("ExtraAuraEffect", "LIST", { mod = mod("Damage", "INC", num, nil, ModFlag.Attack) }, { type = "Condition", var = "BannerPlanted" }, { type = "SkillType", skillType = SkillType.Banner }) } end,
5613
5625
["banners also cause enemies to take (%d+)%% increased damage"] = function(num) return { mod("ExtraAuraDebuffEffect", "LIST", { mod = mod("DamageTaken", "INC", num, { type = "GlobalEffect", effectType = "AuraDebuff", unscalable = true }) }, { type = "Condition", var = "BannerPlanted" }, { type = "SkillType", skillType = SkillType.Banner }) } end,
5614
5626
["dread banner grants an additional %+(%d+) to maximum fortification when placing the banner"] = function(num) return { mod("ExtraSkillMod", "LIST", { mod = mod("MaximumFortification", "BASE", num, { type = "GlobalEffect", effectType = "Buff" }) }, { type = "Condition", var = "BannerPlanted" }, { type = "SkillName", skillName = "Dread Banner" }) } end,
0 commit comments