1. #1

    Looking for help in updating an addon.

    http://www.wowinterface.com/download...sBar.html#info

    I'm trying to update this myself to show Clarity of Will and I'm not too keen on lua. Could someone tell me how/assist me in updating this?

  2. #2
    Deleted
    I haven't tested this but looking at the code this should work:

    In settings.lua at the very bottom add the ID for CoW (152118) to the WatchedIDs table

    and in RiggsBar.lua change line 87
    from
    Code:
    for i = 1, 9 do	-- Create Each Shield Frame; 9 in total
    to
    Code:
    for i = 1, 10 do	-- Create Each Shield Frame; 9 in total

    and also line 117 to
    Code:
    for i = 1, 10 do


    If that alone doesn't work then in settings.lua add
    Code:
    COW = true
    to the table just above the WatchedIDs table and
    Code:
    COW = { 
    	name = RBTog.cow,
    	type = "toggle",
    	disabled = false,
    	tristate = false,
    	set = function(i,v) end,
    	get = function(i) end,
    	order = 10,
    },
    below
    Code:
    IH = { 
    	...
    },

    But in the code those settings seem to only get checked for class specific spells.

    If it's still not working I might take a deeper look.
    Last edited by mmoc7723fe36c9; 2015-04-12 at 08:35 AM.

  3. #3
    Quote Originally Posted by lleaf View Post
    I haven't tested this but looking at the code this should work:

    In settings.lua at the very bottom add the ID for CoW (152118) to the WatchedIDs table

    and in RiggsBar.lua change line 87
    from
    Code:
    for i = 1, 9 do	-- Create Each Shield Frame; 9 in total
    to
    Code:
    for i = 1, 10 do	-- Create Each Shield Frame; 9 in total

    and also line 117 to
    Code:
    for i = 1, 10 do


    If that alone doesn't work then in settings.lua add
    Code:
    COW = true
    to the table just above the WatchedIDs table and
    Code:
    COW = { 
    	name = RBTog.cow,
    	type = "toggle",
    	disabled = false,
    	tristate = false,
    	set = function(i,v) end,
    	get = function(i) end,
    	order = 10,
    },
    below
    Code:
    IH = { 
    	...
    },

    But in the code those settings seem to only get checked for class specific spells.

    If it's still not working I might take a deeper look.
    I'll give it a try later tonight and update w/ results/questions. Thank you.

    - - - Updated - - -

    Seems to have worked perfectly, thanks again. All I needed to do was add the Clarity of Will SpellID to the tracker.

  4. #4
    Deleted
    Great, nice to hear.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •