Thread Tools Display Modes
07-12-13, 04:06 PM   #1
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Combatlog event SWING_MISSED

Hello,

Been using an addon named Shield Maid for a while now (it's awesome, couldnt tank without it) and i was wondering why an attack that is completely absorbed does not show amount blocked. Tried to figure it out myself but I didn't come further than this:

Code:
SWING_MISSED,0xF130F1FA00019BB0,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA00019BB0,202627,1082,159,0,9916,ABSORB,5347
This used the 100% block spell and an absorb and as you can see it absorbed 5347. Is it just not possible to see the amount blocked when the whole swing is absorbed?
  Reply With Quote
07-12-13, 05:12 PM   #2
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
The third bonus parameter should be the amount missed, according to the wowpedia article.
  Reply With Quote
07-13-13, 05:13 AM   #3
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Yeah, I've checked that site but according to it I should only get 15 parameters to SWING_MISSED, I got 17. And the last is the amount absorbed.
  Reply With Quote
07-13-13, 11:02 AM   #4
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
What you posted doesn't contain the parameters of a combat log event in the order that they appear, so it's impossible to go by what you have.

This is what a SWING_MISSED event looks like:


The 13th argument is not shown because it's nil, and would normally indicate whether it was an off-hand attack.

The 14th argument, had this been an "ABSORB" instead of a "MISS" would have contained the amount absorbed.
  Reply With Quote
07-13-13, 01:48 PM   #5
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
Removed my earlier post.

If that's a verbatim copy from WoWCombatLog.txt something very strange is happening.
The arguments don't match, did you edit that in anyway?

My best guess is that when you replaced your actual name with "name" you did some accidental copy-paste of an earlier part of the string.
  Reply With Quote
07-13-13, 03:45 PM   #6
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Hm, yeah I'm gonna check again just to make sure. I might have made a mistake im not sure

And yeah to make clear, im trying to find the value that is parried, not absorbed.

Let's say something hits for 50 000. 30 000 of that is parried, and the rest, 20 000, is absorbed. It works fine when not the whole amount is absorbed, but somethign wierd is happening when it is. And thanks for the help so far guys

Ok here's some more from the combatlog, I still dont understand it quite:
Code:
 Missed/parried
7/13 23:47:47.876  SWING_MISSED,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,174748,1082,159,0,9916,MISS
7/13 23:47:54.962  SWING_MISSED,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,174748,1082,159,0,9916,PARRY

Standard damage, blocked some of it
7/13 23:48:00.470  SWING_DAMAGE,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,174748,1082,159,0,9916,8008,-1,1,0,3432,0,nil,nil,nil
7/13 23:48:02.470  SWING_DAMAGE,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,174748,1082,159,0,9916,10337,-1,1,0,0,0,nil,nil,nil
7/13 23:48:12.666  SWING_DAMAGE,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,174748,1082,159,0,9916,11195,-1,1,0,0,0,nil,nil,nil

Blocked and absorbed all of it
7/13 23:48:16.278  SWING_MISSED,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,158302,1082,159,0,9916,ABSORB,7400
7/13 23:48:18.269  SWING_MISSED,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,158302,1082,159,0,9916,ABSORB,4363

Last edited by Mock : 07-13-13 at 04:10 PM.
  Reply With Quote
07-13-13, 04:26 PM   #7
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
You can't know how much damage was avoided, it never happened. This is more of a philosophical problem than a technical one.

If you want an estimate of what the damage might have been you could calculate the average damage done by the move in the past.
  Reply With Quote
07-13-13, 04:49 PM   #8
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Ah okay. That's kinda dumb because i know for a fact that the attack got blocked. You can see the mob hit for about 11000.

A non crit block absorbs about 3500 of that. That leaves 7500 that got absorbed. On the other attack that got fully absorbed was a crit block and thats 7000 damage absorbed by block. 11000 - 7000 gives 4000 left to be absorbed by shield barrier.

But as you stated it doesnt say how much got blocked so guess there's no easy way to see this.
  Reply With Quote
07-13-13, 04:55 PM   #9
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
That's not what I said. If the attack was avoided meaning it was dodged, parried or missed, there is no way to know how much it might have done.

If it was blocked or absorbed then the amount is in the event.

You said in your last post that you specifically wanted to know the amount parried not absorbed.
  Reply With Quote
07-13-13, 05:03 PM   #10
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Oh sorry, my bad. Yeah i wrote parried but ment blocked, a little late over here. But yeah in these two swings:

Code:
7/13 23:48:16.278  SWING_MISSED,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,158302,1082,159,0,9916,ABSORB,7400
7/13 23:48:18.269  SWING_MISSED,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,158302,1082,159,0,9916,ABSORB,4363
The mob hit for about 11000. In the first swing 3500 of that was blocked and the remaining 7500 was absorbed.

The second swing the mob still hit for about 11000 but its was a critical block so about 7000 was blocked and the remaining 4000 was absorbed. But the log doesnt state how much was blocked, which is the number i need. Hope this clears it up. Thanks alot for your time by the way
  Reply With Quote
07-13-13, 05:42 PM   #11
semlar
A Pyroguard Emberseer
 
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,060
Having no way to test this myself, and judging by what you've posted, unless there are other events firing it doesn't appear that the combat log is capable of correctly displaying an attack which has been both blocked and absorbed for the full amount.

If this is happening to the player it might be possible to rig something together based on how much the move should have hit for and how much the player is capable of blocking at the time.

I'm curious how you know that the move should have hit for 11000, is that just based on its previous attacks or is it showing up somewhere in the interface?

Last edited by semlar : 07-13-13 at 05:51 PM.
  Reply With Quote
07-13-13, 06:06 PM   #12
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Yeah, that's what i thought Mik Scrolling Battle Text does not show the amount blocked if all is absorbed either so guess the best i can do is to make some estimations. Lotta work though

Anyways, thanks for the help!
  Reply With Quote
07-14-13, 09:07 AM   #13
Mock
A Black Drake
AddOn Author - Click to view addons
Join Date: May 2007
Posts: 83
Oh didn't see your edit.

Yeah i get them from previous attacks, as you can see here:
Code:
7/13 23:48:02.470  SWING_DAMAGE,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,174748,1082,159,0,9916,10337,-1,1,0,0,0,nil,nil,nil
7/13 23:48:12.666  SWING_DAMAGE,0xF130F1FA0000502B,"Harthak Stormcaller",0x10a48,0x0,0x020000000525D12B,"name",0x511,0x0,0xF130F1FA0000502B,174748,1082,159,0,9916,11195,-1,1,0,0,0,nil,nil,nil
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Combatlog event SWING_MISSED


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off