GithubHelp home page GithubHelp logo

jpmeehan / talent-psionics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ceanec/foundryvtt-talent

0.0 0.0 0.0 7.08 MB

Character sheet support for the Talent class from MCDM's The Talent and Psionics supplement for D&D 5e

JavaScript 57.57% Handlebars 32.43% SCSS 10.00%

talent-psionics's Introduction

Latest Release Download Count Forge Installs

Talent Psionics

This module adds character sheet support for The Talent class from MCDM's The Talent and Psionics supplement.

Supported character sheets:

  • New 5e Character Sheet
  • Legacy 5e character sheet
  • NPC Sheet (Tidy TBD when it updates to 3.0)

Other character sheets are untested and may or may not have formatting issues.

Psionic Powers as a New Item Type

This module allows you to to create powers as a brand new item type, "Power". Powers display in the Spellbook tab just like spells with unique icons for the eligible specialties. Manifesting at higher Orders is automatically managed based on your Talent level.

Unique Power Item Type

Strain Tracker

This module also adds a new tab to the character sheet of your Talent for tracking your strain. Your maximum strain is automatically calculated based on your Talent level, and your options for how you would like to apply strain are automatically greyed out based on how much potential strain you have left. Strain can be applied by either ticking the checkbox next to the desired effect, or by adjusting the numbers in the input boxes at the top of each track. Total strain is automatically calculated.

Based on the CeaneC Talent Sheet

Huge credit to the original Talent Sheet by CeaneC, which this module uses as a base for the Strain Tracker.

FAQ

Q: How do I add the Strain tab to a sheet?

A: Add a class to your character with a class identifier of talent.

Q: How do I add powers to my spellbook?

A: Create the power in the item directory and drag to your sheet. Once you have a power on your sheet you can always duplicate it to create more.

Q: How can I reference Strain in macros/modules?

A: The module's fields are stored in the following flags:

  • flags.talent-psionics.strain.total
  • flags.talent-psionics.strain.max
  • flags.talent-psionics.strain.body
  • flags.talent-psionics.strain.mind
  • flags.talent-psionics.strain.soul

Q: How can I add a resource bar above the token showing their total strain?

A: Since these attributes are currently restricted to system-level resources, you'll have to override one of the existing attributes using Active Effects.

Choose whether you would like to override Resource 1 (primary), Resource 2 (secondary), or Resource 3 (tertiary) on the character sheet. Then create a new Passive Effect on the character with the following settings:

  • Total:
    • Atribute Key: system.resources.primary.value
    • Change Mode: Override
    • Effect Value: @flags.talent-psionics.strain.total
  • Max:
    • Attribute Key: system.resources.primary.max
    • Change Mode: Override
    • Effect Value: @flags.talent-psionics.strain.max

Q: How can I change the rate that a character's Max Strain goes up?

A: Create an active effect that overrides the @flags.talent-psionics.strain.max flag, and put in the desired formula in Effect Value. For more control, you can edit the class's advancement to add a Scale Value that increases as they level up, and reference the value in the Active Effect.

talent-psionics's People

Contributors

jpmeehan avatar ceanec avatar dependabot[bot] avatar

talent-psionics's Issues

Missing "Damage context" field

Is your feature request related to a problem? Please describe.
the DnD 5e system has fields in which you can write context for damage or other formulae. However it seems these context fields are missing from psionic power sheets (see screenshot with a power on the left and a regular spell on the right)

Describe the solution you'd like
Would it be possible to get these context fields coded into the power sheets?

Describe alternatives you've considered
So far I have left out the context for different rolls, but sometimes that can slow down the game.

Additional context
image

Tidy Sheet Support

I would love to see this get the latest Tidy Sheet support. The 3.0 Character sheet still has some teething pains.

Thanks in advance!

Update Maximum Strain When Character Level Changes

Is your feature request related to a problem? Please describe.
Maximum strain is set the first time a 'talent' class is added, and when a strain effect is toggled on or off, but not when changing the character's level. This has resulted in confusion where the incorrect max strain was set after building a higher-level character, before knowing that toggling a strain effect would cause it to recalculate.

Describe the solution you'd like
When a character's level changes, run calculateMaxStrain and set the max flag like in toggleOnClick.

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.