We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0953565 commit 73f8e6bCopy full SHA for 73f8e6b
1 file changed
scripts/IupskvzvoGyD2H5o.js
@@ -31,6 +31,9 @@ if (god)
31
{
32
this.script.notification(`Could not find any Blessings associated with ${god}.`)
33
}
34
- this.item.updateSource({name : this.item.name.replace("Any", god)})
+ if (this.item.name.includes("Any"))
35
+ this.item.updateSource({name: this.item.name.replace("Any", god)});
36
+ else
37
+ this.item.updateSource({name: this.item.name + ` (${god})`});
38
await this.actor.update({"system.details.god.value": god})
39
0 commit comments