Files
fvtt-prism-rpg/module/config/armor.mjs
T
2025-11-06 00:01:59 +01:00

46 lines
1.1 KiB
JavaScript

export const TYPE = Object.freeze({
light: { id: "light", label: "PRISMRPG.Armor.Category.light" },
medium: { id: "medium", label: "PRISMRPG.Armor.Category.medium" },
heavy: { id: "heavy", label: "PRISMRPG.Armor.Category.heavy" }
})
// Base AC values for armor proficiency levels
export const BASE_AC = Object.freeze({
light: 12, // +Prowess, Competence, or Grace
medium: 14, // +Authority, Cunning, or Resilience
heavy: 16 // +Presence, Tenacity, or Willpower
})
// AC bonus sub-attributes for each armor type
export const AC_BONUS_ATTRIBUTES = Object.freeze({
light: ["prowess", "competence", "grace"],
medium: ["authority", "cunning", "resilience"],
heavy: ["presence", "tenacity", "willpower"]
})
// Withstand action APC cost for each armor type
export const WITHSTAND_APC = Object.freeze({
light: 1,
medium: 2,
heavy: 3
})
// Armor set composition requirements
export const SET_REQUIREMENTS = Object.freeze({
light: {
light: 2,
medium: 0,
heavy: 0
},
medium: {
light: 3,
medium: 1,
heavy: 0
},
heavy: {
light: 3,
medium: 2,
heavy: 1
}
})