Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a few uniques for 3.21 #5971

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Data/Uniques/body.lua
Expand Up @@ -148,7 +148,7 @@ Implicits: 0
(8-12)% Chance to Block Attack Damage
(80-100)% increased Armour
10% reduced Movement Speed
Cannot Block Spells
Cannot Block Spell Damage
Strength's Damage Bonus instead grants 3% increased Melee Physical Damage per 10 Strength
]],[[
The Iron Fortress
Expand Down
15 changes: 10 additions & 5 deletions src/Data/Uniques/boots.lua
Expand Up @@ -69,22 +69,27 @@ Requires Level 68, 120 Str
{variant:2}(60-100)% increased Armour
{variant:1}+(50-70) to maximum Life
{variant:2}+(60-100) to maximum Life
25% increased Movement Speed
{variant:1}25% increased Movement Speed
{variant:2}30% increased Movement Speed
Gain a Frenzy Charge on Hit while Bleeding
{variant:1}15% increased Movement Speed while Bleeding
{variant:2}30% increased Movement Speed
10% additional Physical Damage Reduction while stationary
50% chance to be inflicted with Bleeding when Hit by an Attack
Gore Footprints
]],[[
Replica Red Trail
Titan Greaves
Variant: Pre 3.21.0
Variant: Current
League: Heist
Source: Steal from a unique{Curio Display} during a Grand Heist
Requires Level 68, 120 Str
(60-80)% increased Armour
+(60-70) to maximum Life
25% increased Movement Speed
{variant:1}(60-80)% increased Armour
{variant:2}(60-100)% increased Armour
{variant:1}+(50-70) to maximum Life
{variant:2}+(60-100) to maximum Life
{variant:1}25% increased Movement Speed
{variant:2}30% increased Movement Speed
Gain a Power Charge on Hit while Poisoned
+30% to Chaos Resistance while stationary
15% increased Movement Speed while Poisoned
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Uniques/helmet.lua
Expand Up @@ -522,7 +522,7 @@ League: Sanctum
Source: Drops from unique{Lycia, Herald of the Scourge} in normal{The Beyond}
(8-10)% increased Cast Speed
(200-250)% increased Energy Shield
Avoid interruption from Stuns while Casting
Ignore Stuns while Casting
Base Spell Critical Strike Chance of Spells is equal to that of Main Hand Weapon
Cannot deal Critical Strikes with Attacks
]],[[
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Uniques/quiver.lua
Expand Up @@ -265,7 +265,7 @@ Implicits: 2
{variant:1}6 to 12 Added Physical Damage with Bow Attacks
{variant:2}(12-16) to (24-27) Added Physical Damage with Bow Attacks
+(20-40) to Dexterity
(150-200) Life Regenerated per Second while in Blood Stance
Regenerate (150-200) Life per Second while in Blood Stance
(40-60)% increased Projectile Damage while in Blood Stance
+(700-1000) to Evasion Rating while in Sand Stance
(20-30)% increased Area of Effect while in Sand Stance
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Uniques/shield.lua
Expand Up @@ -928,7 +928,7 @@ Implicits: 2
{variant:4}+(20-30)% to all Elemental Resistances
{variant:1}+5% to all maximum Resistances
{variant:2,3,4}+4% to all maximum Resistances
Cannot Block Attacks
Cannot Block Attack Damage
]],[[
Springleaf
Plank Kite Shield
Expand Down
8 changes: 8 additions & 0 deletions src/Modules/ModParser.lua
Expand Up @@ -54,6 +54,7 @@ local formList = {
["^gains? ([%d%.]+)%% of"] = "GAIN",
["^gain ([%d%.]+)"] = "GAIN",
["^grants ([%d%.]+)"] = "GRANTS",
["^removes? ([%d%.]+)%% of"] = "REMOVES",
["^gain %+(%d+)%% to"] = "GAIN",
["^you lose ([%d%.]+)"] = "LOSE",
["^loses? ([%d%.]+)%% of"] = "LOSE",
Expand Down Expand Up @@ -3483,7 +3484,9 @@ local specialModList = {
["cannot block"] = { flag("CannotBlockAttacks"), flag("CannotBlockSpells") },
["cannot block while you have no energy shield"] = { flag("CannotBlockAttacks", { type = "Condition", var = "HaveEnergyShield", neg = true }), flag("CannotBlockSpells", { type = "Condition", var = "HaveEnergyShield", neg = true }) },
["cannot block attacks"] = { flag("CannotBlockAttacks") },
["cannot block attack damage"] = { flag("CannotBlockAttacks") },
["cannot block spells"] = { flag("CannotBlockSpells") },
["cannot block spell damage"] = { flag("CannotBlockSpells") },
["monsters cannot block your attacks"] = { mod("EnemyModifier", "LIST", { mod = flag("CannotBlockAttacks") }) },
["damage from blocked hits cannot bypass energy shield"] = { flag("BlockedDamageDoesntBypassES", { type = "Condition", var = "EVBypass", neg = true }) },
["damage from unblocked hits always bypasses energy shield"] = { flag("UnblockedDamageDoesBypassES", { type = "Condition", var = "EVBypass", neg = true }) },
Expand Down Expand Up @@ -4955,6 +4958,11 @@ local function parseMod(line, order)
modType = "BASE"
modFlag = modFlag or { keywordFlags = KeywordFlag.Attack }
modSuffix, line = scan(line, suffixTypes, true)
elseif modForm == "REMOVES" then
modValue = -modValue
modType = "BASE"
modFlag = modFlag or { keywordFlags = KeywordFlag.Attack }
modSuffix, line = scan(line, suffixTypes, true)
elseif modForm == "LOSE" then
modValue = -modValue
modType = "BASE"
Expand Down