From 5652b2150d1fe3c46a7119b9533edd6e0d4c05dc Mon Sep 17 00:00:00 2001 From: LocalIdentity Date: Sun, 19 Jan 2025 13:08:04 +1100 Subject: [PATCH] Add support for Minions inheriting player Dexterity Not sure how this node works with the new Timeless jewel that converts what dexterity provides --- src/Data/ModCache.lua | 2 +- src/Modules/ModParser.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index 2f3e3fae..aed5d7e4 100755 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -3076,7 +3076,7 @@ c["Your Critical Damage Bonus is 300%"]={{[1]={flags=0,keywordFlags=0,name="Crit c["Your Critical Hits do not deal extra Damage"]={{[1]={flags=0,keywordFlags=0,name="NoCritMultiplier",type="FLAG",value=true}},nil} c["Your Curses have 20% increased Effect if 50% of Curse Duration expired"]={{[1]={[1]={actor="enemy",threshold=50,type="MultiplierThreshold",var="CurseExpired"},[2]={skillType=79,type="SkillType"},flags=0,keywordFlags=0,name="CurseEffect",type="INC",value=20}},nil} c["Your Curses have infinite Duration"]={{[1]={[1]={skillType=79,type="SkillType"},flags=0,keywordFlags=0,name="Duration",type="BASE",value=math.huge}},nil} -c["Your Dexterity is added to your Minions"]={nil,"Your Dexterity is added to your Minions "} +c["Your Dexterity is added to your Minions"]={{[1]={[1]={actor="Parent",stat="Dex",type="PerStat"},flags=0,keywordFlags=0,name="MinionModifier",type="LIST",value={mod={flags=0,keywordFlags=0,name="Accuracy",type="BASE",value=5}}}},nil} c["Your Hits are Crushing Blows"]={nil,"Your Hits are Crushing Blows "} c["Your Hits can't be Evaded"]={{[1]={flags=0,keywordFlags=0,name="CannotBeEvaded",type="FLAG",value=true}},nil} c["Your Stun Threshold is doubled"]={{[1]={flags=0,keywordFlags=0,name="StunThreshold",type="MORE",value=100}},nil} diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index 4ebd7dff..5ab56133 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -3848,7 +3848,7 @@ local specialModList = { -- Minions ["your strength is added to your minions"] = { flag("StrengthAddedToMinions") }, ["half of your strength is added to your minions"] = { flag("HalfStrengthAddedToMinions") }, - ["minions' accuracy rating is equal to yours"] = { flag("MinionAccuracyEqualsAccuracy") }, + ["your dexterity is added to your minions"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("Accuracy", "BASE", 5) }, { type = "PerStat", stat = "Dex", actor = "Parent" }) } end, ["minions created recently have (%d+)%% increased attack and cast speed"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("Speed", "INC", num) }, { type = "Condition", var = "MinionsCreatedRecently" }) } end, ["minions created recently have (%d+)%% increased movement speed"] = function(num) return { mod("MinionModifier", "LIST", { mod = mod("MovementSpeed", "INC", num) }, { type = "Condition", var = "MinionsCreatedRecently" }) } end, ["minions poison enemies on hit"] = { mod("MinionModifier", "LIST", { mod = mod("PoisonChance", "BASE", 100) }) },