7 lines
410 B
JavaScript
7 lines
410 B
JavaScript
|
|
||
|
let fatigued = this.actor.hasCondition("fatigued")
|
||
|
if (!fatigued)
|
||
|
{
|
||
|
this.actor.addCondition("fatigued")
|
||
|
ui.notifications.notify("Fatigued added to " + this.actor.name + " which cannot be removed until the Malaise symptom is gone.")
|
||
|
}
|