A list of key-value pairs for dropdown damage types
Basic properties for handling operations
Original copy of the trait's entries
StaticDEFAULT_StaticPARTSAlias 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_ProtectedDefine whether a user is able to conclude a drag-and-drop workflow for a given drop selector
The candidate HTML selector for the drop target
Can the current user drop on this selector?
Protected_ProtectedDefine whether a user is able to begin a dragstart workflow for a given drag selector
The candidate HTML selector for dragging
Can the current user drag this selector?
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 field input.
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 InternalStatic_InternalThe event handler for deleting a resistance tag.
The originating click event
Static_InternalAdd a new entry to the list
Static_InternalDelete an existing entry from 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
Extend the FormApplication to handle creating, removing, and editing and Actor's Damage Reduction and Energy Resistances.