Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Sequencer database ignores given range measures on files with multiple ranges. #207

Open
Autumn225 opened this issue Nov 9, 2023 · 0 comments

Comments

@Autumn225
Copy link

Autumn225 commented Nov 9, 2023

Describe the bug
When using the sequencer database, either within .file() or Sequencer.Database.getEntry(), if a database path with a distance is given, it ignores it.

To Reproduce
Steps to reproduce the behavior:
Method A: Within a Sequence:

new Sequence()
    .effect()
        .file('jb2a.eldritch_blast.purple.05ft')
        .atLocation(token)
    .play()

Does not play the 5ft animation. When using the direct file path, ie. 'modules/JB2A_DnD5e/Library/Cantrip/Eldritch_Blast/EldritchBlast_01_Regular_Purple_05ft_600x400.webm', it plays the given animation.

Method B: Using Sequencer.Database.getEntry():

Sequencer.Database.getEntry('jb2a.eldritch_blast.purple.05ft')

The returned object shows the sequencer database path as 'jb2a.eldritch_blast.purple'. This is less problematic because all the distance files and in the object.

Expected behavior
The sequencer database should account for range extensions on database paths.

Setup:

  • Foundry Version: 10.312
  • System Version: DND5e 2.3.1
  • Sequencer Version: 3.1.4
  • Browser & version: Google Chrome 118.0.5993.118

Active modules:

  • Sequencer
  • socketlib
  • JB2A free content
  • Universal Animations (Which I'm developing, hence how I've come across this issue)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant