98 Commits
Author SHA1 Message Date
LukeMc b20d783150 Retrigger full upload 2024-06-03 13:15:14 -04:00
LukeMc 46edad2122 New line added to all html to trigger full reload of all sheets 2024-05-24 13:16:24 -04:00
Namakamoto cfd1e9092c Update BESM4eExtras.html - Added Portal to setAttrDuration
Added Portal to setAttrDuration since the game mentions picking this enhancement when "USING PORTAL ON OTHERS" on page 112 of version 1.4.3-1 of the besm 4e rulebook pdf
2023-12-12 01:55:30 +01:00
johndav2 d09a14cbfc Unique Defect Fix
* Added support to define Unique Defect category as per the core rulebook.
* Fixed doUpgrade(), will no longer repeat upgrades when build number is greater than 9.
2023-02-01 13:03:28 -08:00
johndav2 f9e5848c6d Fix Unique Attribute cost per level
v1..8.10
* Added support for Unique Attribute cost pre level. Was previously hardcoded to 0 without any method to change.
* When modifying Unique Attribute, the attribute cost per level or attribute level will update attribute cost.
2023-01-30 17:59:36 -08:00
johndav2 da868518e3 Fix Defect Costs
v1.8.9
* Defect categories Serious and Greater were switched to reflect true Defect costs per the Core Rule Book.
* Upgrade to 1.8.9 routine iterates through each attribute group to apply the correct cost to each defect respective to the defect rank in the group and recalculates the total group cost, and overall character cost.
2023-01-28 18:02:09 -08:00
johndav2 21acdf6a4f Skill UI Update
Deprecated skill picker UI for simpler select driven menu for selecting skills.  Existing skills will be preserved, newly created skills will use the select driven menu.
2022-12-17 09:14:05 -08:00
johndav2 2d127f1653 v1.8.7 Bug Fixes
When Targeted limiter is added to Massive Damage, now shows <not configured> if an enemy has not been defined.

The function setCombatRoll() no longer crashes if a maneuver is not selected. Previously this would cause some attributes not to activate until a maneuver was selected.
2022-08-05 12:24:40 -07:00
johndav2 6c7bb90cc9 v1.8.7 - Bug Fixes
Fixed bug where non-weapon attributes would fail to activate.

Attributes with specialized configurations will now update when specialization is set.  Previously only would set when level was adjusted.

Ranged Attack will now reflect which weapon it is specialized for.  Would still apply to weapon it was configured for correctly, the weapon configuration just didn't display.
2022-08-04 13:07:05 -07:00
johndav2 fc95ea97e5 v1.8.6
Changed stat cost to reflect Core Rulebook values, i.e. 2 character points per stat value up to stat value of 12, and 4 character points per stat value above stat value of 12.  Existing sheets will upgrade to correct the stat value costs, and return overages as available character points.
2022-07-25 12:56:15 -07:00
johndav2 1b8934d9ec v1.8.5
Various bug fixes for weapons with ammo limiter, and/or nohanded enhancement.
2022-06-14 13:37:26 -07:00
johndav2 08c184afa2 Code Check-in
Fixed self-inflicted bugs...weapons with nohands enhancement now correctly load new and persist current ammo and capacity values.
2022-06-14 13:15:36 -07:00
johndav2 6f83d752f0 Code Check-in
Fixed weapons with single use ammo limiter loads capacity value instead of reloads (as there are no reloads to load ammo from).
2022-06-14 13:04:48 -07:00
johndav2 2bad89abc2 Code Check-in
Fixed no hands arming bug where range/ammo UI would not reveal/unhide.
2022-06-13 12:48:38 -07:00
johndav2 8bd59ec487 Code Check-in
Fixed ammo persistence bug when switching between active and armed weapons.
2022-06-11 23:05:50 -07:00
johndav2 0e0f84f36e Code Check-in
Complete two-handed bug fix...fix
2022-06-10 13:59:36 -07:00
johndav2 08ecc2165c Code Check-in
Fixed two-handed arming bug, where activating a two handed weapon while a single handed weapon was active would cause the two handed weapon's off hand to be armed while the main hand was not.
2022-06-10 13:40:53 -07:00
johndav2 af2c5f6e5d Commit Code
Reduced cache file by 35%-40% by removing all falsey variables and hardcoding default falsey values.  Such as when an attribute (Roll20) returns undefined then a default value of 0 will be assigned.
2022-06-04 22:10:28 -07:00
johndav2 94c2dc8e9b Stat Cost Fix
Fixed issue where changing initial stat levels would produce incorrect cost values.
2022-05-20 09:56:44 -07:00
Darth-John 2c001aa1d3 Alt Form cost fix
Updated sheet version to reflect current changes.
2022-05-15 09:35:41 -07:00
Darth-John df11523674 Alt Form Cost Fix
Fixed issue where getAttrCost() function did not return the cost for Alternate Form attribute.
2022-05-15 09:22:35 -07:00
Darth-John 50887247b5 STR-Lift Shortcoming Bug Fix
Fixed issue where activating STR-based shortcoming did not activate correctly.

Fix issue where after activating STR-based shortcoming, lift was not recalculated.
2022-04-17 09:03:39 -07:00
Darth-John 81f13cc520 Updated writeValues()
Added more undefined detection logic to writeValues().
2022-04-16 15:48:49 -07:00
Darth-John 3f563379ec Fixed Targeted Attributes
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.
2022-04-16 15:42:23 -07:00
Darth-John d138bfdb25 Fixed Small Size Lift
Added support for sizes smaller than medium to have lower lift values.
2022-04-15 22:09:43 -07:00
Darth-John 558deed030 Bug Fixes
Fixed activated button theme colors.

Fixed "targeted" attribute activation buttons not activating correctly.
2022-04-15 20:44:07 -07:00
Darth-John 97721fc36a New Size Template UI
Deprecated size template UI based on repeating sections, implemented new UI to use select list resulting in more performance gains.
2022-04-14 17:34:12 -07:00
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