Commit 15bcb040 authored by Ivaria's avatar Ivaria

Debuffs are now considered 'removable only' if the unit is friendly

parent fe545f07
## Interface: 80300
## Title: VuhDo ['vu:du:]
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.111
## Version: 3.112
## Notes: Raid Frames providing click-heal functionality, buff and debuff control, main tank management and much more
## SavedVariablesPerCharacter: VUHDO_CONFIG, VUHDO_PANEL_SETUP, VUHDO_SPELL_ASSIGNMENTS, VUHDO_HOSTILE_SPELL_ASSIGNMENTS, VUHDO_MM_SETTINGS, VUHDO_PLAYER_TARGETS, VUHDO_MAINTANK_NAMES, VUHDO_BUFF_SETTINGS, VUHDO_POWER_TYPE_COLORS, VUHDO_SPELLS_KEYBOARD, VUHDO_SPELL_CONFIG, VUHDO_BUFF_ORDER, VUHDO_SPEC_LAYOUTS, VUHDO_GROUP_SIZE, VUHDO_RAID, VUHDO_INDICATOR_CONFIG
## SavedVariables: VUHDO_DEFAULT_LAYOUT, VUHDO_DEFAULT_PROFILE, VUHDO_PROFILES, VUHDO_MANUAL_ROLES, VUHDO_SPELL_LAYOUTS, VUHDO_USER_CLASS_COLORS, VUHDO_DEBUFF_BLACKLIST, VUHDO_BOUQUETS, VUHDO_COMBAT_LOG_TRACE, VUHDO_GLOBAL_CONFIG, VUHDO_DEBUG
......
......@@ -50,6 +50,7 @@ local VUHDO_DEBUFF_BLACKLIST = { };
local UnitDebuff = UnitDebuff;
local UnitBuff = UnitBuff;
local UnitIsFriend = UnitIsFriend;
local table = table;
local GetTime = GetTime;
local PlaySoundFile = PlaySoundFile;
......@@ -346,7 +347,7 @@ function VUHDO_determineDebuff(aUnit)
end
tType = VUHDO_DEBUFF_TYPES[tTypeString];
tAbility = VUHDO_PLAYER_ABILITIES[tType];
tAbility = VUHDO_PLAYER_ABILITIES[tType] and UnitIsFriend("player", aUnit);
tIsRelevant = not VUHDO_IGNORE_DEBUFF_NAMES[tName]
and not (VUHDO_IGNORE_DEBUFFS_BY_CLASS[tInfo["class"] or ""] or sEmpty)[tName];
......@@ -371,7 +372,7 @@ function VUHDO_determineDebuff(aUnit)
end
-- Entweder Fhigkeit vorhanden ODER noch keiner gewhlt UND auch nicht entfernbare
-- Either ability available OR none selected AND not removable (DETECT_DEBUFFS_REMOVABLE_ONLY_ICONS)
-- Either ability available OR none selected AND not removable (DETECT_DEBUFFS_REMOVABLE_ONLY)
if tType and (tAbility or (sCurChosenType == 0 and sIsNotRemovableOnly)) then -- VUHDO_DEBUFF_TYPE_NONE
sCurChosenType = tType;
tUnitDebuffInfo["CHOSEN"][1], tUnitDebuffInfo["CHOSEN"][2] = tIcon, tStacks;
......
## Interface: 80300
## Title: VuhDo ['vu:du:] - Options
## Author: Iza@Gilneas, humfras, Ivaria@Hyjal
## Version: 3.111
## Version: 3.112
## Notes: VuhDo Options
## SavedVariables: VUHDO_OPTIONS_SETTINGS
## SavedVariablesPerCharacter: VUHDO_GLOBAL_ICONS, VUHDO_GI_SCAN_IDX
......
Version 3.112
Known issues:
-- BfA stat squish cleanup still a work in progress
-- AOE Advice spell equations need complete overhaul
-- Some text providers need changes to better display small numbers
-- Debuff tooltips are currently bugged when using ElvUI
-- Deselect 'VuhDo Options > Panels > Tooltips > Tooltips > Debuffs'
-- In 8.2.0 Blizzard removed the ability to play sounds by file path
-- If you have LibSharedMedia installed make sure it is up to date
-- You may need to reselect your sound options in VuhDo for debuffs
Bugfixes:
-- Debuffs are now considered 'removable only' if the unit is friendly
Improvements:
--------------------------------------------------------------
Version 3.111
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment