From 67fa6ea7b0c733cae0b7f25d6d681da568f15124 Mon Sep 17 00:00:00 2001 From: TheStonedTurtle Date: Sun, 25 Aug 2019 17:20:30 -0700 Subject: [PATCH] ItemsKeptOnDeath - Add missing salve (ei) price offset --- .../client/plugins/itemskeptondeath/FixedPriceItem.java | 2 ++ .../plugins/itemskeptondeath/ItemsKeptOnDeathPluginTest.java | 3 +++ 2 files changed, 5 insertions(+) diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/itemskeptondeath/FixedPriceItem.java b/runelite-client/src/main/java/net/runelite/client/plugins/itemskeptondeath/FixedPriceItem.java index 74120a47d6..4aa806616b 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/itemskeptondeath/FixedPriceItem.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/itemskeptondeath/FixedPriceItem.java @@ -94,6 +94,8 @@ enum FixedPriceItem ROGUE_GLOVES(ItemID.ROGUE_GLOVES, 650), ROGUE_BOOTS(ItemID.ROGUE_BOOTS, 650), + SALVE_AMULET_EI(ItemID.SALVE_AMULETEI, 209900), + RING_OF_WEALTH_1(ItemID.RING_OF_WEALTH_1, 500, ItemID.RING_OF_WEALTH), RING_OF_WEALTH_2(ItemID.RING_OF_WEALTH_2, 1000, ItemID.RING_OF_WEALTH), RING_OF_WEALTH_3(ItemID.RING_OF_WEALTH_3, 1500, ItemID.RING_OF_WEALTH), diff --git a/runelite-client/src/test/java/net/runelite/client/plugins/itemskeptondeath/ItemsKeptOnDeathPluginTest.java b/runelite-client/src/test/java/net/runelite/client/plugins/itemskeptondeath/ItemsKeptOnDeathPluginTest.java index 19ffc8f9a8..67a6e428e0 100644 --- a/runelite-client/src/test/java/net/runelite/client/plugins/itemskeptondeath/ItemsKeptOnDeathPluginTest.java +++ b/runelite-client/src/test/java/net/runelite/client/plugins/itemskeptondeath/ItemsKeptOnDeathPluginTest.java @@ -159,6 +159,9 @@ public class ItemsKeptOnDeathPluginTest final Item brace = mItem(ItemID.COMBAT_BRACELET1, 1, "Combat bracelet(1)", true, 0); final int braceletOffset = FixedPriceItem.COMBAT_BRACELET1.getOffset(); assertEquals(13500 + braceletOffset, plugin.getDeathPrice(brace)); + + final Item amulet = mItem(ItemID.SALVE_AMULETEI, 1, "Salve Amulet(ei)", false, 300); + assertEquals(210200, plugin.getDeathPrice(amulet)); } @Test