Fix malus
This commit is contained in:
@@ -304,12 +304,12 @@ export class HeritiersActor extends Actor {
|
||||
/* -------------------------------------------- */
|
||||
getPvMalus() {
|
||||
if (this.system.pv.value > 0) {
|
||||
if (this.system.pv.value < this.system.pv.max / 2) {
|
||||
return { name: "Santé", value: -1 }
|
||||
}
|
||||
if (this.system.pv.value < 5) {
|
||||
return { name: "Santé", value: -2 }
|
||||
}
|
||||
if (this.system.pv.value < this.system.pv.max / 2) {
|
||||
return { name: "Santé", value: -1 }
|
||||
}
|
||||
return { name: "Santé", value: 0 }
|
||||
}
|
||||
return { name: "Moribond(e)", value: -50 }
|
||||
|
Reference in New Issue
Block a user