diff --git a/psychorientation/psychorientation/eleve.cs b/psychorientation/psychorientation/eleve.cs index 1f2d64c0269d7cb5f01444734b4f20c44f25bf69..10f13c29e5561fe818a730f43e850f9cc3a1b3ba 100644 --- a/psychorientation/psychorientation/eleve.cs +++ b/psychorientation/psychorientation/eleve.cs @@ -143,7 +143,7 @@ namespace psychorientation { if (note > note_convenable) { - effort += 0.25; + effort += 0.25 * (1 - (competence * 0.1)); } else { @@ -158,7 +158,7 @@ namespace psychorientation } else { - if(competence > 5) + if (competence > 5) { effort += 1; }