Skip to content

Commit 367c541

Browse files
authored
Add support for Shankgonne "you cannot sprint" (#1454)
1 parent 18246bb commit 367c541

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Data/ModCache.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5609,7 +5609,7 @@ c["You can only Socket Ruby Jewels in this item"]={nil,"You can only Socket Ruby
56095609
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 "}
56105610
c["You can only Socket Sapphire Jewels in this item"]={nil,"You can only Socket Sapphire Jewels in this item "}
56115611
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}
5612-
c["You cannot Sprint"]={nil,"You cannot Sprint "}
5612+
c["You cannot Sprint"]={{[1]={flags=0,keywordFlags=0,name="Condition:CannotSprint",type="FLAG",value=true}},nil}
56135613
c["You cannot be Chilled for 6 seconds after being Chilled"]={nil,"You cannot be Chilled for 6 seconds after being Chilled "}
56145614
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 "}
56155615
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}

src/Modules/ModParser.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2554,6 +2554,7 @@ local specialModList = {
25542554
["you cannot be maimed"] = { flag("MaimImmune") },
25552555
["you cannot be impaled"] = { flag("ImpaleImmune") },
25562556
["cannot dodge roll or sprint"] = { flag("Condition:CannotDodgeRoll"), flag("Condition:CannotSprint") },
2557+
["you cannot sprint"] = { flag("Condition:CannotSprint") },
25572558
-- Exerted Attacks
25582559
["exerted attacks deal (%d+)%% increased damage"] = function(num) return { mod("ExertIncrease", "INC", num, nil, ModFlag.Attack, 0) } end,
25592560
["exerted attacks have (%d+)%% chance to deal double damage"] = function(num) return { mod("ExertDoubleDamageChance", "BASE", num, nil, ModFlag.Attack, 0) } end,

0 commit comments

Comments
 (0)