Ajout de la commande /voyage et grosse MAJK de la commande /auberge
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
let halve;
|
||||
if (args.opposedTest.attackerTest.item?.type != "spell")
|
||||
{
|
||||
halve = await Dialog.confirm({title : this.effect.name, content : "Diviser les Dégâts? (Divise les dégats de Feu)"})
|
||||
halve = await foundry.applications.api.DialogV2.confirm({window : {title : this.effect.name}, content : "Divisé les dégats par deux? (Divise les dégats de tout feu par deux)"})
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -11,5 +11,5 @@ else
|
||||
if (halve)
|
||||
{
|
||||
args.totalWoundLoss /= 2;
|
||||
args.modifiers.other.push({label : this.effect.name, details : "Divisé", value : "× 0.5"})
|
||||
args.modifiers.other.push({label : this.effect.name, details : "Divisé par deux", value : "× 0.5"})
|
||||
}
|
||||
Reference in New Issue
Block a user