Jet de moral neutre sans effet si moral à 0
This commit is contained in:
parent
fb7dbe6ea0
commit
a2968697f4
@ -1612,7 +1612,7 @@ export class RdDActor extends RdDBaseActor {
|
||||
case 'heureux': case 'heureuse': return succes ? 1 : 0;
|
||||
case 'malheureuse': case 'malheureux': return succes ? 0 : -1;
|
||||
case 'neutre':
|
||||
if (succes && moral <= 0) return 1;
|
||||
if (succes && moral < 0) return 1;
|
||||
if (!succes && moral > 0) return -1;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user