Skip to content

Commit

Permalink
fix: add missing quote mark
Browse files Browse the repository at this point in the history
  • Loading branch information
cirrahn committed Sep 16, 2024
1 parent f91ad8b commit 3dddcbb
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions packs_source/weaponfx/Effects/Direct_Hit_1_Ve9GIWf7kSiigqWe.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
const {sourceToken} = game.modules.get("lancer-weapon-fx").api.getMacroVariables(this);
const { sourceToken } = game.modules.get("lancer-weapon-fx").api.getMacroVariables(this);

await Sequencer.Preloader.preloadForClients([
"modules/lancer-weapon-fx/advisories/DirectHit.svg",
"jb2a.static_electricity.03.blue",
"jb2a.explosion_side.01.orange.1",
"modules/lancer-weapon-fx/soundfx/DirectHitExplosion1.ogg",
"jb2a.impact.005.orange",
"jb2a.explosion.08.orange,
"jb2a.explosion.08.orange",
"jb2a.explosion.01.orange",
]);

Expand All @@ -19,16 +19,16 @@ const ipivoty = -pivoty;
new Sequence()

.effect()
.file("modules/lancer-weapon-fx/advisories/DirectHit.svg")
.attachTo(sourceToken, {align: "bottom-left", edge: "inner" })
.animateProperty("sprite", "position.y", { from: 0, to: 1, duration: 3500, gridUnits: true, fromEnd: true })
.scaleIn(0.01, 500)
.scale(0.09)
.filter("Glow", { distance: 2, color: 0x000000 } )
.aboveInterface()
.duration(5000)
.fadeIn(400)
.fadeOut(800, { delay: -1200 } )
.file("modules/lancer-weapon-fx/advisories/DirectHit.svg")
.attachTo(sourceToken, { align: "bottom-left", edge: "inner" })
.animateProperty("sprite", "position.y", { from: 0, to: 1, duration: 3500, gridUnits: true, fromEnd: true })
.scaleIn(0.01, 500)
.scale(0.09)
.filter("Glow", { distance: 2, color: 0x000000 })
.aboveInterface()
.duration(5000)
.fadeIn(400)
.fadeOut(800, { delay: -1200 })
.effect()
.file("jb2a.static_electricity.03.blue")
.atLocation(sourceToken)
Expand All @@ -37,15 +37,15 @@ new Sequence()
.mask(sourceToken)
.effect()
.file("jb2a.explosion_side.01.orange.1")
.atLocation(sourceToken, { randomOffset: 0.5, gridUnits: true})
.atLocation(sourceToken, { randomOffset: 0.5, gridUnits: true })
.randomSpriteRotation()
.scaleToObject(1.4)
.repeats(3, 825)
.delay(900)
.opacity(0.8)
.effect()
.file("jb2a.impact.005.orange")
.atLocation(sourceToken, { randomOffset: 0.5, gridUnits: true})
.atLocation(sourceToken, { randomOffset: 0.5, gridUnits: true })
.randomSpriteRotation()
.scaleToObject(1.4)
.belowTokens()
Expand All @@ -59,15 +59,15 @@ new Sequence()
.delay(900)
.effect()
.file("jb2a.explosion_side.01.orange.1")
.atLocation(sourceToken, { randomOffset: 0.5, gridUnits: true})
.atLocation(sourceToken, { randomOffset: 0.5, gridUnits: true })
.randomSpriteRotation()
.scaleToObject()
.repeats(2, 325)
.delay(2400)
.opacity(0.8)
.effect()
.file("jb2a.impact.005.orange")
.atLocation(sourceToken, { randomOffset: 0.5, gridUnits: true})
.atLocation(sourceToken, { randomOffset: 0.5, gridUnits: true })
.randomSpriteRotation()
.scaleToObject(1.5)
.belowTokens()
Expand All @@ -80,19 +80,19 @@ new Sequence()
.repeats(2, 325)
.delay(2400)
.waitUntilFinished(-500)
.effect()
.effect()
.file("jb2a.explosion.08.orange")
.atLocation(sourceToken, { offset: { x: ipivotx, y: ipivoty } } )
.atLocation(sourceToken, { offset: { x: ipivotx, y: ipivoty } })
.scaleToObject(2)
.opacity(0.8)
.effect()
.effect()
.file("jb2a.explosion.01.orange")
.atLocation(sourceToken, { offset: { x: ipivotx, y: ipivoty } } )
.atLocation(sourceToken, { offset: { x: ipivotx, y: ipivoty } })
.scaleToObject(2)
.playbackRate(0.6)
.opacity(0.8)
.zIndex(2)
.sound()
.file("modules/lancer-weapon-fx/soundfx/DirectHitExplosion2.ogg")
.volume(game.modules.get("lancer-weapon-fx").api.getEffectVolume(0.5))
.play();
.play();

0 comments on commit 3dddcbb

Please sign in to comment.