hurrrrrrr
This commit is contained in:
parent
e6e93b776e
commit
9f4f9c96be
@ -22,7 +22,7 @@ class CombatSkills extends Phaser.GameObjects.Group {
|
||||
}
|
||||
|
||||
wall(isAlly) {
|
||||
const lifespan = DELAYS.EFFECT_DURATION;
|
||||
const lifespan = DELAYS.ANIMATION_DURATION;
|
||||
const { spawnLocation, speed, img } = animationParams(isAlly);
|
||||
const particles = this.scene.add.particles(img);
|
||||
const emitter = particles.createEmitter({
|
||||
@ -39,7 +39,7 @@ class CombatSkills extends Phaser.GameObjects.Group {
|
||||
}
|
||||
|
||||
spit(isAlly) {
|
||||
const lifespan = DELAYS.EFFECT_DURATION;
|
||||
const lifespan = DELAYS.ANIMATION_DURATION;
|
||||
const { spawnLocation, speed, img, angleMin, angleMax } = animationParams(isAlly);
|
||||
const particles = this.scene.add.particles(img);
|
||||
const emitter = particles.createEmitter({
|
||||
@ -58,7 +58,7 @@ class CombatSkills extends Phaser.GameObjects.Group {
|
||||
}
|
||||
|
||||
gravBomb(isAlly) {
|
||||
const lifespan = DELAYS.EFFECT_DURATION;
|
||||
const lifespan = DELAYS.ANIMATION_DURATION;
|
||||
|
||||
const { spawnLocation, img } = animationParams(isAlly);
|
||||
const particles = this.scene.add.particles(img);
|
||||
@ -82,7 +82,7 @@ class CombatSkills extends Phaser.GameObjects.Group {
|
||||
}
|
||||
|
||||
gravBlast(isAlly) {
|
||||
const lifespan = DELAYS.EFFECT_DURATION;
|
||||
const lifespan = DELAYS.ANIMATION_DURATION;
|
||||
const WELL_END = lifespan / 2;
|
||||
|
||||
const img = randomColour();
|
||||
@ -113,7 +113,7 @@ class CombatSkills extends Phaser.GameObjects.Group {
|
||||
}
|
||||
|
||||
chargeBall(isAlly) {
|
||||
const lifespan = DELAYS.EFFECT_DURATION;
|
||||
const lifespan = DELAYS.ANIMATION_DURATION;
|
||||
const CHARGE_LIFESPAN = lifespan / 2;
|
||||
|
||||
const { img, spawnLocation } = animationParams(isAlly);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user