This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
if (args.opposedTest.result.hitloc.value == "body")
|
||||
if (args.loc == "body")
|
||||
{
|
||||
if ((await new Roll("1d2").roll()).total == 1)
|
||||
{
|
||||
args.opposedTest.result.hitloc.value = "head"
|
||||
this.script.message(`Localisation du coup changé pour la tête`)
|
||||
args.loc = "head"
|
||||
args.AP = foundry.utils.deepClone(args.actor.status.armour[args.loc]);
|
||||
this.script.message(`Localisation du coup changée pour la tête`)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user