mirror of
https://github.com/brues-code/Vanilla_MikScrollingBattleText.git
synced 2026-10-17 10:50:50 +00:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
@@ -127,7 +127,6 @@ ICON_CACHE["effet inferno"] = "Interface\\Icons\\spell_fire_incinerate"
|
||||
ICON_CACHE["flametongue attack"] = "Interface\\Icons\\Spell_Nature_GuardianWard"
|
||||
ICON_CACHE["stratholme holy water"] = "Interface\\Icons\\Inv_Potion_75"
|
||||
|
||||
|
||||
-- Cache des spells dont l'icone n'a pas été trouvée
|
||||
NO_ICON_CACHE = {}
|
||||
|
||||
@@ -1332,30 +1331,30 @@ function MikSBT.UpdateProfiles()
|
||||
|
||||
-- Check if the profile was created prior to version 4.0.
|
||||
if (profile.CreationVersion < 4.0) then
|
||||
|
||||
|
||||
profile.ShowAllManaGains = false;
|
||||
profile.LowHealthSound = true;
|
||||
profile.LowManaSound = true;
|
||||
|
||||
|
||||
profile.CreationVersion = 4.0;
|
||||
end
|
||||
|
||||
|
||||
-- Check if the profile was created prior to version 4.1.
|
||||
if (profile.CreationVersion < 4.1) 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
|
||||
|
||||
|
||||
if (profile.CreationVersion < 4.3) then
|
||||
|
||||
|
||||
-- The pet update !
|
||||
profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_DAMAGE"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_DAMAGE"]);
|
||||
profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_MISS"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_MISS"]);
|
||||
@@ -1375,10 +1374,10 @@ function MikSBT.UpdateProfiles()
|
||||
profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_SPELL_IMMUNE"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_SPELL_IMMUNE"]);
|
||||
profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_HEAL"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_HEAL"]);
|
||||
profile.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_HOT"] = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.EventSettings["MSBT_EVENTTYPE_INCOMING_PET_HOT"]);
|
||||
|
||||
|
||||
profile.CreationVersion = 4.3;
|
||||
end
|
||||
|
||||
|
||||
if (profile.CreationVersion < 4.4) then
|
||||
|
||||
profile.BlizzardFontSettings = MikSBT.CopyTable(MikSBT.DEFAULT_CONFIG.BlizzardFontSettings);
|
||||
|
||||
Reference in New Issue
Block a user