Add all systems effects scripts + translations
This commit is contained in:
11
reference_scripts/QRSACifDrvojIXHB.js
Normal file
11
reference_scripts/QRSACifDrvojIXHB.js
Normal file
@ -0,0 +1,11 @@
|
||||
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])
|
||||
{
|
||||
this.actor.removeCondition(choice[0].conditionId)
|
||||
}
|
Reference in New Issue
Block a user