[HowTo] Change SCTD to show party damage as well.
Hey All,
Did a bit of research today and noticed that SCTD has been updated for 2.4. So I did a little more digging and found what has to be changed to show the entire parties damage.
In the sctd.lua line 50 reads like this:
Code:
local COMBATLOG_FILTER_MINE = COMBATLOG_FILTER_MINE
Change it to read like this:
Code:
local COMBATLOG_FILTER_MINE = bit.bor (
COMBATLOG_OBJECT_AFFILIATION_PARTY,
COMBATLOG_OBJECT_AFFILIATION_MINE,
COMBATLOG_OBJECT_REACTION_FRIENDLY,
COMBATLOG_OBJECT_CONTROL_PLAYER,
COMBATLOG_OBJECT_TYPE_PLAYER,
COMBATLOG_OBJECT_TYPE_OBJECT
);
COMBATLOG_FILTER_MINE is a WoW filter that usually only calls:
COMBATLOG_OBJECT_AFFILIATION_MINE,
COMBATLOG_OBJECT_REACTION_FRIENDLY,
COMBATLOG_OBJECT_CONTROL_PLAYER,
COMBATLOG_OBJECT_TYPE_PLAYER,
COMBATLOG_OBJECT_TYPE_OBJECT
I simply added
COMBATLOG_OBJECT_AFFILIATION_PARTY,
to the mix and it all went well.
I first tried just changing MINE to FRIENDLY_UNIT... but that was a DISASTER.
Hope you all enjoy.
-J (the IT Monkey)
Edit: Almost forgot... you can download SCTD here . <--Original file... not modified.
RE: [HowTo] Change SCTD to show party damage as well.
Quote:
Originally Posted by The IT Monkey',index.php?page=Thread&postID=49699#post496 99]Hey All,
Did a bit of research today and noticed that SCTD has been updated for 2.4. So I did a little more digging and found what has to be changed to show the entire parties damage.
In the sctd.lua line 50 reads like this:
[code]local COMBATLOG_FILTER_MINE = COMBATLOG_FILTER_MINE[/code]
Change it to read like this:
[code]local COMBATLOG_FILTER_MINE = bit.bor (
COMBATLOG_OBJECT_AFFILIATION_PARTY,
COMBATLOG_OBJECT_AFFILIATION_MINE,
COMBATLOG_OBJECT_REACTION_FRIENDLY,
COMBATLOG_OBJECT_CONTROL_PLAYER,
COMBATLOG_OBJECT_TYPE_PLAYER,
COMBATLOG_OBJECT_TYPE_OBJECT
);[/code]
COMBATLOG_FILTER_MINE is a WoW filter that usually only calls:
COMBATLOG_OBJECT_AFFILIATION_MINE,
COMBATLOG_OBJECT_REACTION_FRIENDLY,
COMBATLOG_OBJECT_CONTROL_PLAYER,
COMBATLOG_OBJECT_TYPE_PLAYER,
COMBATLOG_OBJECT_TYPE_OBJECT
I simply added
COMBATLOG_OBJECT_AFFILIATION_PARTY,
to the mix and it all went well.
I first tried just changing MINE to FRIENDLY_UNIT... but that was a DISASTER.
Hope you all enjoy.
-J (the IT Monkey)
Edit: Almost forgot... you can download [url='http://www.wowinterface.com/downloads/dl.php?id=4913
SCTD here[/url] . <--Original file... not modified.
I used the default sctd and now i have the option. But if i do the change in lua in stcd i dont have the sctd option in game did i modify it right. I have sct install already (newest one)