[X] I searched for existing Bug Reports and found no similar reports.
Expected Behavior
If i add a monster from a JSON coming from 5e.tools, the AC should be fully transfered.
In the Picture for example i would expect to get AC: 22 (natural armor)
Current behaviour
Right now it only takes the numeric AC. In the above example its AC: 22
Reproduction
Install the Fantasy Statblock Plugin
Go to 5e.tools and download the JSON file from the Ancient Black Dragon
Import the file
See that it ignores the "from keyword
Which Operating Systems are you using?
[ ] Android
[ ] iPhone/iPad
[ ] Linux
[ ] macOS
[X] Windows
Obsidian Version Check
1.5.3
Plugin Version
3.17.0
Confirmation
[ ] I have disabled all other plugins and the issue still persists.
Possible solution
At the point where it takes the numeric ac it would be enough to look for the "from" key and if it exists, ac would need to be structured as in the 5e.tools JSON. So key ac, value {ac: 22, "from": ["natural armor"]}.
The reason for the array is that for example the monster "Azer" from the Monster Manual has two sources of their ac
The problem here is the maybe needed sanitization needed to make "{@item shield|phb}" to "shield".
And if its in the database, it only needs to put the value of "from" in brackets after the numeric ac.
Check for existing bug reports before submitting.
Expected Behavior
If i add a monster from a JSON coming from 5e.tools, the AC should be fully transfered. In the Picture for example i would expect to get AC: 22 (natural armor)
Current behaviour
Right now it only takes the numeric AC. In the above example its AC: 22
Reproduction
Which Operating Systems are you using?
Obsidian Version Check
1.5.3
Plugin Version
3.17.0
Confirmation
Possible solution
At the point where it takes the numeric ac it would be enough to look for the "from" key and if it exists, ac would need to be structured as in the 5e.tools JSON. So key ac, value {ac: 22, "from": ["natural armor"]}. The reason for the array is that for example the monster "Azer" from the Monster Manual has two sources of their ac The problem here is the maybe needed sanitization needed to make "{@item shield|phb}" to "shield". And if its in the database, it only needs to put the value of "from" in brackets after the numeric ac.