Giter Site home page Giter Site logo

Comments (2)

ediosyncratic avatar ediosyncratic commented on July 1, 2024

Preliminary investigation.
This is complicated by the fact that $DATA['HP'] holds the max HP (strictly full HP, since temp HP can take one higher) which presently appears as one field in the sheet, which this change would replace with "HD rolls" (base) and "HDร—Con", only showing their value (as the current total, $DATA['HPWounds']) when no temp or damage are in effect.
The new organisation will also need (analogous to those for the AC row) onchanged triggers for the editable fields.

That ties in to the fact that existing saved sheets have $DATA['HP'], which is one of the fields to be displayed in a campaign summary table only the campaign owner (i.e. DM) gets to see. I think it'll make sense to change that table to use a new HPFull, in place of HP, that gets set by the onchanged of HPHitDice or Con.
When HP is set (coming from legacy save) and the new HPHitDice isn't, the code is going to need to infer the latter from the former and initialize HPFull, clearing HP while it's about it.

from rpg-profile.

ediosyncratic avatar ediosyncratic commented on July 1, 2024

Between the current total and the non-lethal box, where there's space for one character (it's how this table is organised), I guess it'd make sense to have a > (grey), = or < sign (the latter two red, bold, generally visible) to indicate whether the character is still standing, staggered or unconscious.

from rpg-profile.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.