9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
let regenerate = this.actor.items.getName('Régénération')
|
|
|
|
if (regenerate)
|
|
{
|
|
let effect = regenerate.effects.contents[0]
|
|
let scriptData = effect.getFlag("wfrp4e", "scriptData");
|
|
|
|
scriptData[0].script = scriptData[0].script.replace("1d10", "1d10 * 2")
|
|
} |