Fix Initiative: utilise l'action, pas l'arme

This commit is contained in:
Vincent Vandemeulebrouck 2022-09-20 00:09:45 +02:00
parent a75ee8fbc6
commit 50980d5216

View File

@ -328,7 +328,7 @@ export class RdDCombatManager extends Combat {
initOffset = 9; initOffset = 9;
initInfo = "Draconic" initInfo = "Draconic"
} else { } else {
compData = RdDItemCompetence.findCompetence(combatant.actor.items, arme.system.competence); compData = RdDItemCompetence.findCompetence(combatant.actor.items, action.system.competence);
compNiveau = compData.system.niveau; compNiveau = compData.system.niveau;
initInfo = action.name + " / " + action.system.competence; initInfo = action.name + " / " + action.system.competence;