Pour lister les compétences de possession/conjuration de manière homogène (tout actor doué de rêve)
47 lines
2.3 KiB
JavaScript
47 lines
2.3 KiB
JavaScript
import { ITEM_TYPES, RDD_CONFIG } from "../constants.js"
|
|
import { CARACS } from "../rdd-carac.js"
|
|
|
|
export const CATEGORIES_COMPETENCES = {
|
|
generale: { key: 'generale', base: -4, label: "Générales" },
|
|
particuliere: { key: 'particuliere', base: -8, label: "Particulières" },
|
|
specialisee: { key: 'specialisee', base: -11, label: "Spécialisées" },
|
|
connaissance: { key: 'connaissance', base: -11, label: "Connaissances" },
|
|
draconic: { key: 'draconic', base: -11, label: "Draconic" },
|
|
melee: { key: 'melee', base: -6, label: "Mêlée" },
|
|
tir: { key: 'tir', base: -8, label: "Tir" },
|
|
lancer: { key: 'lancer', base: -8, label: "Lancer" }
|
|
}
|
|
export const CATEGORIES_COMPETENCE_COMBAT = [CATEGORIES_COMPETENCES.melee, CATEGORIES_COMPETENCES.tir, CATEGORIES_COMPETENCES.lancer].map(it => it.key)
|
|
|
|
export const CATEGORIES_COMPETENCES_CREATURES = {
|
|
generale: { key: 'generale', base: 0, label: "Générale" },
|
|
naturelle: { key: 'naturelle', base: 0, label: "Arme naturelle" },
|
|
melee: { key: 'melee', base: 0, label: "Mêlée" },
|
|
parade: { key: 'parade', base: 0, label: "Parade" },
|
|
tir: { key: 'tir', base: 0, label: "Tir" },
|
|
lancer: { key: 'lancer', base: 0, label: "Lancer" },
|
|
possession: { key: 'possession', base: 0, label: "Possession" },
|
|
}
|
|
|
|
export const POSSESSION_SANS_DRACONIC = {
|
|
name: 'Sans draconic',
|
|
type: ITEM_TYPES.competence,
|
|
img: RDD_CONFIG.icons.possession,
|
|
system: { niveau: 0, defaut_carac: CARACS.REVE_ACTUEL, categorie: CATEGORIES_COMPETENCES.draconic.key }
|
|
}
|
|
|
|
export const PAS_DE_DRACONIC = { name: 'Pas de draconic', type: 'competence', system: { niveau: -11, defaut_carac: "reve" }, img: 'systems/foundryvtt-reve-de-dragon/icons/entites/possession.webp' }
|
|
export const BASE_CORPS_A_CORPS = { name: 'Corps à Corps', type: 'competence', system: { niveau: -6, defaut_carac: "melee" }, img: 'systems/foundryvtt-reve-de-dragon/icons/competence_corps_a_corps.webp' }
|
|
export const BASE_ESQUIVE = { name: 'Esquive', type: 'competence', system: { niveau: -6, defaut_carac: "derobee" }, img: 'systems/foundryvtt-reve-de-dragon/icons/competence_esquive.webp' }
|
|
|
|
export const SANS_COMPETENCE = {
|
|
name: "Sans compétence",
|
|
type: ITEM_TYPES.competence,
|
|
img: "systems/foundryvtt-reve-de-dragon/icons/templates/icone_parchement_vierge.webp",
|
|
system: {
|
|
niveau: 0,
|
|
default_diffLibre: 0,
|
|
categorie: CATEGORIES_COMPETENCES.generale.key,
|
|
}
|
|
}
|