fantasycalendar / FoundryVTT-Sequencer

This module implements a basic pipeline that can be used for managing the flow of a set of functions, effects, sounds, and macros.
Other
47 stars 25 forks source link

[BUG] - playbackRate() doesn't work as intended since v3.0.11 #184

Closed BenIsWassily closed 1 year ago

BenIsWassily commented 1 year ago

Describe the bug A .playbackRate() with the value set to something superior to 1, the animation stops before the end. And if its inferior to 1, then the animation will loop for a moment (for example with .playbackRate(0.5) the animation will play twice.

To Reproduce Steps to reproduce the behavior:

  1. Target a token
  2. Use this macro

    const target=game.user.targets.first()
    
    new Sequence()
        .effect()
          .file("jb2a.template_circle.out_pulse.01.burst.purplepink")
          .atLocation(target)
          .scaleToObject()
          .playbackRate(2)
    .play()

Expected behavior Sets the effect’s playback rate. A playback rate of 2 would make it play 2x as fast, 0.5 would make it play half as fast. Also the asset should be played in its entirety.

Setup:

Active modules:

Haxxer commented 1 year ago

Fixed in 3.0.12