AJout icones, rework items
This commit is contained in:
@@ -15,9 +15,28 @@ export const WARHERO_CONFIG = {
|
||||
},
|
||||
|
||||
shieldTypes : {
|
||||
light: {parry: "+1", label: "WH.conf.lightshield"},
|
||||
medium: {parry: "+3", label: "WH.conf.mediumshield"},
|
||||
tower: {parry: "+5", label: "WH.conf.towershield"},
|
||||
light: {parry: "1", label: "WH.conf.lightshield"},
|
||||
medium: {parry: "3", label: "WH.conf.mediumshield"},
|
||||
tower: {parry: "5", label: "WH.conf.towershield"},
|
||||
},
|
||||
|
||||
slotNames : {
|
||||
head: {nbslots: 1, label: "WH.conf.head"},
|
||||
cloak: {nbslots: 1, label: "WH.conf.cloak"},
|
||||
weapon1: {nbslots: 1, label: "WH.conf.weapon1"},
|
||||
weapon2: {nbslots: 1, label: "WH.conf.weapon2"},
|
||||
gloves: {nbslots: 1, label: "WH.conf.gloves"},
|
||||
ring: {nbslots: 10, label: "WH.conf.ring"},
|
||||
dress: {nbslots: 1, label: "WH.conf.dress"},
|
||||
boots: {nbslots: 1, label: "WH.conf.boots"},
|
||||
belt: {nbslots: 6, label: "WH.conf.belt"},
|
||||
quiver: {nbslots: 20, label: "WH.conf.quiver"},
|
||||
armor: {nbslots: 1, label: "WH.conf.armor"},
|
||||
shield: {nbslots: 1, label: "WH.conf.shield"},
|
||||
backpack: {nbslots: 12, label: "WH.conf.backpack"},
|
||||
beltpouch1: {nbslots: 4, label: "WH.conf.beltpouch1"},
|
||||
beltpouch2: {nbslots: 4, label: "WH.conf.beltpouch2"},
|
||||
beltpouch3: {nbslots: 4, label: "WH.conf.beltpouch3"},
|
||||
}
|
||||
|
||||
}
|
@@ -1,12 +1,16 @@
|
||||
import { WarheroUtility } from "./warhero-utility.js";
|
||||
|
||||
export const defaultItemImg = {
|
||||
skill: "systems/fvtt-warhero/images/icons/icon_skill.webp",
|
||||
armor: "systems/fvtt-warhero/images/icons/icon_armour.webp",
|
||||
weapon: "systems/fvtt-warhero/images/icons/icon_weapon.webp",
|
||||
equipment: "systems/fvtt-warhero/images/icons/icon_equipment.webp",
|
||||
race: "systems/fvtt-warhero/images/icons/icon_race.webp",
|
||||
money: "systems/fvtt-warhero/images/icons/icon_money.webp",
|
||||
skill: "systems/fvtt-warhero/images/icons/skills.svg",
|
||||
armor: "systems/fvtt-warhero/images/icons/difesa.webp",
|
||||
weapon: "systems/fvtt-warhero/images/icons/two-handed-sword.svg",
|
||||
equipment: "systems/fvtt-warhero/images/icons/swap-bag.svg",
|
||||
shield: "systems/fvtt-warhero/images/icons/difensiva.webp",
|
||||
race: "systems/fvtt-warhero/images/icons/razze.webp",
|
||||
class: "systems/fvtt-warhero/images/icons/classe.webp",
|
||||
money: "systems/fvtt-warhero/images/icons/two-coins.svg",
|
||||
power: "systems/fvtt-warhero/images/icons/magia.webp",
|
||||
condition: "systems/fvtt-warhero/images/icons/stordenti.webp",
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -239,7 +239,8 @@ export class WarheroUtility {
|
||||
'systems/fvtt-warhero/templates/partial-options-abilities.html',
|
||||
'systems/fvtt-warhero/templates/partial-item-nav.html',
|
||||
'systems/fvtt-warhero/templates/partial-item-description.html',
|
||||
'systems/fvtt-warhero/templates/partial-actor-equipment.html'
|
||||
'systems/fvtt-warhero/templates/partial-item-common-equipment.html',
|
||||
'systems/fvtt-warhero/templates/partial-actor-equipment.html',
|
||||
]
|
||||
return loadTemplates(templatePaths);
|
||||
}
|
||||
@@ -518,9 +519,6 @@ export class WarheroUtility {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
static updateSkill(skill) {
|
||||
skill.system.level = skill.system.background + skill.system.basic + skill.system.class + skill.system.explevel
|
||||
if (skill.system.level > 7) { skill.system.level = 7 }
|
||||
skill.system.skilldice = __skillLevel2Dice[skill.system.level]
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
|
Reference in New Issue
Block a user