#52 Gestion astrologie
This commit is contained in:
parent
59a54b8a90
commit
3cac9e0279
@ -1516,9 +1516,9 @@ export class RdDActor extends Actor {
|
|||||||
|
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
appliquerExperience( rolled, caracName, competenceName = undefined ) {
|
appliquerExperience( rolled, caracName, competenceName = undefined ) {
|
||||||
// TODO gestion derobe/tir/lance/melee
|
// TODO gestion tir/lance/melee
|
||||||
if (caracName == 'derobee') caracName = 'agilite';
|
if (caracName == 'derobee') caracName = 'agilite';
|
||||||
|
|
||||||
if ( rolled.isPart && rolled.finalLevel < 0) {
|
if ( rolled.isPart && rolled.finalLevel < 0) {
|
||||||
if ( !compentenceName) {
|
if ( !compentenceName) {
|
||||||
this.actor.data.data.carac[caracName].xp += 1;
|
this.actor.data.data.carac[caracName].xp += 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user