This commit is contained in:
rwanoux
2024-06-24 08:56:59 +02:00
parent f4a56aa6b0
commit a163528acb
2 changed files with 12 additions and 14 deletions
+1
View File
@@ -62,6 +62,7 @@ export class VermineActor extends Actor {
// Calculate the modifier using d20 rules. // Calculate the modifier using d20 rules.
ability.mod = Math.floor((ability.value - 10) / 2); ability.mod = Math.floor((ability.value - 10) / 2);
} }
} }
/** /**
-3
View File
@@ -176,7 +176,4 @@ export class VermineActorSheet extends ActorSheet {
// Finally, create the item! // Finally, create the item!
return await Item.create(itemData, { parent: this.actor }); return await Item.create(itemData, { parent: this.actor });
} }
async getGroup() {
return await game.actors.find(group => { group == group - 1 })
}
} }