Jump to content


Photo

Shadow counter


    3 replies to this topic

    #1 helixhamin

    helixhamin

      Newbie

    • Members
    • Pip
    • 3 posts

      Posted 06 June 2015 - 11:30 AM

      Hello, I have looked around, but cannot find one. Is there an Utsusemi shadow counter for windower?



      #2 Iryoku

      Iryoku

        Advanced Member

      • Windower Staff
      • 488 posts

        Posted 06 June 2015 - 03:46 PM

        The only shadow counter for Windower broke many years ago. Fixing it had a very low priority, because SE had recently added their own shadow counter to the Utsusemi status effect icon, and eventually the plugin was dropped entirely.



        #3 Arcon

        Arcon

          Advanced Member

        • Windower Staff
        • 1189 posts
        • LocationMunich, Germany

        Posted 06 June 2015 - 04:25 PM

        That said, it would be rather trivial make an addon that does this. It's essentially this:

        texts = require('texts')
        res = require('resources')
         
        counter = texts.new('${number}')
         
        windower.ffxi.register_event('gain buff', function(id)
            local name = res[id].english
            if name:startswith('Copy Image') then
                counter.number = tonumber(name:match('Copy Image %((%d%+?)%)')) or 1
            end
        end)
         
        windower.ffxi.register_event('lose buff', function(id)
            if res[id].english:startswith('Copy Image') then
                counter.number = nil
            end
        end)


        #4 helixhamin

        helixhamin

          Newbie

        • Members
        • Pip
        • 3 posts

          Posted 07 June 2015 - 03:43 AM

          Hmm, maybe the timers are just covering the shadow count number?

          I guess I will try disabling the current duration of the buffs, and see if I can see the numbers.

           

          Edit: Yes, removed the buff timers, and now I can see my counts again.






          1 user(s) are reading this topic

          0 members, 1 guests, 0 anonymous users