From 0d85528c1640d1bd42f1099f00d5eaea9c5596d4 Mon Sep 17 00:00:00 2001 From: Kevin Lyles Date: Sun, 24 Feb 2013 19:04:10 -0600 Subject: [PATCH] Handle adding a prismatic socket to Sha-Touched or Armament of the Thunder King items --- Locales/enUS/patterns-enchants.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Locales/enUS/patterns-enchants.lua b/Locales/enUS/patterns-enchants.lua index 23de296..6956a07 100644 --- a/Locales/enUS/patterns-enchants.lua +++ b/Locales/enUS/patterns-enchants.lua @@ -8,7 +8,8 @@ local EnchantMatchLines = { "^use: teaches you how to permanently enchant ", "^use: attaches ", "^use: enchants? ", - "^use: removes the safety mechanism from +", + "^use: removes the safety mechanism from ", + "^use: add a prismatic socket ", } local EnchantUnweightedLines = { @@ -20,6 +21,7 @@ local EnchantUnweightedLines = { local EnchantPreprocessLines = { {" increase movement speed slightly ", " minor run speed increase "}, {" socket ", " prismatic socket "}, + {" prismatic prismatic socket ", " prismatic socket "}, {" and increase?i?n?g? ", " and "}, {" and your ", " and "}, -- item 23547 @@ -74,6 +76,7 @@ local EnchantAffixes = { "^permanently +", "^enchants? +", "^attache?s? +", + "^adds? +", "^an? +", "^[%a ]+ to your shield that +", "^chain to your weapon, +", @@ -155,6 +158,8 @@ local EnchantAffixes = { "points of +", "^mana regeneration by +", + " +to a sha%-touched weapon or armament of the thunder king%.$", + "%.$", } -- 1.7.9.5