mirror of
https://github.com/brues-code/Vanilla_MikScrollingBattleText.git
synced 2026-10-03 20:20:02 +00:00
Hand of Justice Fix
Remove HoJ from the saved triggers
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user