Good afternoon. I'm using your Drag Ruler module with the "Fallout" game system in Foundry.
It used to work for me (several versions ago), but I think the class hierarchy has changed--in either Foundry, or the Fallout module, or both. I'm a developer, but not so much with JS. So, I was wondering if you could help me find out what to put in the Speed Attribute field so that "Drag Ruler" could access the AGI stat?
I have tried:
actor.system.attributes.agi.value
system.attributes.agi.value
But each of those seems to give different variants of the same error:
Error: You are accessing TokenDocument#actorData which has been migrated to TokenDocument#delta Deprecated since Version 11 Backwards-compatible support will be removed in Version 13
And
Error: You are accessing globalThis.mergeObject which must now be accessed via foundry.utils.mergeObject Deprecated since Version 12 Backwards-compatible support will be removed in Version 14
However, when I use the browser console to access this attribute using:
game.actors.getName(<my character's name here>).system.attributes.agi.value
It works just fine.
Can you help me to understand if there is another way to call the AGI attribute?
Foundry: 12 v331 Fallout: 11.13.0 Drag Ruler: 1.14.2
Good afternoon. I'm using your Drag Ruler module with the "Fallout" game system in Foundry.
It used to work for me (several versions ago), but I think the class hierarchy has changed--in either Foundry, or the Fallout module, or both. I'm a developer, but not so much with JS. So, I was wondering if you could help me find out what to put in the Speed Attribute field so that "Drag Ruler" could access the AGI stat?
I have tried:
But each of those seems to give different variants of the same error:
Error: You are accessing TokenDocument#actorData which has been migrated to TokenDocument#delta Deprecated since Version 11 Backwards-compatible support will be removed in Version 13
And
Error: You are accessing globalThis.mergeObject which must now be accessed via foundry.utils.mergeObject Deprecated since Version 12 Backwards-compatible support will be removed in Version 14
However, when I use the browser console to access this attribute using:
game.actors.getName(<my character's name here>).system.attributes.agi.value
It works just fine.
Can you help me to understand if there is another way to call the AGI attribute?
Thx,