aboutsummaryrefslogtreecommitdiff
path: root/features/slayers/index.js
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-11 21:12:50 +0800
committerSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-09-11 21:12:50 +0800
commit8e7d6d4a6be5af3b377ff179d0d074ac5351ada0 (patch)
treeff0e5b034b8417418b3c77d8f0fdbff608e799be /features/slayers/index.js
parent0dd404208fc066dcb3f826c7c2f558a9bcc27725 (diff)
parent0275a74eb6c13203f7726de0afe87b31784420af (diff)
downloadSoopyV2-8e7d6d4a6be5af3b377ff179d0d074ac5351ada0.tar.gz
SoopyV2-8e7d6d4a6be5af3b377ff179d0d074ac5351ada0.tar.bz2
SoopyV2-8e7d6d4a6be5af3b377ff179d0d074ac5351ada0.zip
Merge branch 'master' of https://github.com/Soopyboo32/SoopyV2
Diffstat (limited to 'features/slayers/index.js')
-rw-r--r--features/slayers/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js
index 590c5b6..2d8e1fa 100644
--- a/features/slayers/index.js
+++ b/features/slayers/index.js
@@ -531,7 +531,7 @@ class Slayers extends Feature {
this.cannotFindEmanBoss = false
} else if (nameRemoveFormat.includes("Voidgloom Seraph") && ((name.getX() - Player.getX()) ** 2 + (name.getY() - Player.getY()) ** 2 + (name.getZ() - Player.getZ()) ** 2 < 25)) {
this.emanBoss = name
- assignActualEmanBoss(this.emanBoss)
+ this.assignActualEmanBoss(this.emanBoss)
this.cannotFindEmanBoss = false
}
}
@@ -622,12 +622,12 @@ class Slayers extends Feature {
if (e[m.getCustomNameTag]() && e[m.getCustomNameTag]().includes("Voidgloom Seraph")) {
if (Date.now() - this.nextIsBoss < 3000) {
this.emanBoss = new Entity(e);
- assignActualEmanBoss(this.emanBoss)
+ this.assignActualEmanBoss(this.emanBoss)
this.nextIsBoss = false;
}
if (this.cannotFindEmanBoss && ((e[f.posX.Entity] - Player.getX()) ** 2 + (e[f.posY.Entity] - Player.getY()) ** 2 + (e[f.posZ.Entity] - Player.getZ()) ** 2 < 5)) {
this.emanBoss = new Entity(e);
- assignActualEmanBoss(this.emanBoss)
+ this.assignActualEmanBoss(this.emanBoss)
this.cannotFindEmanBoss = false
}