Update 1 of 2: Panic Check table name update
This commit is contained in:
@@ -1301,6 +1301,11 @@ export class MothershipActor extends Actor {
|
||||
rollString = chosenRollType[0];
|
||||
}
|
||||
//table specific customizations
|
||||
//if a table has details in parenthesis, lets remove them
|
||||
if (tableName.includes(' (')) {
|
||||
//extract dice needed
|
||||
tableName = tableName.substr(0,tableName.indexOf(' ('));
|
||||
}
|
||||
//if a wound table, add a wound to the player and prepare text for the final message
|
||||
if (tableName.slice(-5) === 'Wound') {
|
||||
let addWound = await this.modifyActor('system.hits.value',1,null,false);
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1 +0,0 @@
|
||||
MANIFEST-000012
|
||||
@@ -1,3 +0,0 @@
|
||||
2023/10/02-20:32:57.625 ac04 Recovering log #11
|
||||
2023/10/02-20:32:57.642 ac04 Delete type=0 #11
|
||||
2023/10/02-20:32:57.642 ac04 Delete type=3 #10
|
||||
@@ -1,3 +0,0 @@
|
||||
2023/10/01-08:46:00.608 7d28 Recovering log #7
|
||||
2023/10/01-08:46:00.627 7d28 Delete type=0 #7
|
||||
2023/10/01-08:46:00.627 7d28 Delete type=3 #5
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
@@ -1 +0,0 @@
|
||||
MANIFEST-000012
|
||||
@@ -1,3 +0,0 @@
|
||||
2023/10/02-20:32:57.518 ac5c Recovering log #11
|
||||
2023/10/02-20:32:57.547 ac5c Delete type=0 #11
|
||||
2023/10/02-20:32:57.547 ac5c Delete type=3 #10
|
||||
@@ -1,3 +0,0 @@
|
||||
2023/10/01-08:46:00.560 8034 Recovering log #7
|
||||
2023/10/01-08:46:00.582 8034 Delete type=0 #7
|
||||
2023/10/01-08:46:00.582 8034 Delete type=3 #5
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user