Commit Graph
267 Commits
Author SHA1 Message Date
BeautiDemise 0d132fe180 Bugfix: Community icons not displaying correctly when Limbus style icons are enabled 2025-05-08 04:22:18 +02:00
BeautiDemise daf6adb25e Bugfix: Community icons not displaying correctly in ailment update messages 2025-04-20 16:15:50 +02:00
BeautiDemise fb070474ac Bugfix: Community icons used for ailments were not displaying correctly in AutoEffects 2025-01-16 00:22:51 +01:00
BeautiDemise f71455453a Temp Bugfix: Bleed and On Action ailment AutoEffects were not applying correctly when possessing the ailment before an action
- Also causes status bar values to calculate incorrectly when multiple On Action ailments affect the same bar. This issue will be fixed in 1.0
- The fix causes On Action ailments to not update when the AutoEffect code encounters an error. This will be fixed in 1.0
2025-01-01 23:32:12 +01:00
BeautiDemise efd4abbdde Bugfix: Actions buttons were generated but not sent to char for the damage helper and challenge rolls
- They were also not getting an attribute required to generate the buttons
2024-10-10 06:02:07 +02:00
BeautiDemise 5008142aa0 Bugfixes:
- Give Ailments action button was not working
- FlatDamage could not use the target option
2024-10-09 03:13:36 +02:00
BeautiDemise a4544008fc Bugfix: CustomMessages could not use the target option 2024-10-09 02:46:26 +02:00
BeautiDemise a2950752c0 Bugfix: ChallengeRolls could not use the silent option 2024-10-09 02:11:52 +02:00
BeautiDemise 10d430ea76 Bugfix: Conditional AutoEffects from different AutoScripts were bit seperated by resets and could as such affect one another 2024-10-09 02:02:26 +02:00
BeautiDemise f6d7a7ecc8 Feature: Checks not using the #Scaling option can now use scaling set by other checks 2024-10-08 16:56:06 +02:00
BeautiDemise 1def78d85d Bugfixes/Cleanup: AutoEffect code improvements, part 1
- Fixes commas and quotes not being allowed in CustomMessage formats
- Begins work of improving the AutoEffect code. CustomMessage has so far been improved
2024-10-07 11:48:06 +02:00
BeautiDemise 57ad9b5425 Debug: Added custom log() function 2024-10-07 11:10:21 +02:00
BeautiDemise 6a16a3b08c Bugfix: autoScriptMain was not properly retrieving target values 2024-10-06 13:18:53 +02:00
BeautiDemise a2092b93bf Improved targeting, part 2:
- Reverted back to the old loop based update system. setAttrsById is very inconsistent
- All new setAttrsById code is preserved for potential later use
2024-10-06 13:02:23 +02:00
BeautiDemise dad821c84c Bugfix: The targeting display was not recieving stagger res updates 2024-10-05 20:33:24 +02:00
BeautiDemise ffd1e74f93 Improved targeting, part 1:
- Fixes and improves the targeting code, making it work for players (it was broken for everyone but GMs)
- The target display now updates in real time without the need for the "Auto: Update on Round end" setting
- Adds get/setAttrsById(), which retrieves or sets values to *any* sheet with a known character_id. Opens up a massive amount of potential new features
2024-10-04 22:24:38 +02:00
BeautiDemise b945eae8f2 Bugfix/Feature: Made the Require and Consume AutoEffects be affected by failed checks, allowing nesting checks
- Must now use Reset to return to checkSuccess
- May break a few current AutoScripts. Most will however be fine as AutoScripts from different sources (weapon effects - skill effects - trigger 1 - trigger 2 - etc.) are already seperated by hidden resets
2024-10-03 07:35:49 +02:00
BeautiDemise 5d4e74d76a Bugfix/feature: Added #IgnoreFailure option for conditionals which makes the button be revealed even if a check fails. Does not affect any subsequent failures when using the button 2024-10-03 07:02:59 +02:00
BeautiDemise b9196e6876 Cleanup:
- Optimized updateBleed and updateCustomAilments code
2024-10-03 04:16:47 +02:00
BeautiDemise e6f1067500 Bugfix: The damage helper and challenge rolls were not supporting action buttons 2024-10-03 03:57:56 +02:00
BeautiDemise d1eafe8755 Cleanup/bugfix:
- Optimized updateAilments code
- Proc AutoEffect was triggering Round start AutoScripts
- Proc AutoEffect was hindering gaining Smoke or Charge from the same action
2024-10-03 02:02:05 +02:00
BeautiDemise d311f609d0 Bugfix: General sheet settings attribute in sheet.json has not been renamed from sheetSettingSource 2024-10-02 22:34:53 +02:00
BeautiDemise f3d82da2d2 Feature/bugfix: Damage Resistance and Protection now apply to after resistance damage (Fragile, Smoke, Rupture etc.) 2024-10-01 07:51:59 +02:00
BeautiDemise e303307bb0 Clanup: Optimized Damage Helper code 2024-10-01 06:03:23 +02:00
BeautiDemise 36ff73b6ee Cleanup: Optimized some code
- Removes a few dozen getAttrs and setAttrs across the v0.7 code
- Also removes one getAttrs and a couple of setAttrs from autoScriptMain
- Many functions can now return their output instead of setting the attributes themselves, allowing for multiple outputs to be set in one setAttrs
- Functionality remains unchanged
2024-10-01 05:41:19 +02:00
BeautiDemise d68a4a2ed5 Bugfix: Consume using the Target option was not properly consuming custom ailments from the target 2024-10-01 01:25:44 +02:00
BeautiDemise 9c7ac86038 Cleanup: Removed a console.log() 2024-10-01 01:15:09 +02:00
BeautiDemise d16f05fb7e Feature: Updated the name of the new "Sheet settings" functionality to "General settings" to avoid confusion with Default sheet settings 2024-09-30 23:46:42 +02:00
BeautiDemise ed06948777 Bugfix: When using targeting, the target's name was not being displayed in messages for Defense and Evade actions 2024-09-30 23:46:26 +02:00
BeautiDemise 0eb612087b Bugfix: Apply ailment action button would display messages with the title "Give ailments" 2024-09-30 23:46:13 +02:00
BeautiDemise 53c0556f7e Bugfix: "Hide: Details from targeting" setting was still showing the character's bar values when targeted 2024-09-30 23:45:34 +02:00
BeautiDemise 4b6b21d121 Feature: When enabling Auto Update, the indicator now initializes in the searching state (orange) instead of the active state (green) 2024-09-28 01:39:46 +02:00
BeautiDemise f39e2984cc Bugfix: TokenIds with multiple underscores were still causing issues 2024-09-28 00:55:13 +02:00
BeautiDemise cfc34b1077 Bugfix: Could not add token instances with underscores in their tokenId
- Solved by replacing all underscores in tokenIds with a Ø character. Any future functionality that get tokenIds will have to do the same
2024-09-28 00:52:44 +02:00
BeautiDemise acdaf1111a Bugfix: DecayPause for ailments was not saved for token instances
- Adds DecayPause to AilmentList
- Improves exportAilmentList function
2024-09-28 00:11:09 +02:00
BeautiDemise 5ba3784a42 Bugfix: Proc AutoEffect was not working for Bleed 2024-09-27 23:06:55 +02:00
BeautiDemise da0e6fed63 Bugfix: All custom ailments were updating when using the Proc AutoEffect 2024-09-27 23:01:45 +02:00
BeautiDemise 6be1e1dfa9 Bugfix: Give ailment action button still not working when using generic token mode 2024-09-27 22:43:50 +02:00
BeautiDemise ab680efdd1 Feature: Improved AutoEffect error message formating when encountering multiple errors 2024-09-27 22:33:24 +02:00
BeautiDemise ee421d01a4 Bugfix: Give ailment action button was not working 2024-09-27 22:26:44 +02:00
BeautiDemise 2fbae8a6ea Feature: Auto Update now displays a small indicator in the corner of the update button showing the current state of the function
- Green: Has found the initiative item. Active
- Yellow: Searching for the initiative item
- Red: Has not found the initiative item and is in standby. Requires toggling the setting or rerolling initiative
2024-09-27 03:54:05 +02:00
BeautiDemise a80bfbf011 Feature: Default Sheet Settings can now be set for settings in the Import/Export tab 2024-09-27 03:51:50 +02:00
BeautiDemise 51a52df000 Icons: Added a couple of icons from Limbus Company and a bunch of community made ones 2024-09-27 01:10:04 +02:00
BeautiDemise 622eb24247 Bugfix: Last defence roll is no longer used when combat options are hidden 2024-09-27 00:39:17 +02:00
BeautiDemise cd42ea1651 Bugfix: Targeting an invalid token now gives an error message and resets one's target
- Currently only happens when using generic token mode and a token has not been added as a token instance
2024-09-27 00:34:15 +02:00
BeautiDemise fdc1b306f6 Bugfix: Reverted target bar display titles. Was working correctly but causing a swarm of errors in the console 2024-09-26 23:48:07 +02:00
BeautiDemise 5737b8cf90 Bugfix: Clears conditional buttons when changing token instances 2024-09-26 23:44:32 +02:00
BeautiDemise b15baaa956 Bugfix: Target bar display was not updating 2024-09-26 23:35:28 +02:00
BeautiDemise d4ebdcac4e Bugfix: New custom ailment functionality were cancelling actions when having no custom ailments or having no custom ailments matching the requested trigger 2024-09-26 23:23:18 +02:00
BeautiDemise 706adb5f7b Bugfixes:
- For all on:change event listeners for token instances, the sheet now checks that generic token mode is enabled before executing any effects
   - This is to avoid cases where generic token functionality inadvertently affects normal sheets
- Added default values for all target attributes, matching that of the resetTarget() function
   - This should help ensure that targeting does not affect sheets not using the feature
2024-09-26 22:56:49 +02:00