 |
| Welcome to Elitist Jerks |
We're testing some new features on the site regarding OpenID registration and coordination with gamerDNA. If you experience any issues with registering an account, please take the time to fill out a report and send it to this e-mail address. We would appreciate any assistance you could provide in making sure everything is functioning as intended. Thanks!
If this is your first visit, please be sure to check out the FAQ and the forum rules. Users must register to post and new registrations are subject to a one day "mute" period to get acquainted with the community.
|
06/16/07, 8:18 AM
|
#1
|
|
Von Kaiser
Undead Rogue
Lightning's Blade (EU)
|
Modifying SCTD for WF ?
When it comes to .lua code and such I am lost.
However, I would like to know if somone know how to, or were i could find a SCTD that show
windfury procs damage, like it now show sword spec damage.
(I'm talking about WF from totem since I'm a rogue)
|
|
|
|
|
|
06/16/07, 8:43 AM
|
#2
|
|
Piston Honda
Draenei Shaman
Kel'Thuzad
|
SCTD shows you WF procs by default. However, WF procs cause an extra attack, and don't actually give you a hit that's registered as "Windfury Attack" (unlike the Shaman weapon enchantment).
Basically, if you get a WF totem proc, your combat log looks something like this.
You hit target for 438.
You gain 1 extra attack through Windfury Totem. (or Windfury Attack, correct me if I'm wrong, semantics either way)
You hit target for 521.
(much like Hand of Justice and Sword Spec procs work.)
SCTD catches the "You gain 1 extra attack" event in your combat log and shows a "Extra Attack" or "Windfury!" warning, by default.
Actually getting SCT to show "521 (Windfury)" might prove to be a little difficult, and I have my doubt's on whether it's possible at all, though the Spell Reflection damage showing up on SCTD leads me to believe that there should be some kind of workaround for it - this is in all likelihood beyond the scope of standard SCT event adding. The problem is when other procs go off at the same time (Sword Spec, Blinkstrike, or even just an offhand hit) - that has the potential of skewing the "next line" in your combat log thanks to server lag, on occasion.
|
|
|
|
|
06/16/07, 9:58 AM
|
#3
|
|
Bald Bull
Night Elf Rogue
Wrathbringer (EU)
|
I dont't think that's possible.
Sword spec damage is currently only showing because the current implementation is that it shows as "your sword spec hits xx for yy" (roughly).
Before that patch and after the patch (at least according to what I saw in this forum) it was/will be again "you gain 1 extra attack through sword spec" and therefore the damage value will be gone again, since there is no way to tell from the combat log which attack was the normal white hit, and which one the windfury/sword spec proc.
|
|
|
|
|
06/16/07, 10:06 AM
|
#4
|
|
Von Kaiser
Undead Rogue
Lightning's Blade (EU)
|
Hmm tought as much. I realy do hope they keep the "Your sword spec hits for xxx" in combat log and just make it a white hit tough, it's kinda fun to see what your extra hits are
|
|
|
|
|
|
06/16/07, 10:37 PM
|
#5
|
|
postcount++
Malan
Tauren Shaman
No WoW Account
|
If you pick up Mik's Scrolling Battle Text (MSBT) from wowinterface, he actually has "throttles" that roll up damage, so when I get a series of Windfury hits on my shaman it just rolls up all the damage from the 2 hits and reports it as "Windfury - 2 hits, 1 crit - 1853"
|
Shitting up every single thread on EJ since '06
|
|
|
|
06/17/07, 3:02 AM
|
#6
|
|
Bald Bull
|
It's not 100% perfect though, you pretty much have to guess and hope the next 2 attacks are from WF.
|
|
|
|
|
|
06/17/07, 6:51 AM
|
#7
|
|
Glass Joe
|
Speaking of WF and addons, I've heard of a mod that has a bar that counts down the three seconds from your last WF so you can try to time your SSs. Anyone know the name? A quick search didn't turn up anything. Thanks.
edit: Whoops, this is a WF totem thread. Sorry, posting at 5am without sleeping is a bad idea :<
Last edited by Azide : 06/17/07 at 7:01 AM.
|
|
|
|
|
|
06/17/07, 7:03 AM
|
#8
|
|
Glass Joe
Undead Rogue
Ner'zhul (EU)
|

local sct_Event_Config = {
-- To remove an event, simply add -- in front of the line.
-- Example : to remove "Windfury!" do :
-- [1] = {name="Windfury!", search="You gain Windfury", r=256/256, g=256/256, b=0/256},
[1] = {name="Clearcast!", type="buffself", search="Clearcast", r=256/256, g=256/256, b=0/256, class={"Mage","Shaman","Druid","Priest"}},
[2] = {name="Flurry!", type="buffself", search="Flurry", r=128/256, g=0/256, b=0/256, class={"Warrior","Shaman"}},
[3] = {name="Lightning Shield!", type="buffself", search="Lightning Shield", r=0/256, g=0/256, b=256/256,class={"Shaman"}},
[4] = {name="Nightfall!", type="buffself", search="Shadow Trance", r=0/256, g=128/256, b=128/256, class={"Warlock"}},
[5] = {name="Overpower!", override=false, search="You attack. (.+) dodges.", r=256/256, g=256/256, b=0/256, iscrit=1, class={"Warrior"}},
[6] = {name="Overpower!", override=false, search="Your (.+) was dodged", r=256/256, g=256/256, b=0/256, iscrit=1, class={"Warrior"}},
[7] = {name="Enraged!", type="buffself", search="Enrage", r=128/256, g=256/256, b=128/256, iscrit=1, class={"Warrior"}},
[8] = {name="Crusader!", type="buffself", search="Holy Strength", r=128/256, g=128/256, b=256/256, iscrit=1, class={"Warrior","Rogue","Paladin","Shaman","Hunter"}},
[9] = {name="Spirit Tap!", type="buffself", search="Spirit Tap", r=128/256, g=128/256, b=150/256, iscrit=1, class={"Priest"}},
[10] = {name="Soul Shard!", search="You(.+)Soul Shard", r=0/256, g=128/256, b=128/256, iscrit=1, class={"Warlock"}},
[11] = {name="Mace Stun!", type="debufftarget", search="Mace Stun",r=256/256, g=256/256, b=0/256, iscrit=1, class={"Rogue","Warrior"}},
[12] = {name="Rooted!", type="debufftarget", search="Improved Hamstring", r=0/256, g=128/256, b=0/256, iscrit=1, class={"Warrior"}},
[13] = {name="Full Sunder!", type="debufftarget", search="Sunder Armor", buffcount=5, r=0/256, g=256/256, b=0/256, iscrit=1, class={"Warrior"}},
--[14] = {name="Envenom!", type="debufftarget", search="Deadly", buffcount=5, r=256/256, g=0/256, b=256/256, iscrit=1, class={"Rogue"}},
[15] = {name="*1 Stance", argcount=1, search="You gain (.+) Stance", r=0/256, g=170/256, b=0/256, frame=SCT.FRAME2, class={"Warrior"}},
[16] = {name="Frostbite!", type="debufftarget", search="Frostbite", r=75/256, g=150/256, b=225/256, iscrit=1, class={"Mage"}},
[17] = {name="", search="Your Deep Wound failed", r=0/256, g=0/256, b=0/256, class={"Warrior"}},
[18] = {name="Sword Spec!", override=false, search="Your Sword Spec", r=0/256, g=200/256, b=200/256, iscrit=1, class={"Rogue","Warrior"}},
--Captured data examples. Remove, change, or comment out the ones you don't want.
--Spam Stoppers
--[9] = {name="", search="Your Bloodthirst heals you", r=0/256, g=256/256, b=0/256, class={"Warrior"}},
--[10] = {name="", search="Your Vampiric Embrace", r=0/256, g=0/256, b=0/256, class={"Priest"}},
--Other common requests
--[11] = {name="Feint Landed!", search="You perform Feint", r=0/256, g=255/256, b=255/256, class={"Rogue"}},
--[12] = {name="Feint Failed!", search="Your Feint (.*)", r=255/256, g=153/256, b=51/256, iscrit=1, class={"Rogue"}},
--[13] = {name="Maelstrom (*2)", argcount=2, search="Your Lightning Strike hits (.+) for (%d+) Nature damage.", r=175/256, g=76/256, b=117/256, iscrit=0},
--[14] = {name="Windfury!", search="You gain (.+) Windfury", r=256/256, g=256/256, b=0/256, iscrit=1, class={"Warrior","Rogue","Paladin","Shaman"}},
--[15] = {name="Extra Attack!", search="You (.+) extra attack", r=0/256, g=128/256, b=128/256, class={"Warrior","Rogue","Paladin","Shaman","Hunter"}},
--NOTE: If you are wanting SCT to show your damage, I suggest you grab SCT - Damage instead. You can
--get it here: http://www.wowinterface.com/downloads/fileinfo.php?id=4913
};
That's the code from sct_event_config.lua
[18]
"Sword Spec!", override=false, search="Your Sword Spec", r=0/256, g=200/256, b=200/256, iscrit=1, class={"Rogue","Warrior"}},
|
Sword Spec Local
--[15]
"Extra Attack!", search="You (.+) extra attack", r=0/256, g=128/256, b=128/256, class={"Warrior","Rogue","Paladin","Shaman","Hunter"}},
|
Extra Attack Local
if the message for windfury in the combat log is : You gain 1 extra attack from windfury totem.
Not sure but something like this might work :
--[15]
"Windfury", search="You (.+) extra attack from Windfury Totem", r=0/256, g=128/256, b=128/256, class={"Warrior","Rogue","Paladin","Shaman","Hunter"}},
|
edit : To clarify I added "from Windfury Totem" because some trinket like Hand of Justice might show "Winfury" when it proc. It's just those different events.
But, if you don't want to juste remove "--" from the line [15] as the programmer said in the comment.
Last edited by aout : 06/17/07 at 7:09 AM.
|
|
|
|
|
|
06/17/07, 8:06 AM
|
#9
|
|
Von Kaiser
Undead Rogue
Lightning's Blade (EU)
|
First glance, i looks like this would just show me that i just got a WF hit , not the actual damage of that hit ?
|
|
|
|
|
|
06/17/07, 9:37 AM
|
#10
|
|
Glass Joe
Undead Rogue
Ner'zhul (EU)
|
Originally Posted by Zeblök
First glance, i looks like this would just show me that i just got a WF hit , not the actual damage of that hit ?
|
That's right it's juste the line you've to search for "the" windfury proc.
I don't remember if the attacks gained from WF are before or after this line but I think SCT registers Cmb Log with this line in a register table :
|
parser:RegisterEvent("sct", "CHAT_MSG_COMBAT_SELF_HITS", SCT.ParseCombat) ;
|
So the damage to display would be the one of the line before ( after ? ), I suppose it would be quite difficult.
|
|
|
|
|
|
|