npc sheet
This commit is contained in:
@@ -12,11 +12,11 @@ VERMINE.AgeTypes = {
|
||||
}
|
||||
|
||||
VERMINE.SkillLevels = {
|
||||
1:{ "label":"VERMINE.skill_level.beginner", "dicePool":1, "reroll":0},
|
||||
2:{ "label":"VERMINE.skill_level.proficient", "dicePool":1, "reroll":1},
|
||||
3:{ "label":"VERMINE.skill_level.expert", "dicePool":2, "reroll":1},
|
||||
4:{ "label":"VERMINE.skill_level.master", "dicePool":2, "reroll":2},
|
||||
5:{ "label":"VERMINE.skill_level.legend", "dicePool":3, "reroll":2}
|
||||
1:{ "label":"SKILL_LEVELS.beginner", "dicePool":1, "reroll":0},
|
||||
2:{ "label":"SKILL_LEVELS.proficient", "dicePool":1, "reroll":1},
|
||||
3:{ "label":"SKILL_LEVELS.expert", "dicePool":2, "reroll":1},
|
||||
4:{ "label":"SKILL_LEVELS.master", "dicePool":2, "reroll":2},
|
||||
5:{ "label":"SKILL_LEVELS.legend", "dicePool":3, "reroll":2}
|
||||
}
|
||||
|
||||
VERMINE.DifficultyLevels = {
|
||||
@@ -27,6 +27,27 @@ VERMINE.DifficultyLevels = {
|
||||
5:{ "label":"DIFFICULTY_LEVELS.impossible", "difficulty":10}
|
||||
},
|
||||
|
||||
VERMINE.ThreatLevels = {
|
||||
1:{ "label":"THREAT_LEVELS.minor", "attack":3, "vigor":1, "minorWound":1, "majorWound":1, "deadlyWound":1},
|
||||
2:{ "label":"THREAT_LEVELS.serious", "attack":4, "vigor":2, "minorWound":2, "majorWound":1, "deadlyWound":1},
|
||||
3:{ "label":"THREAT_LEVELS.major", "attack":5, "vigor":3, "minorWound":2, "majorWound":1, "deadlyWound":1},
|
||||
4:{ "label":"THREAT_LEVELS.deadly", "attack":6, "vigor":4, "minorWound":2, "majorWound":2, "deadlyWound":2},
|
||||
}
|
||||
|
||||
VERMINE.ExperienceLevels = {
|
||||
1:{ "label":"SKILL_LEVELS.beginner", "action":3, "specialties":4, "rerolls":0, "contact":"7"},
|
||||
2:{ "label":"SKILL_LEVELS.proficient", "action":3, "specialties":5, "rerolls":0, "contact":"5 ou 7"},
|
||||
3:{ "label":"SKILL_LEVELS.expert", "action":4, "specialties":6, "rerolls":1, "contact":"5,7 ou 9"},
|
||||
4:{ "label":"SKILL_LEVELS.master", "action":4, "specialties":6, "rerolls":2, "contact":"3,5,7 ou 9"},
|
||||
}
|
||||
|
||||
VERMINE.RoleLevels = {
|
||||
1:{ "label":"ROLE_LEVELS.minor", "reaction":3, "reaction_bonus":0, "pools":0, "gear":9, "gear_hindrance":0, "protection":1},
|
||||
2:{ "label":"ROLE_LEVELS.secondary", "reaction":3,"reaction_bonus":1, "pools":1, "gear":9,"gear_hindrance":1, "protection":2},
|
||||
3:{ "label":"ROLE_LEVELS.important", "reaction":3, "reaction_bonus":2, "pools":2, "gear":9,"gear_hindrance":2, "protection":3},
|
||||
4:{ "label":"ROLE_LEVELS.major", "reaction":4, "reaction_bonus":2, "pools":4, "gear":10, "gear_hindrance":2, "protection":3},
|
||||
}
|
||||
|
||||
VERMINE.abilityCategories = {
|
||||
"physical": {
|
||||
"label":"VERMINE.ability_category.physical"
|
||||
|
||||
@@ -61,6 +61,42 @@ export const registerHandlebarsHelpers = function () {
|
||||
|
||||
});
|
||||
|
||||
// return threat level information
|
||||
Handlebars.registerHelper('threatLevel', function (property, level, options) {
|
||||
if (level < 1 || level > 5)
|
||||
return "";
|
||||
let levelData = CONFIG.VERMINE.ThreatLevels[level];
|
||||
if (property == 'label'){
|
||||
return (levelData !== undefined) ? game.i18n.localize(levelData[property]) : "";
|
||||
} else {
|
||||
return (levelData !== undefined) ? levelData[property] : "";
|
||||
}
|
||||
});
|
||||
|
||||
// return experience level information
|
||||
Handlebars.registerHelper('experienceLevel', function (property, level, options) {
|
||||
if (level < 1 || level > 5)
|
||||
return "";
|
||||
let levelData = CONFIG.VERMINE.ExperienceLevels[level];
|
||||
if (property == 'label'){
|
||||
return (levelData !== undefined) ? game.i18n.localize(levelData[property]) : "";
|
||||
} else {
|
||||
return (levelData !== undefined) ? levelData[property] : "";
|
||||
}
|
||||
});
|
||||
|
||||
// return role level information
|
||||
Handlebars.registerHelper('roleLevel', function (property, level, options) {
|
||||
if (level < 1 || level > 5)
|
||||
return "";
|
||||
let levelData = CONFIG.VERMINE.RoleLevels[level];
|
||||
if (property == 'label'){
|
||||
return (levelData !== undefined) ? game.i18n.localize(levelData[property]) : "";
|
||||
} else {
|
||||
return (levelData !== undefined) ? levelData[property] : "";
|
||||
}
|
||||
});
|
||||
|
||||
// return skill level information
|
||||
Handlebars.registerHelper('skillLevel', function (property, level, options) {
|
||||
if (level < 1 || level > 5)
|
||||
|
||||
Reference in New Issue
Block a user