aboutsummaryrefslogtreecommitdiff
path: root/features/slayers/index.js
diff options
context:
space:
mode:
authorEmeraldMerchant <96396730+EmeraldMerchant@users.noreply.github.com>2022-06-29 22:57:33 +0800
committerGitHub <noreply@github.com>2022-06-29 22:57:33 +0800
commita81b9d3371481e9a00c5db4d9a019428dcd242ba (patch)
treeb37ee674430ce7f989e154fe546b2e0e5c6b8bb8 /features/slayers/index.js
parentf0479a00f189a57d0f2651daed66d2b8e9dd6e16 (diff)
parentfda166053d056062839b860041e7eadcd34aa273 (diff)
downloadSoopyV2-a81b9d3371481e9a00c5db4d9a019428dcd242ba.tar.gz
SoopyV2-a81b9d3371481e9a00c5db4d9a019428dcd242ba.tar.bz2
SoopyV2-a81b9d3371481e9a00c5db4d9a019428dcd242ba.zip
Merge branch 'master' into patch-19
Diffstat (limited to 'features/slayers/index.js')
-rw-r--r--features/slayers/index.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/features/slayers/index.js b/features/slayers/index.js
index d8d6874..044a55d 100644
--- a/features/slayers/index.js
+++ b/features/slayers/index.js
@@ -410,6 +410,13 @@ class Slayers extends Feature {
if (nameSplit[0] === `${Player.getName()}'s` && `${nameSplit[nameSplit.length - 3]} ${nameSplit[nameSplit.length - 2]}` === "Tank Zombie" && !this.summonEntity?.map(a => a.getUUID().toString()).includes(name.getUUID().toString())) {
this.summonEntity.push(name)
}
+ if (this.BoxAroundMiniboss.getValue() && !this.bossSpawnedMessage && this.Miniboss[this.lastSlayerType]?.has(MobName) && !this.minibossEntity.map(a => a[0].getUUID().toString()).includes(name.getUUID().toString())) {
+ this.minibossEntity.push([name, this.lastSlayerType]);
+ }
+ if (this.betterHideDeadEntity.getValue()) {
+ if (nameSplit[nameSplit.length - 1][0] === "0" && nameSplit[nameSplit.length - 1].endsWith("❤")) {
+ name.getEntity()[m.setAlwaysRenderNameTag](false)
+
}
}
if (this.MinibossOffWhenBoss.getValue() && !this.bossSpawnedMessage) {