Ameliorations lancer de sort

This commit is contained in:
2021-02-02 08:20:42 +01:00
parent fed92b9be3
commit bd78b80c24
2 changed files with 4 additions and 1 deletions

View File

@ -1656,7 +1656,7 @@ export class RdDActor extends Actor {
for ( let sort of sortList) {
let voie = sort.data.draconic.toLowerCase();
let competenceVoie = draconicList.find(item => item.data.categorie == 'draconic' && item.name.toLowerCase().includes( voie ) );
if ( sort.name.toLowerCase().includes('aura') ) {
if ( sort.name.toLowerCase().includes('aura') ) {
competenceVoie = bestDraconic;
}
if (!draconicDone[competenceVoie.name]) {