Is there any way to get info of my party member's last combat (out of my group)?
GeoffreyChen777 opened this issue · 2 comments
Hi, love your awesome addon.
I'm an author of an addon. I want to use the dps/hps info of my party member's last combat (we are not in the same group when he encounter his last battle).
Is there any way to get this information?
For example, he would send this information through SendAddonMessage
if I request.
Thanks!
local combat = Details:GetCurrentCombat()
local combatTime = combat:GetCombatTime()
local player = combat:GetActor( DETAILS_ATTRIBUTE_DAMAGE,
"character_name" )
local playerDamage = player.total
local DPS = playerDamage / combatTime
…------ Original Message ------
From: "GeoCh" <[email protected]>
To: "Tercioo/Details-Damage-Meter"
<[email protected]>
Cc: "Subscribed" <[email protected]>
Sent: 08-Aug-20 6:37:06 AM
Subject: [Tercioo/Details-Damage-Meter] Is there any way to get info of
my party member's last combat? (#95)
Hi, love your awesome addon.
I'm an author of an addon. I want to use the dps/hps info of my party
member's last combat (we are not in the same group when he encounter
his last battle).
Is there any way to get this information?
For example, he would send this information through SendAddonMessage if
I request.
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FTercioo%2FDetails-Damage-Meter%2Fissues%2F95&data=02%7C01%7C%7Cdd94b85d637f4eec2dcf08d83b7e9da8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637324762275017517&sdata=wqnXIUI%2FnPJBeh9XuVWGorvL7hgXYuk0T5VmALgmGxQ%3D&reserved=0>,
or unsubscribe
<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACEVKWELVQ5OXZL7QWLJA6TR7UMEFANCNFSM4PYSJWEA&data=02%7C01%7C%7Cdd94b85d637f4eec2dcf08d83b7e9da8%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637324762275027513&sdata=iz83wiJ2JG4itK3f0d9eib6WGC12pXWd0HSyz9mTpDo%3D&reserved=0>.
Hi @Tercioo , thanks for your reply.
I and my current group member(e.g., PlayerA) are NOT in the SAME group when he(PlayerA) encounter his last battle(e.g., BossA). Maybe I and PlayerA have never met before, or I was doing something else.
Does these code can get the dps during BossA?