@@ -103,20 +103,20 @@ Entity.prototype.race_macro_pretty = function() {
103
103
104
104
Entity . prototype . mdelta2 = function ( ) {
105
105
if ( this . stats == null ||
106
- this . stats . mineral_saturation_2 == null ||
107
- this . stats . miningbase_2 == null ) {
106
+ this . stats . mineral_saturation_2_adjusted == null ||
107
+ this . stats . miningbase_2_adjusted == null ) {
108
108
return null ;
109
109
}
110
- return Math . max ( 0 , this . stats . mineral_saturation_2 - this . stats . miningbase_2 ) ;
110
+ return Math . max ( 0 , this . stats . mineral_saturation_2_adjusted - this . stats . miningbase_2_adjusted ) ;
111
111
}
112
112
113
113
Entity . prototype . mdelta3 = function ( ) {
114
114
if ( this . stats == null ||
115
- this . stats . mineral_saturation_3 == null ||
116
- this . stats . miningbase_3 == null ) {
115
+ this . stats . mineral_saturation_3_adjusted == null ||
116
+ this . stats . miningbase_3_adjusted == null ) {
117
117
return null ;
118
118
}
119
- return Math . max ( 0 , this . stats . mineral_saturation_3 - this . stats . miningbase_3 ) ;
119
+ return Math . max ( 0 , this . stats . mineral_saturation_3_adjusted - this . stats . miningbase_3_adjusted ) ;
120
120
}
121
121
122
122
Entity . prototype . color_style = function ( ) {
@@ -640,6 +640,22 @@ gg.factory('Match', ['$ggResource', '$compile', 'Matchnote', function($ggResourc
640
640
}
641
641
642
642
entity . summary . resource_collection_rate_adjusted = Math . round ( entity . summary . resource_collection_rate * speed_multiplier )
643
+ if ( entity . stats . mineral_saturation_1 != null ) {
644
+ entity . stats . mineral_saturation_1_adjusted = Math . round ( entity . stats . mineral_saturation_1 / speed_multiplier )
645
+ }
646
+ if ( entity . stats . mineral_saturation_2 != null ) {
647
+ entity . stats . mineral_saturation_2_adjusted = Math . round ( entity . stats . mineral_saturation_2 / speed_multiplier )
648
+ }
649
+ if ( entity . stats . mineral_saturation_3 != null ) {
650
+ entity . stats . mineral_saturation_3_adjusted = Math . round ( entity . stats . mineral_saturation_3 / speed_multiplier )
651
+ }
652
+
653
+ if ( entity . stats . miningbase_2 != null ) {
654
+ entity . stats . miningbase_2_adjusted = Math . round ( entity . stats . miningbase_2 / speed_multiplier )
655
+ }
656
+ if ( entity . stats . miningbase_3 != null ) {
657
+ entity . stats . miningbase_3_adjusted = Math . round ( entity . stats . miningbase_3 / speed_multiplier )
658
+ }
643
659
}
644
660
645
661
if ( this . MineralsCurrent && this . MineralsCurrent [ entity . identity . id ] ) {
0 commit comments