Приветствуем вас на форуме проекта WoW Circle. Если вы читаете это, значит не зарегистрировались у нас. Для того, чтобы получить доступ к расширенным возможностям нашего форума нажмите сюда и пройди регистрацию, которая не займет у вас много времени. После регистрации будут доступны новые, более расширенные, возможности.
Кто и что посоветует.

Упомянутые в теме пользователи:

Показано с 1 по 5 из 5
  1. #1
    Активист
    Регистрация
    01.10.2014
    Сообщений
    39
    Поблагодарил(а)
    8
    Получено благодарностей: 3 (сообщений: 3).
    Репутация: 3

    Кто и что посоветует.

    Посоветуйте аддон для отображения дебафов босса,моих бафов в 1 месте.
    В частности для кота для отслеживания 3 дебафов на боссе и 1 бафа на себе.
    Обязательно что бы показывалось все в 1 месте.

  2. #2
    Инопланетянин
    Регистрация
    20.03.2012
    Сообщений
    4,201
    Поблагодарил(а)
    362
    Получено благодарностей: 1,439 (сообщений: 839).
    Репутация: 2399
    Хм... Почему бы и нет...
    PHP код:
    local function createAuraIcon(iconsindex)    local button CreateFrame("Button"nilicons)    button:SetWidth(icons.size or 16)    button:SetHeight(icons.size or 16)    local cd CreateFrame("frame"nilbutton)    local count 0;    local icon button:CreateTexture(nil"BORDER")    icon:SetAllPoints(button)    icon:SetTexCoord(0.070.930.070.93)    addon.CreateShadow(button)    tinsert(iconsbutton)    button.parent icons    button.overlay overlay    button.icon icon    button.icon.shadow button.shadow    icon.visible 0    button.cd cd    button.cd.count count        return buttonend
    local 
    function updateIcon(uniticonsindexoffsetfilterisDebuffvisible)    if not unit then return; end    local nameranktexturecount1dtypedurationtimeLeftcasterisStealableshouldConsolidatespellID UnitAura(unitindexfilter)    local player UnitName('player')    if(name and caster==playerthen        local n visible offset 1        local icon icons[n]        if(not iconthen            icon module:createAuraIcon(iconsn)        end        local show true        if(showthen            local cd icon.cd            local count icon.cd.count            cd:SetScript('OnUpdate', function(selfelpsvisible)            count count elps            --print(count)                if(duration and duration and count duration and duration~=0then                    self:GetParent():Show()                elseif(count duration and duration~=0then                    self:GetParent():Hide()                    self:SetScript('OnUpdate'nil)                else                    self:GetParent():Show()                    self:SetScript('OnUpdate'nil)                end            end)        local color DebuffTypeColor[dtype] or DebuffTypeColor.none            icon.shadow:SetBackdropColor(0000)            icon.shadow:SetBackdropBorderColor(color.rcolor.gcolor.b1)            icon.icon:SetTexture(texture)            icon.filter filter            icon.isDebuff isDebuff            icon:SetID(index)            icon:Show()            return visible        end    endend
    local 
    function filterIcons(uniticonsfilterlimitisDebuffoffsetdontHide)    if(not offsetthen offset 0 end    local index 1    local visible 0    while(visible limit) do        local result module:updateIcon(uniticonsindexoffsetfilterisDebuffvisible)        if(not resultthen            break        elseif(result == visiblethen            visible visible 1        end        index index 1    end    if(not dontHidethen        for visible offset 1#icons do            icons[i]:Hide()        end    end
        
    return visibleend
    local 
    function SetPosition(iconsx)    if(icons and 0then        local col 0        local row 0        local gap icons.gap        local sizex = (icons.size or 16) + (icons['spacing-x'] or icons.spacing or 0)        local sizey = (icons.size or 16) + (icons['spacing-y'] or icons.spacing or 0)        local anchor icons.initialAnchor or "BOTTOMLEFT"        local growthx = (icons["growth-x"] == "LEFT" and -1) or 1        local growthy = (icons["growth-y"] == "DOWN" and -1) or 1        local cols floor(icons:GetWidth() / sizex .5)        local rows floor(icons:GetHeight() / sizey .5)        for 1#icons do            local button = icons[i]            if(button and button:IsShown()) then                if(gap and button.debuff) then                    if(col > 0) then                        col = col + 1                    end                    gap = false                end                if(col >= cols) then                    col = 0                    row = row + 1                end                button:ClearAllPoints()                button:SetPoint(anchor, icons, anchor, col * sizex * growthx, row * sizey * growthy)                col = col + 1            elseif(not button) then                break            end        end    endend 
    Ну а дальше выводишь их на фрейму и готово.

  3. #3
    Почетный флудер Аватар для Foximys
    Регистрация
    22.10.2012
    Сообщений
    2,018
    Поблагодарил(а)
    55
    Получено благодарностей: 347 (сообщений: 300).
    Репутация: 347
    Filger как вариант. Показывает выбранные дебафы твоей цели и твои баффы\проки.

  4. #4
    Старожил
    Регистрация
    28.09.2012
    Сообщений
    166
    Поблагодарил(а)
    24
    Получено благодарностей: 6 (сообщений: 6).
    Репутация: 6
    ну для кота же feralbynight прекрасный аддон

  5. #5
    Инопланетянин Аватар для Meteor
    Регистрация
    05.01.2012
    Адрес
    Минск, РБ
    Сообщений
    3,468
    Поблагодарил(а)
    395
    Получено благодарностей: 964 (сообщений: 666).
    Репутация: 963
    TellMeWhen
    Кто рейдил в WoW - тот в цирке не смеётся. (с)

  6. 1 пользователь сказал cпасибо Meteor за это полезное сообщение:

    Vanyajkee (27.02.2015)

Похожие темы

  1. Какие группы посоветуете
    от †Undead† в разделе Музыка
    Ответов: 26
    Последнее сообщение: 09.01.2014, 20:49
  2. Требуется совет от опытных игроков
    от greenbr0 в разделе Корзина
    Ответов: 4
    Последнее сообщение: 02.06.2013, 11:37
  3. Ребят что посоветуете для вара
    от Zerglurker в разделе Корзина
    Ответов: 12
    Последнее сообщение: 06.05.2013, 19:21
  4. Кого посоветуете?
    от Леори в разделе Корзина
    Ответов: 11
    Последнее сообщение: 02.04.2012, 23:44

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения
  •