RdDItemArme pour les armes
résolution de souci de dépendance circulaire causée par RdDCombat
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
import { ITEM_TYPES } from "./constants.js";
|
||||
import { Grammar } from "./grammar.js";
|
||||
import { RdDCombatManager } from "./rdd-combat.js";
|
||||
import { RdDInitiative } from "./initiative.mjs";
|
||||
|
||||
export const CATEGORIES_COMPETENCES_CREATURES = {
|
||||
"generale": { base: 0, label: "Générale" },
|
||||
@@ -37,7 +37,7 @@ export class RdDItemCompetenceCreature extends Item {
|
||||
competence: item.name,
|
||||
cac: categorieAttaque == "naturelle" ? "naturelle" : "",
|
||||
niveau: item.system.niveau,
|
||||
initiative: RdDCombatManager.calculInitiative(item.system.niveau, item.system.carac_value),
|
||||
initiative: RdDInitiative.calculInitiative(item.system.niveau, item.system.carac_value),
|
||||
equipe: true,
|
||||
resistance: 100,
|
||||
dommagesReels: item.system.dommages,
|
||||
|
Reference in New Issue
Block a user