aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoopyboo32 <49228220+Soopyboo32@users.noreply.github.com>2022-08-30 20:48:04 +0800
committerGitHub <noreply@github.com>2022-08-30 20:48:04 +0800
commit741c0ebbc5af0e607972bb54d7d564e5584eff7b (patch)
tree85476d898fd8413bf428333283e91f5614526e0d
parent41aeba198222468f386d6636e44e9231338ce860 (diff)
parentf465651af23210fcedb4871ea57f408ca8945262 (diff)
downloadSoopyV2-741c0ebbc5af0e607972bb54d7d564e5584eff7b.tar.gz
SoopyV2-741c0ebbc5af0e607972bb54d7d564e5584eff7b.tar.bz2
SoopyV2-741c0ebbc5af0e607972bb54d7d564e5584eff7b.zip
Merge pull request #55 from EmeraldMerchant/patch-53
fixed scatha pet drop msg
-rw-r--r--features/specialMining/index.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/features/specialMining/index.js b/features/specialMining/index.js
index e35388f..794b9ca 100644
--- a/features/specialMining/index.js
+++ b/features/specialMining/index.js
@@ -206,8 +206,9 @@ class PowderAndScatha extends Feature {
this.registerChat("&r&7&oYou hear the sound of something approaching...&r", this.wormSpawning);
this.wormSpawnedChatMessage = new ToggleSetting("Worm/Scatha Spawned Chat Message", "if a chat info should be sent when a worm/scatha spawned", false, "worm_spawned_chat_message", this).requires(this.scathaMain);
this.petDroppedAlert = new ToggleSetting("Pet Dropped Alert", "Big title when a scatha pet dropped", false, "scatha_pet_dropped_alert", this).requires(this.scathaMain);
- this.colorToRarity = { "&9": "rare", "&5": "epic", "&6": "legandary" }
- this.registerChat("&r&6&lPET DROP! &r${rarity}Scatha &r&b(+${mf}% ✯ Magic Find!)&r", (rarity, mf, e) => {
+ this.colorToRarity = { 9: "rare", 5: "epic", 6: "legandary" }
+ //&r&6&lPET DROP! &r&9Scatha &r&b(+&r&b291% &r&b✯ Magic Find&r&b)&r
+ this.registerChat("&r&6&lPET DROP! &r&${rarity}Scatha &r&b(+&r&b${mf}% &r&b✯ Magic Find${end}", (rarity, mf, end, e) => {
let r = this.colorToRarity[rarity]
this.miningData.scatha[r]++
this.miningData.scatha.since_pet = 0
@@ -217,7 +218,7 @@ class PowderAndScatha extends Feature {
Client.showTitle(`${rarity}${r.toUpperCase()} SCATHA PET!`, ChatLib.getChatMessage(e), 0, 100, 10);
}
})
-
+
this.registerStep(true, 2, this.step2fps);
this.registerStep(true, 3, this.wormStep);
}