@mothership-rpg/wounds
v1.0.2
Published
A library for generating wounds in Mothership RPG
Downloads
72
Readme
@mothership-rpg/wounds
Wound generation
❯ npm install @mothership-rpg/wounds
import { Wound, BluntForce } from "@mothership-rpg/wounds";
const wound = new Wound(BluntForce);
console.log(wound.rollSeverity());
Output:
Character {
maxWounds: 2,
skills: [
TrainedSkill { name: 'Industrial Equipment', dependsOn: undefined },
TrainedSkill { name: 'Zero-G', dependsOn: undefined },
ExpertSkill { name: 'Pathology', dependsOn: [Array] },
TrainedSkill { name: 'Botany', dependsOn: undefined }
],
classType: Teamster {
TRAUMA_RESPONSE: 'Once per session, you may take advantage on a panic check.'
},
saves: { sanity: 30, fear: 38, body: 23 },
stats: { strength: 49, speed: 34, intellect: 50, combat: 38 },
name: 'Jill Robel'
}