A list of key-value pairs for dropdown damage types
Basic properties for handling operations
Original copy of the trait's entries
StaticDEFAULT_StaticPARTSConfigure 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_ProtectedProvides default data for a new list entry
Protected_ProtectedProvides 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
InternalThe event handler for active keystrokes on the input field.
The originating keydown event
Protected_ProtectedUpdate internal data snapshot on form change
InternalThe event handler for custom data.
The originating input event
Protected_ProtectedHighlight position that the element will be inserted to on drop
The originating DragEvent
Protected_ProtectedPrepare drag-drop data and highlight dragged element
The originating DragEvent
Protected_ProtectedInject dragged element into its new position
The originating DragEvent
Protected_ProtectedAttach 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 InternalProcesses the input for damage resistance types.
Static_InternalThe event handler for deleting a resistance tag.
The originating click event
Static_InternalAdd a new entry to the list
Static_InternalSave 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
Static_InternalDelete an existing entry from the list
Extend the FormApplication to handle creating, removing, and editing and Actor's Damage Reduction and Energy Resistances.