loot tracker: add ruins of camdozaal vault lockboxes

Co-authored-by: Kevin <kevin.weiyih@outlook.com>
This commit is contained in:
Adam
2021-07-31 17:12:31 -04:00
committed by Adam
parent 28cdb62198
commit 240ec79da0

View File

@@ -792,7 +792,8 @@ public class LootTrackerPlugin extends Plugin
|| WINTERTODT_SUPPLY_CRATE_EVENT.equals(eventType)
|| eventType.endsWith("Bird House")
|| eventType.startsWith("H.A.M. chest")
|| lootRecordType == LootRecordType.PICKPOCKET)
|| lootRecordType == LootRecordType.PICKPOCKET
|| eventType.endsWith("lockbox"))
{
WorldPoint playerLocation = client.getLocalPlayer().getWorldLocation();
Collection<ItemStack> groundItems = lootManager.getItemSpawns(playerLocation);
@@ -860,6 +861,12 @@ public class LootTrackerPlugin extends Plugin
setEvent(LootRecordType.EVENT, TEMPOROSS_CASKET_EVENT);
takeInventorySnapshot();
break;
case ItemID.SIMPLE_LOCKBOX_25647:
case ItemID.ELABORATE_LOCKBOX_25649:
case ItemID.ORNATE_LOCKBOX_25651:
setEvent(LootRecordType.EVENT, itemManager.getItemComposition(event.getId()).getName());
takeInventorySnapshot();
break;
}
}
}