Sync to latest WFRP release

This commit is contained in:
2026-02-26 21:53:55 +01:00
parent e0383def30
commit 786afeab74
480 changed files with 4221 additions and 91 deletions

View File

@@ -0,0 +1,14 @@
// Remove the miscast if doubles rolled and succeeded
// Decrement the major miscast to minor miscast
if(args.test.succeeded && args.test.result.tables.miscast && args.test.result.roll % 11 == 0)
{
if (args.test.result.tables.miscast.key == "minormis")
{
delete args.test.result.tables.miscast;
}
else if (args.test.result.tables.miscast.key == "majormis")
{
args.test.result.tables.miscast.key = "minormis"
args.test.result.tables.miscast.label = game.i18n.localize("ROLL.MinorMis");
}
}