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

25 lines
524 B
YAML
Raw 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
folder: null
sort: 0
_id: UzAWljmFq5sY702w
_stats:
systemId: foundryvtt-reve-de-dragon
systemVersion: 12.0.22
coreVersion: '12.331'
_key: '!macros!UzAWljmFq5sY702w'