aboutsummaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-16 12:26:31 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-01-16 12:26:31 +0800
commit1ee5dfa18e08817b0c9f785ac823abc15c5e641c (patch)
treef39007579f239b79177922e1352409101a8cd01a /features
parentdcbf8fa5215aaa8364b89ec6a1b53f04ad727723 (diff)
downloadSoopyV2-1ee5dfa18e08817b0c9f785ac823abc15c5e641c.tar.gz
SoopyV2-1ee5dfa18e08817b0c9f785ac823abc15c5e641c.tar.bz2
SoopyV2-1ee5dfa18e08817b0c9f785ac823abc15c5e641c.zip
tiny improvement to blood assist
Diffstat (limited to 'features')
-rw-r--r--features/dungeonSolvers/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/features/dungeonSolvers/index.js b/features/dungeonSolvers/index.js
index 33e090c..98e907e 100644
--- a/features/dungeonSolvers/index.js
+++ b/features/dungeonSolvers/index.js
@@ -253,6 +253,8 @@ class DungeonSolvers extends Feature {
this.eMovingThing[skull.getUUID().toString()].logged = true
this.spawnIdThing++
+ console.log(this.eMovingThing[skull.getUUID().toString()].timeTook )
+
delete this.eMovingThing[skull.getUUID().toString()]
this.skulls = this.skulls.filter(e=>{
if(e.getUUID().toString() === skull.getUUID().toString()){
@@ -277,7 +279,7 @@ class DungeonSolvers extends Feature {
let ySpeed2 = (startPoint[1]-this.eMovingThing[skull.getUUID().toString()].startY)/this.eMovingThing[skull.getUUID().toString()].timeTook
let zSpeed2 = (startPoint[2]-this.eMovingThing[skull.getUUID().toString()].startZ)/this.eMovingThing[skull.getUUID().toString()].timeTook
- let time = (this.spawnIdThing>=4?2900:4850)-this.eMovingThing[skull.getUUID().toString()].timeTook
+ let time = (this.spawnIdThing>=4?2900:4875)-this.eMovingThing[skull.getUUID().toString()].timeTook
let endPoint = [startPoint[0]+xSpeed2*time, startPoint[1]+ySpeed2*time, startPoint[2]+zSpeed2*time]
this.eMovingThing[skull.getUUID().toString()].endPoint = endPoint