Correction combat
This commit is contained in:
parent
3b4c35f173
commit
667845d77d
@ -54,7 +54,7 @@ export class RdDItemArme extends Item {
|
|||||||
return arme.data.categorie_parade;
|
return arme.data.categorie_parade;
|
||||||
}
|
}
|
||||||
// pour compatibilité avec des personnages existants
|
// pour compatibilité avec des personnages existants
|
||||||
if (arme.type == 'competencecreature') {
|
if (arme.type == 'competencecreature' || arme.data.categorie == 'creature' ) {
|
||||||
return arme.data.categorie_parade || (arme.data.isparade ? 'sans-armes' : '');
|
return arme.data.categorie_parade || (arme.data.isparade ? 'sans-armes' : '');
|
||||||
}
|
}
|
||||||
if (!arme.type.match(/arme|competencecreature/)) {
|
if (!arme.type.match(/arme|competencecreature/)) {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "foundryvtt-reve-de-dragon",
|
"name": "foundryvtt-reve-de-dragon",
|
||||||
"title": "Rêve de Dragon",
|
"title": "Rêve de Dragon",
|
||||||
"description": "Rêve de Dragon RPG for FoundryVTT",
|
"description": "Rêve de Dragon RPG for FoundryVTT",
|
||||||
"version": "1.2.34",
|
"version": "1.2.35",
|
||||||
"manifestPlusVersion": "1.0.0",
|
"manifestPlusVersion": "1.0.0",
|
||||||
"minimumCoreVersion": "0.7.5",
|
"minimumCoreVersion": "0.7.5",
|
||||||
"compatibleCoreVersion": "0.7.8",
|
"compatibleCoreVersion": "0.7.8",
|
||||||
|
Loading…
Reference in New Issue
Block a user