-
-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Make progress data (that is expirationTime/duration/value/total/etc) far less special state properties * Instead state metadata can now describe multiple properties as progress values and which other properties are relevant, e.g. charge = { display = "Charges", type = "number", total = "totalCharge" } will allow the user to select "charge" as progress source, which will automatically use state.totalCharge for the total value. Or someTime = { display = "X", type = "timer", total = "propertyName", modRate = "propertyName", inverse = "propertyName", paused = "propertyName", remaining = "propertyName" } All of the additional properties are optional. And lastly, someOtherTime = { display = "Y", type = "elapsedTimer" } For progress sources that are past time stamps. * Stacks, Unit count, etc are all potential progress sources now. * On the Display tab, the progress source can be selected from any trigger. * Conditions can switch the progress source * Ticks progress source is configurable and can be different from the main aura. This can be used via custom trigger to augment a main trigger * state.autoHide can be a time point at which the state should automatically hide. * Some behaviour changes, e.g. animations now observe the paused/remaining time and min/max progress settings * Probably some regressions Fixes: #4527 Fixes: #1449
- Loading branch information
1 parent
2e09424
commit 12b4c29
Showing
30 changed files
with
2,120 additions
and
1,275 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.