-
Notifications
You must be signed in to change notification settings - Fork 5
make an outgoing column in the report for cleanses/healing/barrier #89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
make an outgoing column in the report for cleanses/healing/barrier #89
Conversation
… CondiCleanseSelf
|
Thanks for the PR. My first thought is self healing would be included. I wasn't aware that Self cleanses are excluded. Are you aware of a fix to include self cleanses? |
|
The json report from EI splits cleanses into "condiCleanse" and "condiCleanseSelf" fields. You could add them together around here: |
|
Maybe it would be good to show totals and "outgoing only" in the report. |
|
I can certainly add them. Where did you discover that condiCleanse excludes self, is that in the EI docs somewhere? |
|
Huh, I assumed that plenbot was doing the right thing here: https://github.com/Plenyx/PlenBotLogUploader/blob/e7affb563c33ff15cccfafc90bc1dbbda1da6c55/DpsReport/ExtraJSON/PlayerSupport.cs#L13 internal int CondiCleanseTotal => CondiCleanse + CondiCleanseSelf;But also now that I've double checked EI, these comments seem to indicate that "condiCleanse" wouldn't include self cleanses which seems to mean that plenbot is correct: /// <summary>
/// Number of time a condition was cleansed on a squad mate
/// </summary>
public long CondiCleanse;
// ...
/// <summary>
/// Number of time a condition was cleansed from self
/// </summary>
public long CondiCleanseSelf; |
|
Very good, I will follow suit when I get a window. |
|
I updated the PR to add an "outgoing" column to the reports for healing, barrier, and cleanses. I didn't change any sorting, so everything should still be sorted by the total. |
|
Is that change to separate self versus squad number and display both? |
|
Pretty much that. I made it keep track of total and "excluding self" separately. So for cleanses, it displays (CondiCleanse + CondiCleanseSelf) and (CondiCleanse) in separate columns. It ends up looking like this: |
|
It's an idea I just don't want to add a stat to separate personal versus squad healing/cleanses. Keep me posted if you have other ideas. |
Cleanses don't include CondiCleanseSelf, so this PR skips adding healing and barrier with the same source and destination player.
The main players list should be in the same order the outgoingHealingAllies/outgoingBarrierAllies arrays, so this PR just adds an if statement that skips adding healing/barrier if the player index matches healing/barrier index.