Modify Skills again
This commit is contained in:
parent
4b0831c427
commit
1143fa0d57
@ -313,7 +313,7 @@ export class CrucibleUtility {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Manage exp
|
// Manage exp
|
||||||
if (rollData.skill) {
|
if (rollData.skill && rollData.skill.data.level > 0) {
|
||||||
let nbSkillSuccess = rollData.roll.terms[2].total
|
let nbSkillSuccess = rollData.roll.terms[2].total
|
||||||
if ( nbSkillSuccess == 0 || nbSkillSuccess == rollData.skill.data.level) {
|
if ( nbSkillSuccess == 0 || nbSkillSuccess == rollData.skill.data.level) {
|
||||||
actor.incrementSkillExp(rollData.skill._id, 1)
|
actor.incrementSkillExp(rollData.skill._id, 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user