Added LinkedItems for class. Added autoremoval of features and linkeditems when the related item is removed.

This commit is contained in:
WBHarry 2025-07-22 04:48:21 +02:00
parent 6336f2a60f
commit df8b96e9bc
16 changed files with 202 additions and 118 deletions

View file

@ -1311,7 +1311,7 @@ export const featureTypes = {
}
};
export const featureSubTypes = {
export const itemLinkFeatureTypes = {
primary: 'primary',
secondary: 'secondary',
hope: 'hope',
@ -1321,6 +1321,20 @@ export const featureSubTypes = {
mastery: 'mastery'
};
export const itemLinkItemTypes = {
primaryWeapon: 'primaryWeapon',
secondaryWeapon: 'secondaryWeapon',
armor: 'armor',
choiceA: 'choiceA',
choiceB: 'choiceB',
take: 'take'
};
export const itemLinkTypes = {
...itemLinkFeatureTypes,
...itemLinkItemTypes
};
export const actionTypes = {
passive: {
id: 'passive',