8 lines
281 B
JavaScript
8 lines
281 B
JavaScript
|
if (args.test.characteristicKey == "wp")
|
||
|
{
|
||
|
if (args.test.failed)
|
||
|
{
|
||
|
this.actor.addSystemEffect("convulsions")
|
||
|
this.script.scriptMessage(`Willpower Test failed, <b>${this.actor.prototypeToken.name}</b> gains @Symptom[Convulsions] for [[1d10]] hours`)
|
||
|
}
|
||
|
}
|