Add WiP logic for daily run and fix some performance issues
This commit is contained in:
1 parent
eab1ba7ab9
commit
81f9e2da36
22 files changed
+213
-70
No files matched your search
@@ -234,7 +234,7 @@ export default class FieldSpritePipeline extends Phaser.Renderer.WebGL.Pipelines
|
||||
const terrainColorRatio = data['terrainColorRatio'] as number || 0;
|
||||
|
||||
let time = scene.currentBattle?.waveIndex
|
||||
? ((scene.currentBattle.waveIndex + scene.getWaveCycleOffset()) % 40) / 40 // ((new Date().getSeconds() * 1000 + new Date().getMilliseconds()) % 10000) / 10000
|
||||
? ((scene.currentBattle.waveIndex + scene.waveCycleOffset) % 40) / 40 // ((new Date().getSeconds() * 1000 + new Date().getMilliseconds()) % 10000) / 10000
|
||||
: Utils.getCurrentTime();
|
||||
this.set1f('time', time);
|
||||
this.set1i('ignoreTimeTint', ignoreTimeTint ? 1 : 0);
|
||||
|
||||
Reference in new issue
Block a user