Fixed issue where activating STR-based shortcoming did not activate correctly.
Fix issue where after activating STR-based shortcoming, lift was not recalculated.
Fixed attributes with targeted configurations so their apply buttons become active when attribute is active, and correctly apply their value to rolls or damage, respectively.
Consolidating options and lock functionality into a single lock button surfaced a bug previously unnoticed. Resolved issues where a newly added attribute would get out of sync with lock button state, showing the options menu when locked, and hidden when unlocked.
Fixed bug where if an attribute was unlocked and options menu open when sheet upgraded to 1.7.1, the lock function would work with the lock icon open/close state reversed. Now lock icon should display correct state with open/close options menu.
Fixed upgrade code, was not reliably detecting lesser version in game, but worked fine in sandbox.
Merged attribute options button function with attribute lock button, and removed options button.
Changed roll template to change damage label as normal or stun, rather than have a separate line entry for stun.
Ability to switch between alternate deplete rules.
New alternate deplete rules use an Energy Point reservation system instead of subtracting EP spent due to Deplete limiter.
Deplete alt rule can be enabled/disabled in Default Sheet Settings for new characters, or in Sheet Options for existing characters.
Fixed ammo persistency when arming other weapons, previously only persisted when unarming before switching weapons.
Extra Arms attribute (and weapons with no hands enhancement) arming button now shows depressed when selected.
Performance much improved using a single JSON.
Will fetch all sheet values onOpen, then clone object, write and store JSON.
After which, all getAttrs() calls will fetch the single JSON.
setAttrs() writes the JSON back.
JSON is refreshed every onOpen event (improve data integrity).
Attribute removal also removes JSON entries for prolonged play and not killing performance.
Now when activating/deactivating Combat Technique which includes Rush Attack or Lightning Reflexes, their values will be added or removed, respectively, from rolls automatically.
commit 7c672c17217a11663edbd0aad5f617fc60fd24d5
Author: Darth-John <77751557+Darth-John@users.noreply.github.com>
Date: Mon Feb 7 22:59:14 2022 -0800
Added support for undetectable
Added support for undetectable tooltip descriptions.
* Added support for Attribute - Resilient
* Added support for Attribute – Unaffected
* Added tooltip descriptions for Enhancements and Limiters applied to Active Attributes
* Added new damage types: acid, disease, psychosomatic, and toxin.
* Weapons will now adjust the available damage types when Enhancements Insidious or Psionic are applied.
* Added new Armor Enhancement – Disperse. Converts 50% of normal damage stopped to Stun and applies to character. 100% of Stun damage taken is stopped.
* Added new Forcefield Enhancement – Specific. Doubles Armor Rating to 1 of 3 damage categories: chemical, energy, or physical, but does not protect against remaining 2 damage categories.
* Attribute Options menu now opens with accordion transition rather than modal.
* Minor bug fixes.
* Minor performance improvement.