loottracker: add standard Casket
This commit is contained in:
@@ -198,6 +198,8 @@ public class LootTrackerPlugin extends Plugin
|
||||
"H.A.M. Member", "Woman"
|
||||
);
|
||||
|
||||
private static final String CASKET_EVENT = "Casket";
|
||||
|
||||
private static final Set<Character> VOWELS = ImmutableSet.of('a', 'e', 'i', 'o', 'u');
|
||||
|
||||
@Inject
|
||||
@@ -685,6 +687,7 @@ public class LootTrackerPlugin extends Plugin
|
||||
|| HERBIBOAR_EVENT.equals(eventType)
|
||||
|| HESPORI_EVENT.equals(eventType)
|
||||
|| SEEDPACK_EVENT.equals(eventType)
|
||||
|| CASKET_EVENT.equals(eventType)
|
||||
|| lootRecordType == LootRecordType.PICKPOCKET)
|
||||
{
|
||||
WorldPoint playerLocation = client.getLocalPlayer().getWorldLocation();
|
||||
@@ -719,6 +722,13 @@ public class LootTrackerPlugin extends Plugin
|
||||
lootRecordType = LootRecordType.EVENT;
|
||||
takeInventorySnapshot();
|
||||
}
|
||||
|
||||
if (event.getMenuOption().equals("Open") && event.getId() == ItemID.CASKET)
|
||||
{
|
||||
eventType = CASKET_EVENT;
|
||||
lootRecordType = LootRecordType.EVENT;
|
||||
takeInventorySnapshot();
|
||||
}
|
||||
}
|
||||
|
||||
@Schedule(
|
||||
|
||||
Reference in New Issue
Block a user