34 lines
728 B
YAML
34 lines
728 B
YAML
|
name: Encaissement
|
||
|
type: script
|
||
|
scope: global
|
||
|
author: Hp9ImM4o9YRTSdfu
|
||
|
img: icons/svg/bones.svg
|
||
|
command: |-
|
||
|
const selected = game.system.rdd.RdDUtility.getSelectedActor();
|
||
|
if (selected) {
|
||
|
selected.encaisser();
|
||
|
}
|
||
|
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: 1671234017623
|
||
|
lastModifiedBy: Hp9ImM4o9YRTSdfu
|
||
|
compendiumSource: Macro.XHNbjnGKXaCiCadq
|
||
|
duplicateSource: null
|
||
|
folder: null
|
||
|
sort: 0
|
||
|
_id: WD6T8AdRbX2Ylxqe
|
||
|
_key: '!macros!WD6T8AdRbX2Ylxqe'
|
||
|
|