From 200c09e6e1c840f00d0f9567c66eae7b83f15d4e Mon Sep 17 00:00:00 2001 From: Blitz54 Date: Wed, 24 Sep 2025 19:53:41 -0500 Subject: [PATCH] Add support for Shankgonne "you cannot sprint" --- src/Data/ModCache.lua | 2 +- src/Modules/ModParser.lua | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Data/ModCache.lua b/src/Data/ModCache.lua index a47ea67104..32c485d55a 100755 --- a/src/Data/ModCache.lua +++ b/src/Data/ModCache.lua @@ -5609,7 +5609,7 @@ c["You can only Socket Ruby Jewels in this item"]={nil,"You can only Socket Ruby c["You can only Socket Ruby Jewels in this item You can only Socket Sapphire Jewels in this item"]={nil,"You can only Socket Ruby Jewels in this item You can only Socket Sapphire Jewels in this item "} c["You can only Socket Sapphire Jewels in this item"]={nil,"You can only Socket Sapphire Jewels in this item "} c["You can wield Two-Handed Axes, Maces and Swords in one hand"]={{[1]={flags=0,keywordFlags=0,name="GiantsBlood",type="FLAG",value=true}},nil} -c["You cannot Sprint"]={nil,"You cannot Sprint "} +c["You cannot Sprint"]={{[1]={flags=0,keywordFlags=0,name="Condition:CannotSprint",type="FLAG",value=true}},nil} c["You cannot be Chilled for 6 seconds after being Chilled"]={nil,"You cannot be Chilled for 6 seconds after being Chilled "} c["You cannot be Chilled for 6 seconds after being Chilled You cannot be Frozen for 6 seconds after being Frozen"]={nil,"You cannot be Chilled for 6 seconds after being Chilled You cannot be Frozen for 6 seconds after being Frozen "} c["You cannot be Chilled or Frozen"]={{[1]={flags=0,keywordFlags=0,name="ChillImmune",type="FLAG",value=true},[2]={flags=0,keywordFlags=0,name="FreezeImmune",type="FLAG",value=true}},nil} diff --git a/src/Modules/ModParser.lua b/src/Modules/ModParser.lua index cad01bc45c..cfd23bec38 100644 --- a/src/Modules/ModParser.lua +++ b/src/Modules/ModParser.lua @@ -2553,6 +2553,7 @@ local specialModList = { ["you cannot be maimed"] = { flag("MaimImmune") }, ["you cannot be impaled"] = { flag("ImpaleImmune") }, ["cannot dodge roll or sprint"] = { flag("Condition:CannotDodgeRoll"), flag("Condition:CannotSprint") }, + ["you cannot sprint"] = { flag("Condition:CannotSprint") }, -- Exerted Attacks ["exerted attacks deal (%d+)%% increased damage"] = function(num) return { mod("ExertIncrease", "INC", num, nil, ModFlag.Attack, 0) } end, ["exerted attacks have (%d+)%% chance to deal double damage"] = function(num) return { mod("ExertDoubleDamageChance", "BASE", num, nil, ModFlag.Attack, 0) } end,