{
RdDUtility.displayInitiativeMenu(html, target.data('combatant-id'));
}
- });
+ }
+ }
+ options.push( {
+ name: "Incrémenter initiative",
+ condition: true,
+ icon: '',
+ callback: target => {
+ RdDUtility.incDecInit(target.data('combatant-id'), +0.01);
+ }
+ } );
+ options.push( {
+ name: "Décrémenter initiative",
+ condition: true,
+ icon: '',
+ callback: target => {
+ RdDUtility.incDecInit(target.data('combatant-id'), -0.01);
+ }
+ } );
}
/* -------------------------------------------- */
diff --git a/system.json b/system.json
index 3f500662..43964d90 100644
--- a/system.json
+++ b/system.json
@@ -2,7 +2,7 @@
"name": "foundryvtt-reve-de-dragon",
"title": "Rêve de Dragon",
"description": "Rêve de Dragon RPG for FoundryVTT",
- "version": "1.3.12",
+ "version": "1.3.13",
"manifestPlusVersion": "1.0.0",
"minimumCoreVersion": "0.7.5",
"compatibleCoreVersion": "0.7.9",
diff --git a/templates/hud-actor-init.html b/templates/hud-actor-init.html
index 22b73058..9865510a 100644
--- a/templates/hud-actor-init.html
+++ b/templates/hud-actor-init.html
@@ -2,9 +2,14 @@
{{#each armes as |arme key|}}
-