From 14a892e627a375334a02381351f139d94ad7ecf3 Mon Sep 17 00:00:00 2001 From: ダカマ Date: Mon, 2 Jun 2025 13:08:46 +0200 Subject: First dump --- tgscripts/fvtt-Macro-stance-ac-change.json | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 tgscripts/fvtt-Macro-stance-ac-change.json (limited to 'tgscripts/fvtt-Macro-stance-ac-change.json') diff --git a/tgscripts/fvtt-Macro-stance-ac-change.json b/tgscripts/fvtt-Macro-stance-ac-change.json new file mode 100644 index 0000000..c2c833d --- /dev/null +++ b/tgscripts/fvtt-Macro-stance-ac-change.json @@ -0,0 +1,24 @@ +{ + "name": "Stance-AC-Change", + "type": "script", + "scope": "global", + "author": "3r8Uo5wkrb6EqEZc", + "img": "icons/svg/dice-target.svg", + "command": "main()\n\nasync function main(){\n\nconst his = game.actors.getName(\"Hisui\");\nvar stance = his.data.data.resources.spendable.custom1.current;\nhis.update({ 'system.attributes.ac.base': 11 + stance });\n}", + "flags": { + "exportSource": { + "world": "valoran", + "system": "archmage", + "coreVersion": "10.291", + "systemVersion": "1.23.1" + } + }, + "_stats": { + "systemId": "archmage", + "systemVersion": "1.23.1", + "coreVersion": "10.290", + "createdTime": 1669976113729, + "modifiedTime": 1670077474135, + "lastModifiedBy": "3r8Uo5wkrb6EqEZc" + } +} \ No newline at end of file -- cgit v1.2.3