Nombreuses corrections sur les fiches settlement/NPC
This commit is contained in:
@@ -57,7 +57,12 @@ export default class OathHammerWeapon extends foundry.abstract.TypeDataModel {
|
||||
// Enchantment description (displayed when isMagic is true)
|
||||
schema.magicEffect = new fields.HTMLField({ required: false, textSearch: true })
|
||||
// Class/lineage restriction, e.g. "Dwarves only" (empty = no restriction)
|
||||
schema.classRestriction = new fields.StringField({ required: true, nullable: false, initial: "" })
|
||||
schema.classRestriction = new fields.StringField({ required: false, nullable: true, initial: null, choices: SYSTEM.CLASS_RESTRICTION_CHOICES })
|
||||
|
||||
// Override which skill (and its linked attribute) is used for attack rolls.
|
||||
// Null / "" = auto-detect (fighting for melee, shooting for ranged).
|
||||
// Use this for abilities like Magic Bolt that roll Magic+Willpower instead.
|
||||
schema.skillOverride = new fields.StringField({ required: false, nullable: true, initial: null })
|
||||
|
||||
return schema
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user