Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Linked charges not displayed on features page #900

Open
Kolnore opened this issue Jan 11, 2022 · 2 comments
Open

Linked charges not displayed on features page #900

Kolnore opened this issue Jan 11, 2022 · 2 comments

Comments

@Kolnore
Copy link

Kolnore commented Jan 11, 2022

When Linking two class feature items, the number of charges on the item that uses the pool is not shown on the features page.
image

The pool, "Inspiration," only has these features, nothing in the changes
image

The formula for the charges is:
@classes.factotum.level > 19 ? 10 : @classes.factotum.level > 16 ? 8 : @classes.factotum.level > 13 ? 6 : @classes.factotum.level > 13 ? 7 : @classes.factotum.level > 10 ? 6 : @classes.factotum.level > 7 ? 5 : @classes.factotum.level > 4 ? 4 : @classes.factotum.level > 1 ? 3 : 2

Here is the thing i said in discord about how i got it to work like this:
Step 1: have your two items, item A is the reservoir of charges, Item B uses those charges.
Step 2: Put the formula for the number of charges into item A, then click "can be linked" this makes the line where you enter the formula go away but the formula stays in the item
Step 3: drag Item A in to item B and now it will work, But item B will be at 0 charges the whole time. and every time you activate it the charges of Item A will go down. If you increase the total amount of charges in item B, those charges are untouched when you activate the item.

@github-actions
Copy link

Thanks for opening an issue, traveller!
If your issue is related to an actor or an item, sending thing that is broken will help a lot and speed up debugging.

How to send an item? > - If item is owned by a character, drag and drop it to world item list. > - Right click on item in browser item list and click export. > - Attach downloaded item to this ticket.
How to send an actor? > - Right click on actor in browser actor list and click export. > - Attach downloaded actor to this ticket.

@Kolnore
Copy link
Author

Kolnore commented Jan 11, 2022

Update: the bug only happens in the features tab, in the summary section under actions it does work as expected
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant