@@ -74,6 +74,11 @@ gg.directive('protosschart', [function() {
7474
7575 macro = scope . match . pmacro ;
7676
77+ speed_multiplier = 1 ;
78+ if ( scope . $parent . match . expansion_tag == 'LotV' ) {
79+ speed_multiplier = 1.4 ;
80+ }
81+
7782 nametoshow = scope . $parent . entity . identity . name ;
7883 idtoshow = scope . $parent . entity . identity . id ;
7984 nexus_stats = macro [ idtoshow ] ;
@@ -85,7 +90,7 @@ gg.directive('protosschart', [function() {
8590 maxout_blob = nexus_stats [ basenum ] [ 1 ] ;
8691 for ( j = 0 ; j < maxout_blob . length ; j ++ ) {
8792 maxout = maxout_blob [ j ]
88- maxouts . push ( [ basenum , maxout [ 0 ] / ( 16.0 * 60.0 ) , maxout [ 1 ] / ( 16.0 * 60.0 ) ] )
93+ maxouts . push ( [ basenum , maxout [ 0 ] / ( 16.0 * 60.0 * speed_multiplier ) , maxout [ 1 ] / ( 16.0 * 60.0 * speed_multiplier ) ] )
8994 }
9095 }
9196
@@ -101,8 +106,8 @@ gg.directive('protosschart', [function() {
101106 _ . each ( scope . $parent . match . engagements , function ( engagement ) {
102107 options . yAxis . plotBands . push ( {
103108 color : 'rgba(150, 50, 50, 0.1)' ,
104- from : engagement [ 0 ] / 960.0 ,
105- to : engagement [ 1 ] / 960.0 ,
109+ from : engagement [ 0 ] / 960.0 / speed_multiplier ,
110+ to : engagement [ 1 ] / 960.0 / speed_multiplier ,
106111 zIndex : 10
107112 } ) ;
108113 } ) ;
@@ -113,7 +118,7 @@ gg.directive('protosschart', [function() {
113118 for ( basenum = 0 ; basenum < numbases ; basenum ++ ) {
114119 chrono_blob = nexus_stats [ basenum ] [ 0 ] ;
115120 for ( chrono = 0 ; chrono < chrono_blob . length ; chrono ++ ) {
116- chronoboosts . push ( [ basenum , chrono_blob [ chrono ] / ( 16.0 * 60.0 ) ] ) ;
121+ chronoboosts . push ( [ basenum , chrono_blob [ chrono ] / ( 16.0 * 60.0 * speed_multiplier ) ] ) ;
117122 }
118123 }
119124
0 commit comments