Browse Source

Nochmal angepasst

Kolja Strohm 6 years ago
parent
commit
822d593a70
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Asteroids/Spiel/Spieler/Spieler.cpp

+ 3 - 3
Asteroids/Spiel/Spieler/Spieler.cpp

@@ -290,7 +290,7 @@ bool Spieler::tick( int time, Karte *zMap )
                 Vertex hp;
                 Vertex mv;
                 float r;
-                double treibstoff = 3 * ( ( current.beschleunigung + team->beschleunigung) / 5 ) 
+                double treibstoff = 0.5 * ( ( current.beschleunigung + team->beschleunigung) / 5 ) 
                      * tv * ( 100 / ( current.antriebEffizienz + team->antriebEffizienz ) );
                 current.treibstoffVerbraucht += treibstoff;
                 double factor = 1;
@@ -330,7 +330,7 @@ bool Spieler::tick( int time, Karte *zMap )
                 Vertex hp;
                 Vertex mv;
                 float r;
-                double treibstoff = 1.5 * ( ( current.wendigkeit + team->wendigkeit ) / 5 )
+                double treibstoff = 0.25 * ( ( current.wendigkeit + team->wendigkeit ) / 5 )
                     * tv * ( 100 / ( current.antriebEffizienz + team->antriebEffizienz ) );
                 current.treibstoffVerbraucht += treibstoff;
                 double factor = 1;
@@ -348,7 +348,7 @@ bool Spieler::tick( int time, Karte *zMap )
                 Vertex hp;
                 Vertex mv;
                 float r;
-                double treibstoff = 0.5 *( ( current.wendigkeit + team->wendigkeit ) / 5 )
+                double treibstoff = 0.25 *( ( current.wendigkeit + team->wendigkeit ) / 5 )
                     * tv * ( 100 / ( current.antriebEffizienz + team->antriebEffizienz ) );
                 current.treibstoffVerbraucht += treibstoff;
                 double factor = 1;