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
Add support for "Tide Caller" and "Salt and Scale" from Velka Bloodline (#9986)
* Add support for Salt and Scale (Barnacles)
* Add support for "Tide Caller" (Brine Ground)
* Update ModCache
* Move damage gain mods to ConfigOptions
This avoids potential doubling of the mods, when there are additional
sources of Brine Ground, such as the "Surging Torrent" skill
* Fix ailment scaling
Ailment effect was not being applied to the enemy so it wasn't showing a multiplier on the calcs tab
It also wasn't scaling sources or guaranteed shocks like skitterbots
---------
Co-authored-by: LocalIdentity <localidentity2@gmail.com>
Copy file name to clipboardExpand all lines: src/Data/ModCache.lua
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8469,7 +8469,7 @@ c["Does not delay Inherent Loss of Rage Regenerate 1 Rage per second for every 3
8469
8469
c["Does not delay Inherent Loss of Rage Skills Cost +3 Rage"]={{[1]={flags=0,keywordFlags=0,name="RageCostNoMult",type="BASE",value=3}},"Does not delay Inherent Loss of Rage "}
8470
8470
c["Does not inflict Mana Burn over time"]={nil,"Does not inflict Mana Burn over time "}
8471
8471
c["Does not inflict Mana Burn over time Inflicts Mana Burn on you when you Hit an Enemy with a Melee Weapon"]={nil,"Does not inflict Mana Burn over time Inflicts Mana Burn on you when you Hit an Enemy with a Melee Weapon "}
8472
-
c["Drop Brine Ground while moving, lasting 4 seconds"]={nil,"Drop Brine Ground while moving, lasting 4 seconds "}
8472
+
c["Drop Brine Ground while moving, lasting 4 seconds"]={{[1]={flags=0,keywordFlags=0,name="CanCreateBrineGround",type="FLAG",value=true}},nil}
8473
8473
c["Drops Scorched Ground while moving, lasting 4 seconds"]={{[1]={[1]={actor="enemy",type="ActorCondition",var="OnScorchedGround"},flags=0,keywordFlags=0,name="ScorchBase",type="BASE",value=10}},nil}
8474
8474
c["Drops Shocked Ground while moving, lasting 2 seconds"]={{[1]={[1]={actor="enemy",type="ActorCondition",var="OnShockedGround"},flags=0,keywordFlags=0,name="ShockBase",type="BASE",value=15}},nil}
8475
8475
c["Dual Wielding does not inherently grant chance to Block Attack Damage"]={{[1]={flags=0,keywordFlags=0,name="Condition:NoInherentBlock",type="FLAG",value=true}},nil}
@@ -9641,7 +9641,7 @@ c["Inflict 3 additional Poisons on the same Target when you inflict Poison with
9641
9641
c["Inflict 5 additional Impales on Enemies you Impale"]={nil,"Inflict 5 additional Impales on Enemies you Impale "}
9642
9642
c["Inflict 5 additional Impales on Enemies you Impale For 5 seconds after you Impale Enemies, they cannot be Impaled again, and Impales cannot be Called from them"]={nil,"Inflict 5 additional Impales on Enemies you Impale For 5 seconds after you Impale Enemies, they cannot be Impaled again, and Impales cannot be Called from them "}
9643
9643
c["Inflict 5 additional Impales on Enemies you Impale For 5 seconds after you Impale Enemies, they cannot be Impaled again, and Impales cannot be Called from them Limited to 1 Keystone Tattoo"]={nil,"Inflict 5 additional Impales on Enemies you Impale For 5 seconds after you Impale Enemies, they cannot be Impaled again, and Impales cannot be Called from them Limited to 1 Keystone Tattoo "}
9644
-
c["Inflict Barnacles on nearby Enemies every second"]={nil,"Inflict Barnacles on nearby Enemies every second "}
9644
+
c["Inflict Barnacles on nearby Enemies every second"]={{[1]={flags=0,keywordFlags=0,name="CanInflictBarnacles",type="FLAG",value=true}},nil}
9645
9645
c["Inflict Brittle on Enemies when you Block their Damage"]={nil,"Inflict Brittle on Enemies when you Block their Damage "}
9646
9646
c["Inflict Brittle on Enemies when you Block their Damage 67% increased Chance to Block"]={nil,"Inflict Brittle on Enemies when you Block their Damage 67% increased Chance to Block "}
9647
9647
c["Inflict Decay on Enemies you Curse with Hex Skills, dealing 700 Chaos Damage per Second for 8 Seconds"]={{[1]={[1]={actor="enemy",type="ActorCondition",var="Cursed"},flags=0,keywordFlags=0,name="SkillData",type="LIST",value={key="decay",merge="MAX",value=700}}},nil}
-- If the main skill can inflict the ailment, the ailment is inflicted with a hit, and we have a node allocated that checks what our highest damage is, then
3505
3506
-- use the skill's ailment modifiers
3506
3507
-- if not, use the generic modifiers
@@ -3510,6 +3511,9 @@ function calcs.perform(env, skipEHP)
{ var="conditionOnBrineGround", type="check", label="Are you on Brine Ground?", ifFlag="CanCreateBrineGround", tooltip="Allies on your Brine Ground gain 10% of Physical Damage as extra Cold Damage and as extra Lightning Damage", apply=function(val, modList, enemyModList)
{ var="minionConditionOnBrineGround", type="check", label="Minion on Brine Ground?", ifFlag="CanCreateBrineGround", tooltip="Allies on your Brine Ground gain 10% of Physical Damage as extra Cold Damage and as extra Lightning Damage", apply=function(val, modList, enemyModList)
@@ -1871,6 +1881,12 @@ Huge sets the radius to 11.
1871
1881
{ var="HoarfrostStacks", type="count", label="^x3F6DB3Hoarfrost ^7Stacks", ifFlag="HitsCanInflictHoarfrost", tooltip="Amount of stacks of ^x3F6DB3Hoarfrost ^7applied to the enemy.", apply=function(val, modList, enemyModList)
{ var="multiplierBarnacleStacks", type="count", label="^x3F6DB3Barnacle ^7Stacks", ifFlag="CanInflictBarnacles", tooltip="Amount of stacks of ^x3F6DB3Barnacle ^7applied to the enemy.\n\n^8(Enemies affected by Barnacles Convert 5% of Physical Damage to Cold and have 5% increased duration of Chill and Freeze on them.\nEach instance of Barnacles lasts 30 seconds and can be inflicted up to 10 times)", apply=function(val, modList, enemyModList)
{ var="conditionEnemyOnFungalGround", type="check", label="Is the enemy on Fungal Ground?", ifCond= { "OnFungalGround", "CreateFungalGround" }, tooltip="Enemies on your Fungal Ground have -10% to all Resistances.", apply=function(val, modList, enemyModList)
1992
+
{ var="conditionEnemyOnFungalGround", type="check", label="Is the enemy on Fungal Ground?", ifCond= { "OnFungalGround", "CreateFungalGround" }, tooltip="Enemies on your Fungal Ground have -10% to all Resistances", apply=function(val, modList, enemyModList)
{ var="conditionEnemyOnBrineGround", type="check", label="Is the enemy on Brine Ground?", ifFlag="CanCreateBrineGround", tooltip="Enemies on your Brine Ground have \n30% increased effect of Lightning and Cold Ailments on them and \nhave 25% reduced Armour and Evasion Rating.", apply=function(val, modList, enemyModList)
{ var="conditionEnemyInChillingArea", type="check", label="Is the enemy in a ^x3F6DB3Chilling ^7area?", ifEnemyCond="InChillingArea", apply=function(val, modList, enemyModList)
Copy file name to clipboardExpand all lines: src/Modules/ModParser.lua
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3031,6 +3031,9 @@ local specialModList = {
3031
3031
mod("ChaosMax", "BASE", 1, { type = "PercentStat", stat = "LifeCost", percent = num }, { type = "StatThreshold", stat = "LifeUnreserved", thresholdStat = "LifeCost", thresholdPercent = num }),
3032
3032
} end,
3033
3033
["lose all rage on reaching maximum rage and gain wild savagery for 1 second per 10 rage lost this way"] = { flag("WildSavagery") },
3034
+
-- Velka Bloodline
3035
+
["inflict barnacles on nearby enemies every second"] = { flag("CanInflictBarnacles") },
0 commit comments