Describe the bug
As the title says, putting .template(data) in a Sequence does not override the template defined by the Sequencer Database of a given database path.
To Reproduce
new Sequence()
.effect() // Uses Sequencer database. Is not affected by template.
.file("jb2a.melee_generic.bludgeoning.one_handed")
.attachTo(token)
.rotateTowards(game.user.targets.first())
.template({
"gridSize": 200,
"startPoint": 150,
"endPoint": 200
})
.effect() // Does not use Sequencer database. Affected by template.
.file("modules/jb2a_patreon/Library/Generic/Weapon_Attacks/Melee/DmgBludgeoning_01_Regular_Yellow_1Handed_800x600.webm")
.attachTo(token)
.rotateTowards(game.user.targets.first())
.template({
"gridSize": 200,
"startPoint": 150,
"endPoint": 200
})
.play()
Expected behavior
The function overrides the more generic template.
Describe the bug As the title says, putting
.template(data)
in a Sequence does not override the template defined by the Sequencer Database of a given database path.To Reproduce
Expected behavior The function overrides the more generic template.