From 6845e803a5d35ad8a72b10ad445819b2da021a6d Mon Sep 17 00:00:00 2001 From: sladecraven Date: Sun, 23 May 2021 12:00:34 +0200 Subject: [PATCH] FixStun consequence --- module/actor.js | 4 ++-- system.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/actor.js b/module/actor.js index f0ffc54..a13054c 100644 --- a/module/actor.js +++ b/module/actor.js @@ -419,9 +419,9 @@ export class SoSActor extends Actor { } // Stun consequence if ( flipData.nbStun > 0) { - let stun = this.data.items.find( item => item.type == 'consequence' && item.name == 'Sun'); + let stun = this.data.items.find( item => item.type == 'consequence' && item.name == 'Stun'); let newSeverity = stun.severity; - for(i=0; i