Neuanfang mit französischem Modul

This commit is contained in:
2025-05-05 23:25:00 +02:00
parent cf24ef97df
commit 3f74b8dfdd
3135 changed files with 38383 additions and 93206 deletions
-16
View File
@@ -1,16 +0,0 @@
if (!this.actor.effects.find(e => e.isCondition))
{
return this.script.scriptNotification("No Conditions on this Actor")
}
let choice = await ItemDialog.create(this.actor.effects.filter(i => i.isCondition), 1, "Choose a Condition")
if (choice[0])
{
await this.actor.removeCondition(choice[0].conditionId)
}
if (this.actor.effects.find(e => e.isCondition))
{
return false; // Delete the effect if there are still conditions, otherwise, effect remains and provides the bonus
}