A list of key-value pairs for dropdown damage types
Basic properties for handling operations
Original copy of the trait's entries
Static
DEFAULT_Static
PARTSConfigure a registry of template parts which are supported for this application for partial rendering.
Alias the document property to actor
Alias the name property
Get the data entry length
Return the dragdrop element type for this application
Get the list of data types
Get the list of fields
Configure the title of the window to include the Actor name
Protected
_Protected
Provides default data for a new list entry
Protected
_Protected
Provides update data for saves
Initialize the configuration for this application. Override the default ID to be unique to this entry selector instance based on document and attribute that is being edited.
The provided configuration options for the Application
The final configuration values for the application
Internal
The event handler for active keystrokes on the input field.
The originating keydown event
Protected
_Protected
Update internal data snapshot on form change
Internal
The event handler for custom data.
The originating input event
Protected
_Protected
Highlight position that the element will be inserted to on drop
The originating DragEvent
Protected
_Protected
Prepare drag-drop data and highlight dragged element
The originating DragEvent
Protected
_Protected
Inject dragged element into its new position
The originating DragEvent
Protected
_Protected
Attach event listeners to the rendered application form.
Prepared context data
Provided render options
A triggered operation when any inputs or dropdowns are interacted with to save the data from UI
Protected
_Protected
Internal
Processes the input for damage resistance types.
Static
_Internal
The event handler for deleting a resistance tag.
The originating click event
Static
_Internal
Add a new entry to the list
Static
_Internal
Delete an existing entry from the list
Static
_Internal
Save the new data back to the document.
The originating form submission event
The form element that was submitted
Processed data for the submitted form
The object of the form
Extend the FormApplication to handle creating, removing, and editing and Actor's Damage Reduction and Energy Resistances.