Skip to content
Snippets Groups Projects
Commit 68960906 authored by Antoine Félix's avatar Antoine Félix
Browse files

Rééquilibrage avec le nouveau levier des notations.

parent 32c78b1c
No related merge requests found
...@@ -113,7 +113,7 @@ namespace psychorientation ...@@ -113,7 +113,7 @@ namespace psychorientation
if (effort < 0) { effort = 0; } if (effort < 0) { effort = 0; }
else if (effort > 10) { effort = 10; } else if (effort > 10) { effort = 10; }
this.competence += (((effort * 0.1) - 0.3) * (1.2 - (competence * 0.1))); this.competence += (((effort * 0.1) - 0.5) * (1.2 - (competence * 0.1))) * (1.0 / 4);
if (competence < 0) { competence = 0; } if (competence < 0) { competence = 0; }
else if (competence > 10) { competence = 10; } else if (competence > 10) { competence = 10; }
...@@ -140,7 +140,7 @@ namespace psychorientation ...@@ -140,7 +140,7 @@ namespace psychorientation
{ {
if (note >= note_convenable) if (note >= note_convenable)
{ {
effort -= 0.25; effort -= 0.5;
} }
else else
{ {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment