From 8ab45dd848d86d9d60c3cc23a3c5fcb75aca72c5 Mon Sep 17 00:00:00 2001 From: vk Date: Sat, 20 Nov 2021 20:43:18 +0000 Subject: [PATCH] Properly track leaf-bladed sword drops in ::stats command --- CHANGELOG | 3 ++- .../rs09/game/node/entity/player/info/stats/StatsCommandSet.kt | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index af307574a..79a6e68c9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -53,4 +53,5 @@ - Fairy rings emit a sound when teleporting. - Void set effects now work more uniformly. - Summoning familiars now grant combat xp when attacking -- Canoe travel interface now animates correctly \ No newline at end of file +- Canoe travel interface now animates correctly +- Properly track leaf-bladed sword drops in ::stats command diff --git a/Server/src/main/kotlin/rs09/game/node/entity/player/info/stats/StatsCommandSet.kt b/Server/src/main/kotlin/rs09/game/node/entity/player/info/stats/StatsCommandSet.kt index fb2e5104d..69d9a7e8b 100644 --- a/Server/src/main/kotlin/rs09/game/node/entity/player/info/stats/StatsCommandSet.kt +++ b/Server/src/main/kotlin/rs09/game/node/entity/player/info/stats/StatsCommandSet.kt @@ -74,7 +74,7 @@ fun sendStats(player: Player, other: Player, page: Int){ when(i) { 97 -> sendLine(player, "Turoths: ${GlobalKillCounter.getKills(other, TUROTH_IDS)}", i) 68 -> sendLine(player, "Kurasks: ${GlobalKillCounter.getKills(other, KURASK_IDS)}", i) - 69 -> sendLine(player, "Leaf-bladed swords: ${GlobalKillCounter.getRareDrops(other, Items.LEAF_BLADED_SPEAR_4158)}", i) + 69 -> sendLine(player, "Leaf-bladed swords: ${GlobalKillCounter.getRareDrops(other, Items.LEAF_BLADED_SWORD_13290)}", i) 70 -> sendLine(player,SPACER,i) 71 -> sendLine(player, "Gargoyles: ${GlobalKillCounter.getKills(other, GARGOYLE_IDS)}", i) 72 -> sendLine(player, "Granite mauls: ${GlobalKillCounter.getRareDrops(other, Items.GRANITE_MAUL_4153)}", i)