Open arbron opened 1 year ago
SpellData#getCardData
returns context.isSpell = true
, but the places isSpell
gets used just do a plain type check for type === "spell"
. This makes it difficult for module subtypes that are spell-like (psionic powers, martial maneuvers from 3pp) to display info as richly as the system-native spells.
Similar issue with property sorting - right now it's a hard check of if ( item.type !== "spell" ) context.properties = sortObjectEntries(context.properties, "label");
, but having this be a (static?) property of a module subtype would allow for more customization