foundryvtt-reve-de-dragon/packs_src/macros/macros_Appel___la_chance_UzAWljmFq5sY702w.yml

34 lines
758 B
YAML
Raw Permalink Normal View History

name: Appel à la chance
type: script
scope: global
author: Hp9ImM4o9YRTSdfu
img: icons/commodities/flowers/clover.webp
command: |-
const selected = game.system.rdd.RdDUtility.getSelectedActor();
if (selected) {
selected.rollAppelChance();
}
else {
ui.notifications.info('Pas de personnage sélectionné');
}
ownership:
default: 0
Hp9ImM4o9YRTSdfu: 3
flags:
core:
sourceId: Macro.XHNbjnGKXaCiCadq
_stats:
systemId: foundryvtt-reve-de-dragon
systemVersion: 11.1.0
coreVersion: '12.331'
createdTime: 1671220038331
modifiedTime: 1671233849101
lastModifiedBy: Hp9ImM4o9YRTSdfu
compendiumSource: Macro.XHNbjnGKXaCiCadq
duplicateSource: null
folder: null
sort: 0
_id: UzAWljmFq5sY702w
_key: '!macros!UzAWljmFq5sY702w'