removes deprecated commented code

pull/64/head
macniel 2025-10-31 13:00:29 +01:00
parent 0fb82d01e7
commit 819ab5c790
1 changed files with 0 additions and 20 deletions

View File

@ -11,26 +11,6 @@ export class ActiveEffectDataModel extends BaseItem {
unique: new BooleanField({initial: false}), unique: new BooleanField({initial: false}),
effects: new AnyField() effects: new AnyField()
} }
/*
name: String, // Name of Vornachteil will be used for rendering and referencing by other Items
description: HTMLString, // only used for rendering
variant: [String]?, // variant name of Vornachteil e.g. "Mut" in the case of "Herausragende Eigenschaft"
levels: [Number]?, // available levels e.g. 1, 2 in the case of "Flink"
mods: [
{
level: Number?, // in reference to level of the Vornachteil, is null when it does not have any levels or is the only modification
field: String, // Reference to Actor Data e.g. "FF" maps to "FF.mod"
value: Number, // value of the Modification e.g. "+2" maps to 2
requirement: {
field: String // Reference to Actor Data e.g. "BE" maps "be.aktuell"
operation: String // Supported: "<=", ">"
value: Number // Target Value the referenced field has to compare against
}? // optional when the mod does not have an active requirement
}
]
*/
} }
_onCreate(data, options, userId) { _onCreate(data, options, userId) {