v11.2.2 - Les tendres moments d'Akarlikarlikar #685

Merged
uberwald merged 15 commits from VincentVk/foundryvtt-reve-de-dragon:v11 into v11 2023-11-24 08:51:06 +01:00
Showing only changes of commit ed7471875f - Show all commits

View File

@ -166,7 +166,11 @@ export class RdDItemArme extends Item {
}
static isArmeUtilisable(arme) {
return arme.type == TYPES.arme && arme.system.equipe && (arme.system.resistance > 0 || arme.system.portee_courte > 0);
switch (arme.type) {
case TYPES.arme: return arme.system.equipe && (arme.system.resistance > 0 || arme.system.portee_courte > 0)
case TYPES.competencecreature: return true
}
return false
}
static ajoutCorpsACorps(armes, actor) {