@@ -74,6 +74,11 @@ gg.directive('protosschart', [function() {
74
74
75
75
macro = scope . match . pmacro ;
76
76
77
+ speed_multiplier = 1 ;
78
+ if ( scope . $parent . match . expansion_tag == 'LotV' ) {
79
+ speed_multiplier = 1.4 ;
80
+ }
81
+
77
82
nametoshow = scope . $parent . entity . identity . name ;
78
83
idtoshow = scope . $parent . entity . identity . id ;
79
84
nexus_stats = macro [ idtoshow ] ;
@@ -85,7 +90,7 @@ gg.directive('protosschart', [function() {
85
90
maxout_blob = nexus_stats [ basenum ] [ 1 ] ;
86
91
for ( j = 0 ; j < maxout_blob . length ; j ++ ) {
87
92
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 ) ] )
89
94
}
90
95
}
91
96
@@ -101,8 +106,8 @@ gg.directive('protosschart', [function() {
101
106
_ . each ( scope . $parent . match . engagements , function ( engagement ) {
102
107
options . yAxis . plotBands . push ( {
103
108
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 ,
106
111
zIndex : 10
107
112
} ) ;
108
113
} ) ;
@@ -113,7 +118,7 @@ gg.directive('protosschart', [function() {
113
118
for ( basenum = 0 ; basenum < numbases ; basenum ++ ) {
114
119
chrono_blob = nexus_stats [ basenum ] [ 0 ] ;
115
120
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 ) ] ) ;
117
122
}
118
123
}
119
124
0 commit comments