summaryrefslogtreecommitdiff
path: root/tgscripts/fvtt-Macro-stance-ac-change.json
diff options
context:
space:
mode:
Diffstat (limited to 'tgscripts/fvtt-Macro-stance-ac-change.json')
-rw-r--r--tgscripts/fvtt-Macro-stance-ac-change.json24
1 files changed, 24 insertions, 0 deletions
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