From bfabfe85f260a8362ecbffae57c92d3d2bd52cea Mon Sep 17 00:00:00 2001 From: Athene Date: Thu, 27 Aug 2015 15:17:14 +0200 Subject: [PATCH] Hand of Justice Fix Remove HoJ from the saved triggers --- MikScrollingBattleText/MikScrollingBattleText.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MikScrollingBattleText/MikScrollingBattleText.lua b/MikScrollingBattleText/MikScrollingBattleText.lua index 1db2f77..7dfd4ed 100644 --- a/MikScrollingBattleText/MikScrollingBattleText.lua +++ b/MikScrollingBattleText/MikScrollingBattleText.lua @@ -1235,10 +1235,14 @@ function MikSBT.UpdateProfiles() -- Check if the profile was created prior to version 4.1. if (profile.CreationVersion < 4.1) then - if profile.Triggers.MSBT_TRIGGER_WINDFURY then + if profile.Triggers.MSBT_TRIGGER_WINDFURY then -- Fix Windfury Trigger profile.Triggers.MSBT_TRIGGER_WINDFURY.TriggerSettings.SearchPatterns[1] = string.format(AURAADDEDSELFHELPFUL, string.gsub(BS["Windfury Totem"], "-", "%%-")) end + if profile.Triggers.MSBT_TRIGGER_HAND_OF_JUSTICE then -- Delete Hand of Justice Trigger + profile.Triggers["MSBT_TRIGGER_HAND_OF_JUSTICE"] = nil; + end + profile.CreationVersion = 4.1; end