This commit is contained in:
2021-01-18 11:32:22 +01:00
parent 91517f6a60
commit b89071eeb5
15 changed files with 80 additions and 62 deletions

View File

@ -668,7 +668,11 @@ export class RdDUtility {
compNiveau = competence.data.niveau;
if (actor.data.type == 'creature' || actor.data.type == 'entite') {
initOffset = 3; // Défaut, en général attaque en mélée
caracForInit = competence.data.carac_value;
if ( competence.data.categorie == "lancer") {
initOffset = 5;
}
} else {
caracForInit = actor.data.data.carac[competence.data.defaut_carac].value;
if (competence.data.categorie == "lancer") { // Offset de principe pour les armes de jet