This commit is contained in:
2022-09-30 11:54:48 +02:00
parent 27029abc88
commit afe4fc2a1b
3 changed files with 8 additions and 5 deletions

View File

@@ -831,10 +831,13 @@ export class PegasusUtility {
combat.updateEmbeddedDocuments("Combatant", [{ _id: rollData.combatantId, initiative: rollData.finalScore }])
}
// Stun specific -> Suffere a stun level when dmg-res
// Stun specific -> Suffer a stun level when dmg-res for character
if (rollData.subKey && rollData.subKey == "dmg-res") {
actor.modifyStun(+1)
}
if (rollData.isVehicleStun) {
this.modifyVehicleStun(1)
}
//this.removeUsedPerkEffects( rollData) // Unused for now
this.removeOneUseEffects(rollData) // Unused for now