Closed kagangtuya-star closed 3 months ago
Thanks for the heads up. I haven't updated anything to v12 because midi QOL isn't there yet, but once it and Chris's premades are available for v12 I will look into this.
I did some repairs and it works fine now
https://github.com/kagangtuya-star/htmlfilter_Print_Fonudry_Character_Sheet/blob/CN_dev/dnd5efilter.js
If someone needs it, you can replace the code file of dnd5efilter.js
directly.
Your changes were incorporated and now the module is compatible with DnD 3.2.1 and 3.1.2.
Closed.
I have updated to DND 3.2.1 and encountered the following issues:
[object Object]
, for example,Rations. ×10, 1 creature, 0.5gp, Weight: [object Object]
. https://github.com/foundryvtt/dnd5e/issues/1909I checked some code and found that part of the data structure was modified. Below is the new format of the
system
part of the items. It seems thatsystem.components.ritual
has been removed and integrated intosystem.properties
.This caused the following parts of the code to fail:
https://github.com/flyingsquad/htmlfilter/blob/85847ef05bfb372ac1e1fbdae5312a48322fb442/dnd5efilter.js#L115 https://github.com/flyingsquad/htmlfilter/blob/85847ef05bfb372ac1e1fbdae5312a48322fb442/dnd5efilter.js#L82