#ICC/Sindragosa: Show range frame 10 in normal, 20 in heroic using raid icon filter.
ICC/Sindragosa: Re-enabled default on for unchained magic, since it's required for range frame functionality, the bugs should be fixed now with it anyways.
#ICC/Sindragosa: Added an achievement timer for mystic buffet that shows how long you have to clear stacks before achievement is failed. (only monitors your stacks, no one else's. everyone is responsible for their own stacks). r3756
@@ -52,9 +52,10 @@
local soundBlisteringCold = mod:NewSound(70123)
mod:AddBoolOption("SetIconOnFrostBeacon", true)
-mod:AddBoolOption("SetIconOnUnchainedMagic", false)
+mod:AddBoolOption("SetIconOnUnchainedMagic", true)
mod:AddBoolOption("ClearIconsOnAirphase", true)
mod:AddBoolOption("AnnounceFrostBeaconIcons", false)
+mod:AddBoolOption("RangeFrame")
local beaconTargets = {}
local beaconIconTargets = {}
@@ -71,8 +72,21 @@
table.wipe(beaconIconTargets)
table.wipe(unchainedTargets)
unchainedIcons = 7
+ if self.Options.RangeFrame then
+ if mod:IsDifficulty("heroic10") or mod:IsDifficulty("heroic25") then
+ DBM.RangeCheck:Show(20, GetRaidTargetIndex)
+ else
+ DBM.RangeCheck:Show(10, GetRaidTargetIndex)
end
+ end
+end
+function mod:OnCombatEnd()
+ if self.Options.RangeFrame then
+ DBM.RangeCheck:Hide()
+ end
+end
+
do
local function sort_by_group(v1, v2)
return DBM:GetRaidSubgroup(UnitName(v1)) < DBM:GetRaidSubgroup(UnitName(v2))
@@ -422,14 +422,15 @@
AnnounceFrostBeaconIcons= "Announce icons for $spell:70126 targets to raid chat\n(requires announce to be enabled and leader/promoted status)",
SetIconOnFrostBeacon = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(70126),
SetIconOnUnchainedMagic = DBM_CORE_AUTO_ICONS_OPTION_TEXT:format(69762),
- ClearIconsOnAirphase = "Clear all icons before air phase"
+ ClearIconsOnAirphase = "Clear all icons before air phase",
+ RangeFrame = "Show range frame (10 normal, 20 heroic)\n(will only show raid icon marked players)"
}
L:SetMiscLocalization{
YellAirphase = "Your incursion ends here! None shall survive!",
YellPhase2 = "Now, feel my master's limitless power and despair!",
BeaconIconSet = "Frost Beacon icon {rt%d} set on %s",
- YellPull = "You are fools to have come to this place. The icy winds of Northrend will consume your souls!"
+ YellPull = "You are fools to have come to this place. The icy winds of Northrend will consume your souls!"--Not currently in use.
}
---------------------
@@ -229,7 +229,7 @@
NovaSound = "Play sound on $spell:65279",
timerMobOvercharge = "Show timer for Overcharged mob (stacking debuff)",
EmalonEnrage = "Show timer for $spell:26662",
- RangeFrame = "Show range frame (10 m)"
+ RangeFrame = "Show range frame (10)"
}
---------------------------------