Commit Graph
71 Commits
Author SHA1 Message Date
Darth-John 96373fe9f6 Improved Depressed Button Visulization
Improved depress button visualization
2022-04-09 11:14:35 -07:00
Darth-John 188e0065e0 Arming Bug Fix
Fixed weapon arming bug.

Enhanced cache write logic to prevent writing undefined values.
2022-04-09 09:47:13 -07:00
Darth-John bb39235a4d Alt-munition Limiter Support
Fixed weapon disarm cost calculation in and between Power Flex, Power Variation, and stand-alone attributes.
2022-04-04 12:41:41 -07:00
Darth-John a745a2b2de Alt-munition limiter support
mystery of the missing div.
2022-04-03 13:30:26 -07:00
Darth-John f87a4d5ce1 Support Alt-munitions Limiter
Added support for alt-munitions limiter.

Fixed Power Flux/Variation pool costs when enabling weapons with alt-munition.
2022-04-03 12:59:17 -07:00
Darth-John 3ed2a4716d New Attribute Lock Bug Fix
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.
2022-03-30 12:57:47 -07:00
Darth-John 18c9987cd1 Open Lock Bug Fix
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.
2022-03-29 22:00:01 -07:00
Darth-John 586a1a45f0 Simplify UI Changes
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.
2022-03-29 14:24:20 -07:00
Darth-John 5ad85304ef Deplete Alt Rules
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.
2022-03-23 21:29:12 -07:00
Darth-John 061856c18c Bug fixes
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.
2022-03-19 19:09:27 -07:00
Darth-John bd1e9b2747 Weapon mount bug fix
Weapon attributes with 'no hands' enhancement will no longer arm weapons as if they were an 'extra arm' attribute.
2022-03-18 17:01:38 -07:00
Darth-John 892f003e46 Fixed weapon classes
Added support for respective melee/ranged weapon class attributes
2022-03-14 20:51:08 -07:00
Darth-John c9771a4427 Cleanup
Cleaned up some unnecessary code.
2022-03-14 20:43:45 -07:00
Darth-John 7a9d55d796 Fixed attribute settings
Attributes now expose the correct settings available to them.
2022-03-14 17:29:55 -07:00
Darth-John 33a68ff07a Fixed Mastery Updates
Attack/Defense Mastery attributes will now be added/removed from ACV/DCV rolls, respectively.
2022-03-14 16:38:36 -07:00
Darth-John e53b739a98 Fixed Augmented Stat
Augmented stat now works!
2022-03-14 16:12:56 -07:00
Darth-John fc490e03d2 Fixed default dynamic roll string
New characters will now be able to roll 2d6 from roll menu (previously had no default value set).
2022-03-14 14:05:40 -07:00
Darth-John 475dbfde55 Stat update fix
Stat update is now reflected in skill rolls.
2022-03-14 13:57:18 -07:00
Darth-John d57a099410 Ammo/Capacity Fix
Setting Ammo limiter to rank 3 will now give reloads of 1 instead of 2.

Fixed ammo/capacity persistency with new caching system.
2022-03-14 13:14:57 -07:00
Darth-John d28d125404 Refactored createSkill()
Moving to writeValues() to likely resolve cache out of sync issues.  POCed on createSkill() function.
2022-03-14 10:29:23 -07:00
Darth-John 8fff779fbf Fixed skill stat adjust bug
Default level to 0 if NaN
2022-03-13 11:31:48 -07:00
Darth-John af935e455a buildSkillsUI bug fix
was not writing skillmap correctly on open event buildSkillsUI
2022-03-12 11:07:35 -08:00
Darth-John 6fc6334e4f bug fixes
fixed upgrade to 1.3.1 toString syntax to use underscorejs

fixed function createSkill to add new skill ID to cache
2022-03-12 10:00:20 -08:00
Darth-John b641fcc7ac created adjustSkillGenreCosts
on game genre change call adjustSkillGenreCosts

updated sheet version to 1..6.1
2022-03-12 09:18:57 -08:00
Darth-John c2b06f9757 attr name adjusted
attr name standardized for framework

sheet.json updated
2022-03-12 08:33:55 -08:00
Darth-John 0d25c0f28a moved game genre selection
game genre selection from hidden to sheet options
2022-03-12 08:23:41 -08:00
Darth-John bc5d269979 Default sheet genre selection
Added support for selecting genre selection in default sheet settings; deprecated support for JS global const method.
2022-03-10 21:35:18 -08:00
Darth-John b7c467774e Vetted Perf Code
Cached values framework

Cached related bugs fixed (hopefully)
2022-03-08 13:42:14 -08:00
Darth-John df3c93b030 single JSON iteration
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.
2022-02-18 09:48:43 -08:00
Darth-John cdffbbf2be Sixth Sense bug fix
Fixed Sixth Sense configurable customizations display correctly in tooltips
2022-02-14 16:56:04 -08:00
Darth-John 2f751f88ca support for configured customizations
Added support for customizations which require additional/specific configurations
2022-02-14 16:33:17 -08:00
Darth-John 3fdf838b5b Partial support for multivalue customizations
Added support for Connected, Metamorphosis, Plant Control, and Summon Creatures tooltip descriptions.
2022-02-11 17:00:01 -08:00
Darth-John 2ef47d7a72 Added Sixth Sense tooltip descriptions
Added support for Sixth Sense tooltip descriptions.

Fixed tooltip presentation for Control Environment, Sixth Sense, and Undetectable.
2022-02-11 15:12:52 -08:00
Darth-John 1693c22928 Added binary customization tooltip descsriptions
Added support for binary customizations tooltip descriptions.
2022-02-11 14:16:19 -08:00
Darth-John 9e49aaca9b Fixed Fast autocalculation
Movement will now correctly account for Special Movement, Fast, when the attribute is activated/deactivated.
2022-02-11 12:19:34 -08:00
Darth-John d9f0f0fcd7 added Special Movement tooptip descriptions
Added support for Special Movement tooltip descriptions.
2022-02-11 11:39:33 -08:00
Darth-John 419bc2a65a Corrected lighntingrelfexes and rushattack configuration
Now when activating/deactivating Combat Technique which includes Rush Attack or Lightning Reflexes, their values will be added or removed, respectively, from rolls automatically.
2022-02-11 11:08:00 -08:00
Darth-John 1652c65bb4 Combat Technique tooltip descriptions
Added support for all combat techniques tooltip descriptions.

Dumb bug fix (don't ask).
2022-02-11 10:08:01 -08:00
Darth-John e80f3dc3aa WIP combat technique tooltip descriptions
Committing incomplete work.
2022-02-08 20:53:48 -08:00
Darth-John 1d49a32c1d Squashed commit of the following:
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.
2022-02-07 22:59:33 -08:00
Darth-John 58241210c5 Squashed commit of the following:
commit 2574f7ff2ea31569aef7bc220af7de7656fa565a
Author: Darth-John <77751557+Darth-John@users.noreply.github.com>
Date:   Mon Feb 7 17:15:52 2022 -0800

    controlled environment bugs

    fixed

commit ad4b69c11a4061a910b1221d0c6f6e6393b1440d
Author: Darth-John <77751557+Darth-John@users.noreply.github.com>
Date:   Mon Feb 7 16:41:11 2022 -0800

    Control environment tooltips

    Added support for controlled environments tooltip description.
2022-02-07 17:27:18 -08:00
Darth-John 241140c157 Squashed commit of the following:
commit 4ac51fad1177e7c3e640ec9f323f187c30986e66
Author: Darth-John <77751557+Darth-John@users.noreply.github.com>
Date:   Mon Feb 7 14:24:19 2022 -0800

    Resilience tooltip descriptions

    Added tooltip descriptions for resilience attribute.

    Minor bug fixes.
2022-02-07 14:25:17 -08:00
Darth-John 9074f76eae BESM4eExtras v1.5.1
Added standard limiter descriptions to activated attribute tooltips.
2022-01-31 22:17:16 -08:00
Darth-John dff3020775 BESM4eExtras 1.5.0
* 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.
2022-01-30 18:19:12 -08:00
Darth-John e3dabcdfe1 BESM4eExtras v1.4.13
Fixed Power Variation group cost calculation double counting current attribute level change.
2022-01-06 13:52:59 -08:00
Darth-John acc651120b BESM4eExtras v1.4.12
Fixed bug where Power Flux and Power Variation were not calculating pool costs correctly (uncaught bug introduced by title case change in v1.4.6).
2022-01-05 12:53:49 -08:00
Darth-John b23e8f93a1 BESM4eExtras v.1.4.11
Enhanced Senses characteristic now correctly shows "x Senses Remaining".
2022-01-05 10:49:48 -08:00
Darth-John b642512b5f BESM4eExtras v1.4.10
Added support for Telekinesis Attribute as a Weapon.

Enhanced Extra Arms Attribute code to correct some activation/deactivation logic.
2022-01-05 09:58:22 -08:00
Darth-John 2637b8aa0e BESM4eExtras v1.4.9
Enemy Attack and Enemy Defense now apply correctly to weapon/combat rolls, and ACV and DCV rolls.
2022-01-03 16:41:08 -08:00
Darth-John 5c4fdcf32f BESM4eExtras v1.4.8
Maneuvers now appear in title case and with word spacing in chat.
2022-01-03 15:34:46 -08:00