Tremolo4 / stasiscl

Automatically exported from code.google.com/p/stasiscl
0 stars 0 forks source link

Critical heal is not recorded in patch 3.2 #156

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Critical heal is not recorded in patch 3.2

- Symptom
Critical heal is not recorded in patch 3.2

- Description
Combatlog format was updated for direct healing spells with patch 3.2, 
absorption field was added.

- Format
(patch 3.0)
Spell_ID,"Spell Name",Spell_School,AmountHeal,AmountOverHeal,Crit_nil_or_1

(patch 3.2)
Spell_ID,"Spell 
Name",Spell_School,AmountHeal,AmountOverHeal,Absorption,Crit_nil_or_1

- Example of combatlog record
8/30 22:07:46.230  
SPELL_HEAL,0x0300000000AB8072,"Odelle",0x511,0x0300000000AB8072,"Odelle",0x
511,48089,"Circle of Healing",0x2,2759,314,0,nil

- Patch

/lib/Stasis/Parser/V2.pm

## around line 40 (@_@b

my @fheal       = qw/amount critical/;
my @fheal_wlk   = qw/amount extraamount critical/;
my @fheal_wlk32 = qw/amount extraamount absorption critical/; # ++ Insert 
this line

## around line 155 (@_@b

if( @col <= 5 ) {
    @{$result}{ (@fspell, @fheal ) } = @col;
# } else {  # -- Remove this line 
} elsif( @col == 6 ) {  # ++ Insert this line
    @{$result}{ (@fspell, @fheal_wlk) } = @col;
} else {  # ++ Insert this line
    @{$result}{ (@fspell, @fheal_wlk32 ) } = @col;  # ++ Insert this line
}

Original issue reported on code.google.com by odelle2004 on 1 Sep 2009 at 8:52

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Thank you for this fix. Would you know how to get it to display in the charts?

All I've been able to do is get the program to output new variables in the xml 
but
nothing like taking it from a parse...Something like hps values and such. But 
this is
a different variable all together.

Original comment by wwusir...@gmail.com on 29 Sep 2009 at 6:15

GoogleCodeExporter commented 9 years ago
Soz, I'm not sure what you mentioned about. I would show you my parse with my 
patch.

http://www7.atpages.jp/~odelle/report/10man/sws-anubarak-
1253807241/actor_0x0300000000ab8072.html

Anyway, you can find another better patch version at following URI (@_@b
http://code.google.com/p/apostasis/

Original comment by odelle2004 on 30 Sep 2009 at 8:55