Commit Graph
122 Commits
Author SHA1 Message Date
Brett Nash 95992ad3ca RolemasterUnified Official: Tracker updates
Lots of tracker updates
- Fix delete in the new tracker
    - Set icon to safe default
    - Put it at the bottom
- Add a toggle to hide/show created characters
- Fetch the inuse items when adding ones
- Add item for hte inuse item
- Hide unused tracker templates
- Correct message when adding to tracker
- Add tracker to PC sheet
- Add toggle to hide PC trackers
- Initiative button rolls initiative; and sends to pc sheet
- Add 'next' button to advance initiative.
2026-02-04 22:52:46 -08:00
Brett Nash f63613ec78 RolemasterUnfied: Tracker redesign, grapple & BMR fixes
- Refactor the status boxes for grapple, staggered, stun
- Show grapple correctly
- Have a delete grapple button
- Add BMR Crawl to front page.
- Tweak colors of the subbox on the tracker page
- Tracker now uses fixed boxes, easier than repeating sections.
2026-01-25 14:35:50 -08:00
Brett Nash 420a5574dc RolemasterUnified Official: Minor updates and Tracker improvements
- Show PP Mulitplier on front page
  - Attribute is pp_multiplier
- Show height in feet'inches, inches and cm.
- Updates display of height on change
- Sheet version -> 18; upgrade height on load
- Fix initialisation setting vesion instead of version
- Tracker:
  - Better layout
  - Read NPC attacks
  - Read parry/db etc from PCs and from tracker
  - Make attacks from tracker.
- Inventory: Fix appearance of accordian
2026-01-19 14:11:06 -08:00
Brett Nash 9cf3f9c812 RolemasterUnified Offocial: Tracker significant improvements
Still not really usuable, but it's at a stage people can see
the basic stuff it can do.

- Add tracker back
- Add general "asCharacter" helpers
- Tracker:
  - Can add data using new as character
  - Characters now remember their tracker
  - for All Characters methods to tracker
  - Tracker can set everyones AP/round message
  - Tracker can roll everyones initiative (not to turn tracker though)
  - Track base attributes
- Add option for non-tracker initiative.
- Clean up build so compiled/processed files go to build
2026-01-12 08:17:37 -08:00
Brett Nash 7319435efe RolemasterUnified Official: Updates to sync
- Fix for creatures max PP
- Fix fetch for targetted creatures
- Partial fix for grapple
2026-01-07 23:14:36 -08:00
Brett Nash b454072eb7 RolemasterUnified Official: Edit updates and improvements.
First update of 2026.

- Expand rmuSafe to make errors harders to make
- Add Void & Mana Crit types (Arcane)
- Add Void and Mana balls and bolts
- Add Acid ball/bolts
- Sleep:
  - Show dialog for sleep
  - Heal hits based on hours
  - Restore PP based on hours
  - Lose PP if over limit
  - Send message to the chat
  - Do a little glow effect.
  - Check that all injuries are treated before sleep
- Injuries:
  - Calculate the dailyrecovery for injuries
  - Show daily recovery for injries
  - Heal injuries penalties on sleep
  - Remove injuries with no penatlies
  - Add a button to refresh injuries
- rmuSafe:
  - don't check repeating sections (for now)
- Sheet: Disable print button.  I've never got it to work
- Fancy new edit button on character sheet for attributes on the main list.
  - Points
  - Age
  - Appearance
  - etc...
- Can now edit varous creature properties:
  - Creature stats (visual change only)
  - Creature level (again, visual only)
  - Attack: OB, size and type (full updates)
  - Hits
  - AT
  - Base DB (others calculated normally)
- Make creatures use the same frame style as characters
- Fix an issue where using more than 1 AP per phase, staggered blocks attacks
    (@JC Farlan, this is for you).
- Hack to try and make loading a little faster.
2026-01-04 23:38:47 -08:00
Brett Nash ec6ed82c43 RolemasterUnified Offcial: Updates to token effects and other fixes.
So last update of the year. I will need a new updates file.

- Get the active token id when rolling initiative
- Add field to set token id manually
- Add blood spurt effect if token ID is set.
- Add rmuSafe, a wrapper around the set/get calls that audits the fields
- Add internal support for PP multipliers.
- Test Framework
  - Reset pending in tests
  - Handle callbacks in setAttr
  - Test for PP Multipliers
  - Verboseness so people can check pending if needed
2025-12-29 23:31:39 -08:00
Brett Nash 3a1f11e048 Add restriected parry 2025-12-16 17:34:24 -08:00
Brett Nash c8faa62da1 RolemasterUnified Official: Make all spell lists clickable. 2025-12-15 23:48:18 -08:00
Brett Nash 65437eddd3 RolemasterUnified Official: Add allow overcast always option 2025-12-09 23:09:23 -08:00
Brett Nash f95915dcba RolemasterUnified Official: Bugfix for spell casting using targe
numbers.
2025-12-02 23:36:22 -08:00
Brett Nash 0ceba5c67a RolemasterUnified Official: Add journalling and other XP features
The post thanksgiving feast release

- Add Journal version 1.  Track events in the game
- Add support for Journal calculated XP
  - new option to enable at character creation
- Add support for xp variations (Game option)
  - RMU
  - Milestone (1 xp -> 1 level)
  - RMSS / RM2
  - OSE 1k/2k variants; great for people wanting to do quick conversions
- Add support for fixed RR bonuses: 50 + 2 * level (Game Option)
- Spell casting for creatures (just the list click)
- CSS fixes:
   - Fix some missing ; in rules
   - Work with newer VNU
   - Filter out oklab errors
2025-12-01 22:12:47 -08:00
Brett Nash 2783d4ae1a Rolemaster Unified Official: Some minor improvements.
- Add more details on Initialive rolls
- Add table roller to creature sheets
- More details for modified quickness bonuses
2025-11-17 22:14:14 -08:00
Brett Nash 5bcf9db4f5 RolemasterUnified Official: New DB options and display 2025-11-03 23:01:51 -08:00
Brett Nash a4d3635bf5 RolemasterUnified Official: Bugfix to calculate equipment DB correctly.
Filtering armor db mods incorrectly.  Fix the filter so now
don't double count armor and delete old stuff.
2025-10-29 22:53:12 -07:00
Brett Nash dcbb92d131 Rolemaster Unified Official: Various bugfixes.
- Add target to token actions
- Races.js -> Galvinise it first.
- Add a HP Info box
- Sheet version updated to 15
  - Move Racial Hits bonus to hp_misc
  - Fixes issue where characters got Racial Hits as a bonus to Endurance.
    - Thanks @frewfrux for the report!
  - Force update to udpate Endurance, body dev and hp
- Add hp_info & display it
- Creation: Save HP in base hits
- Fix display of current phase when ending a turn
  - Thanks @saramund for the report!
2025-10-27 23:12:03 -07:00
Brett Nash e1f9215209 Rolemaster Unified: Specialised skill partial support
- Injuries:
  - Ignore spaces in the injury string
- Misc: Add support for prefix search
- Skills:
  - Add backend support for Character Companion Specialised skills

Compendium changes:

- Banecroft:
  - Fix an NPC weapon
  - Fix an NPC spell list
  - Update creatures on maps
- Arcane: Spirits update
2025-10-19 23:35:43 -07:00
Brett Nash 445a69ba72 RolemasterUnified Official: Spell Failure roll and other bugs
- Remove spurious ` in the sheet
- Fix some dependances hiding some old updates
- Fix "agibberish" -> gibberish
- Allow attacks to not have the numeric size
- Add table roller support for Spell failures
2025-10-13 23:26:55 -07:00
Brett Nash 56c7d2eb97 RolemasterUnified Official: Bugfixes for spells and some minor tweaks
- Fix display of scaled hits.
- Reenable base spells during levelup
- Get rid of spell lists errors
- Banecroft:
  - Fix creatures defenses
  - Fix Giant A<redacted> attacks
- Fix template for spell lists to display notes
- Arcane:
 - Start on Arcanist list
 - Costs for Arcanist & Evoker
- Add Tap Addiction to sheet
2025-10-06 23:25:30 -07:00
Brett Nash 19bc91acd2 RolemasterUnified Official: Renenable Base Lists during levelup
And squash a lot of logging and get rid of the multi pending
issue for base lists
2025-10-01 22:15:45 -07:00
Brett Nash 61748a9205 RolemasterUnified Official: Levelup Bugfixes/Optimisations
- Validation
  - Support Body,Head,Arms,Legs format for AT
  - Validate attack sizes for creatures
- Stuff: Fix error in itemmaterial not saving
- Levelup:
  - Don't try and levelup current_level/new_level
  - Spell lists show the group in summary
  - Recreate previous skill ranks correctly
- Misc: Make one of the errors more verbose
- Spells: Fix display of mixed armor penalties
  - calculation was correct, display showed culmulative error
- Create: fix highest message for stat creation (@ixs)
2025-09-24 08:39:07 -07:00
Brett Nash afe7c6e617 RolemasterUnified Official: Bugfixes and new preview.
- Fix stacking of the overlays
- Show token marker otpsions corrently
- Fix edit stats
- Updated preview image.
2025-09-17 23:15:31 -07:00
Brett Nash 749d01663f RolemasterUnified: Token makers and Inventory updates
- First version of token markers
  - Sheet options
  - Random colours
  - Trigger on status change.
- Fix stacking of popups on main page
- Add helper to get total number of bleeds
- Add options for token makers
- Add options for FX (doesn't do much)
- Export to NPC now grabs spell lists.
- Inventory (Stuff)
  - Fix Helmet perception penalty trashing other modifiers
  - Apply Armor DB
  - Removed Armor DB & Perception penalties when you remove items
  - Fix for armor losing it's encumberance.
  - Add support for "Sets" Armor without a helmet
  - Add armor material to edit window
  - Correctly support mixed material encumberances (metal != non-metal)
2025-09-15 22:17:04 -07:00
Brett Nash 110574c126 RolemasterUnified Official: Popup and layout bugfix
Improve (a little) the popups on the front page.
Also remove a spurious --> from the rolltemplates page.
2025-09-10 23:08:41 -07:00
Brett Nash 3f63ebb271 RolemasterUnified Official: Layout improvements and Critical fixes
So some changes to front page layout.

- Can now roll weapon fumbles direct from the sheet.
- Remove the old Roll Crit buttons
- Add `statuspercent200`; which ranges from 200 -> 0 as your penalties go down
- Set sheet version to 14
- Fix the light crossboX.
- Fix rolling Y/Z criticals.
- Layout improvements on the front tab - little boxes around all the things.
- Dice icons:
  - Fix layout to be consistent everywhere (finally)
  - Use single style for all the dice icons
  - Fix alignment of the dice on the skills page
  - Little animation when you hover... because you can do that when sort
    the other stuff.
- Attacks:
  - Move overlay to own file
- Fix missing line break in rolltemplate.
2025-09-08 22:00:02 -07:00
Brett Nash da0c410b4e RolemasterUnified Official: Bugfix: Add statuspercent_max at 100
- Force statuspercent_max to be 100.
2025-09-02 21:48:13 -07:00
Brett Nash 2536fb4e1d RolemasterUnified Official: Improve status and other fixes
- Allow Injury strings to start with "Injury: " to make pasting easier
- Status:
  - Add 'statuspercent'; Equal to (100 - statuspenalty).   Used so you
    can have a penalty bar that goes down as PCs/NPCs get injured
  - Add allpenalties; status effect + status penalty
  - Add a little bar to show it.
- Tokenbar: Bar3 now follows 'allpenalties'
- Bump sheet version
  - Force an update of penalties on load.
- Support Arcane spell casting modifier
2025-09-01 22:20:09 -07:00
Brett Nash 09293569ec RolemasterUnified Official: Fix missing attack mods for PCs 2025-08-27 07:48:25 -07:00
Brett Nash fd3712de9d RolemasterUnified Official: Level and Arcane fixes
So big rewrite of the level up summary structure.  The levelup review
should now be comprehensive.  Generate an RR for Arcane for creatures,
and force update to pull it in for PCs too.

- Creatures
  - Take AP penalties on attacks
  - Arcane RRs for new creatures
- Force RR update to get Arcane RRs for PCs
- Sheet Load / Init
  - On version check, pass in sheet version
  - Make sure we check pending functions
  - Version 11
  - Old creatures, force arcane update
- Levelup
  - Save the current and new level.   Avoids lots of async code to fetch it many times
  - Display as a hidden text entry.  So works with jumpgate and traditional.
  - Skills are now resiliant to unexpected fields
  - Add some space on the left of items.  So much prettier.
  - Re-enable the levelup summary.
    - ~700 lines of tests on this thing
  - Summary now has:
    - Skills
    - Stat gains
    - Talents
    - Spell lists
- Tests
  - setCharmancerText is now emulated
  - addRepeatingSection is now emulated
  - Fix second countStatGains test being ignored.
2025-08-25 07:45:05 -07:00
Brett Nash a7ba07f2dc RolemasterUnified Offical: Unbreak Levelup 2025-08-21 22:49:36 -07:00
Brett Nash 180331b2ea RolemasterUnified Official: Fix creature parry & content for bubble4 2025-08-20 23:15:38 -07:00
Brett Nash 7ada57950b RolemasterUnfied Offical: Bug fixes and UI improvements.
- Display bonus when using 2 handed weapons
- Add RRs for Arcane
- Creature Skill roll updates
  - Use the specific table when we can
- New UI for rolling criticals.
2025-08-18 22:28:15 -07:00
Brett Nash 4beeb3cefd Fix the dice back to the good looking one. 2025-08-11 16:28:59 -07:00
Brett Nash 075827dbeb RolemasterUnified_Official: Bugfixes and improvements.
So after a short vacation... updates again!

- DB:
  - Add a DB Modifier - straight DB addtion (about 20 people have asked for
        this, sorry it was so slow).
  - Automatically update the DB Defense mode when it updates
  - Autoamtically update DB when other fields change too
- Update some specialisations for new books
- Directed Spells use AP correctly when attacking
- AP tracker displays (mirrors on Spell page)
- New combat clears the 'free used' button
- Automatically load missiles when using AP track.
- Option for 2 handed weapons - add +10 bonus for them
- After attack options - do things automatically after you attack
  - Do nothing
  - Clear AP
  - Clear AP & End turn

Known issues:
- Specialised skills are not showing correctly in levelup
- Refresh target isn't working correctly
2025-08-11 16:13:19 -07:00
Brett Nash 99613c92df RolemasterUnified_Official: Bug fixes and NPC export
- Fix potential bug creating characters not using custom races.
- Optmise race creation; so it's like 400 times faster.
    - Single get and set
    - Don't call multiple requests
    - Correctly nest pending calls
- First version of PC -> NPC generation.
- PC token setting attempt #863.
- Reorg some of the code to make it easier to find things.
- Don't trigger potential race conditions updating proficiency bonuses.
- Make the Dice icon larger and use the plain d10
2025-07-21 23:24:51 -07:00
Brett Nash 663ee59f9b RolemasterUnified Official: Custom Race support
Thursday updates?  A very weird Tuesday.  Lets go with that.

- Custom Race support (Beta)
- Remove the old Race name translations.  Unused.
2025-07-16 07:46:44 -07:00
Brett Nash 6af5bc67b1 Add Initiative token action 2025-07-09 22:06:36 -07:00
Brett Nash 3f85a9fd78 RolemassterUnified Official: DB, Attacks and Token Actions
It's the rare Thursday RMU update. Enable token actions for
attacks and fix a few little bugs.

Thank you all for the bug reports.

- Fix old 'condole.log' problem with ranged weapons (alpinecowboy)
- Fix ranged weapon penalties applying to everything (!)
- Fix partial block not being set (Major Havoc & others)
- Enable Primary/Secondary attack token actions
- Enable End Turn token action
2025-07-09 17:55:29 -07:00
Brett Nash 979b061f7d RolemasterUnified Official: AP Updates
- Use ISO 8601 for dates.
- Action tracking improvements
   - Use a drop down instead of multiple actions
   - Use a single AP track
   - Many more actions
   - Up to 20(!) phasee support
- Add token actions for AP tracking
- (Compendium) Creature data update
- Investigate Beacon -> no go
2025-07-08 07:55:27 -07:00
Brett Nash 702c6ffd59 RolemasterUnified Official: Bug fix and minor features.
Pre-Birthday release!

- Fix versioning past version 7
- Fucus -> Focus
- Mental Fatigue/Endurance:
  - Calculate the value
  - Add a die roll button
- Update feats of strength
- Async (Internal)
  - Add a warning if code double calls the async procedures.
  - Discover there are literally hundreds of places it's called.. *sigh*
- Inventory:
  - More async of methods to make sure we don't double call
- Attacks:
  - Make one attacks update async
- Skill updates all linear now (no double calls, should be faster)
- Update DB is now async
- Errors
  - Keep an error count, and fix formating of last errors.
- Arcane realm stat
- Basic TP support
- Creatures now set fields bars correctly:
 - Green: HP
 - Blue: PP
 - Red: Status (total penalty)
- Tracker can now target creatures (not super useful yet)
2025-06-30 22:58:49 -07:00
Brett Nash 0a8ed482f9 RolemasterUnified Official: Improve level up for TP support
- Fix Training Packages title
- Make training package tab actually clickable
- Generate correct list of levelup skills for levelup summary.
2025-06-24 08:04:44 -07:00
Brett Nash 32a0a02097 RolemasterUnified Official: Bugfixes
- Fix a bug with Critscaling sometimes corrupting the critical
- Move pack carried up a bit
- Powerlevel change selector: Fix the event handler to work
- Make onCheck more specific about changed values
- Fix DB not updating after encumberance or shield change
- Charactermancer: Fix some cultures not toggling the specialisation
- Kill the old purchase.js which was still being loaded!?
  - Removes a whole pile of the load time errors.
2025-06-15 21:38:42 -07:00
Brett Nash c065a3f35f RolemasterUnified Official: Many Bugfixes and small features
- Attacks Edit
   - Restore the attack table correctly
   - Option for attack crit scaling
   - Be more liberal in letting attack edits.
- Encumberance:
   - Move to single % encumberance, not 5 increments
   - Fix problem with negative weight allowance.
   - Update weight when items are deleted always
- DB
   - Fix issue with partial block - hopefully for real this time
   - Include parry in DB
   - Add enhanced and restricted parry
   - Placeholders for Flatfoot and Surprised
   - Update when encumberance penalty changes.
- Add support for manually adding description only talents
- Add a space for unusual events
- Fix a typo arkness -> darkness
- Fix for creatures display for level, level variance and size
- Internal
  - Ignore more stuff in revision control
- Add placeholder for called shots and parry mods.
- Show last 3 errors
- Add ability for attacks to adjust criticals up and down
- Creature Law:
  - Fix layout of inline creatures in Creature Law
- Attacks/Targetting
  - Don't fetch tokenid, it's not useful
  - Refresh based on name
- Creatures
  - Publish perception as a special skill for creatures
  - Placeholder for power level scaling.
2025-06-02 20:18:14 -07:00
Brett Nash 8232277c32 RolemasterUnified Official: NPC Attack fixes.
- Update weapons to match current Creature Law
- Gracefully ignore invalid weapons
- Update Spell Law spells to use JSON - ready for new uploads
2025-05-26 17:04:57 -07:00
Brett Nash 41e5261d37 RolemasterUnified Offcial: Creature & Other Bug fixes
- Creatures now go down at 0, not -1
- Save Item strength correctly (I hope)
- Fix encoding of Essence's Perceptions
- Fix some partial block errors.
- Dropping a Creature on a character won't turn you into a character (Major__havoc)
- Fix some attack messages.
2025-05-19 17:37:29 -07:00
Brett Nash 1c8194ea07 RolemasterUnified: Creature Law bug fixes.
- Fix specialiszation and favourites
- No stun is now a single round of stun 25.
  - Add test for it
- Fatigue penalties are ignored for '*' crit resist ($#*)
  - Add test for it
- If your fatigue injury passes 50, apply as a general penalty
  - Update tests for it
- Creature Law:
  - Added '\*' to creatures not impacted by fatigue penalties
  - Added a new index for Type/Class I/II/III/ETC
2025-05-12 22:55:38 -07:00
Brett Nash de53f6fb43 RolemasterUnified Offcial: Another minor bugfix; Allow saving of Armor
Midweek release for something different.

- Inventory
  - Allow saving of Armor again
  - Show notes when editing
- Attacks
  - Toggle appearance of additional crits correctly
  - Persist extra crit, and allow it to be edited
2025-05-07 16:42:18 -07:00
Brett Nash 2b3ef528dc RolemasterUnified Official: Updates for Attacks and Inventory
Lots of small fixes to injuries and general improvements to send
inventory materials (crystal, silver, magic) through the to the
defender.

- Inventory
  - Fix for items not saving strength (thanks @nlbsanarak)
  - Persist and restore materials correctly
  - Start saving DB bonus for Armor and OB for Weapons
  - Style all the drop downs
  - Weapons
    - Add attack table
    - Add attack size
    - Add attack skill
  - Manually aded weapons now populate attack table
  - Materials no longer joined by ','
- Fix for null pointer error during version update.
  - Force a version bump to 9 to run it again.
- Attacks
  - Make layout a little clearer - bold ftw
  - Add materials interface
  - Edit materials
  - Add additional crit field
  - Use fancy selects in the drop downs for add attack
  - Show weapon mateiral
  - Remove some dead code
  - Materials now in Injury string and are sent to the defender
- Fix non-1 pbonus for specialised skills
- PBonus message improvement
2025-05-05 16:27:43 -07:00
Brett Nash 88bb061c94 Fix for no editing buttins 2025-05-01 09:12:15 -07:00
Brett Nash ebb271c341 RolemasterUnified Official: Lots of bug fixes
- Hide the inventory add/edit box on sheet open
- Inventory add/edit:
  - Enable editing
  - Fix saving data
  - Save Armor and shield properties
  - Add OB Bonus for weapons
  - Add item strength
- Can now delete skill specialisations (Many, but most recently Osaran / @nlbsanarak)
- Spells:
  - Generate the correct RR targets for spells (@rdanhenry & @twistor - thanks!)
  - Armor Enc% fix for Channelers.  Sorry Paladins  (@major__havoc)
  - Allow overcasting instant spells with no prep (@coreylpierce & @jdale)
- Stat gain: Fix the message for creation rolls.
- Skills
  - Allow Pbonus != 1. (@ixs)
  - Fix the calculation for 27 (and only 27) ranks being wrong (@nlbsanarak thanks)
  - Add tests for skills bonuses;
    - Check 0,1,2,11,21,27,31,41 & 101 are correct
    - Check each rank is strictly greater than the previous
- Fix concentration tracker with a new dot
- SWRaces Coversion Guide
  - Fix for heights and weights
- Races: Update template to be a bit mroe verbose on heights/weights
- Tracker:
  - Update the way movements are displayed.
  - Show 'Okay' if no status messages
2025-04-28 23:01:13 -07:00