diff --git a/triggers/triggers-dt/src/main/java/gg/xp/xivsupport/triggers/ultimate/FRU.java b/triggers/triggers-dt/src/main/java/gg/xp/xivsupport/triggers/ultimate/FRU.java new file mode 100644 index 000000000000..fd32a542beba --- /dev/null +++ b/triggers/triggers-dt/src/main/java/gg/xp/xivsupport/triggers/ultimate/FRU.java @@ -0,0 +1,21 @@ +package gg.xp.xivsupport.triggers.ultimate; + +import gg.xp.reevent.events.EventContext; +import gg.xp.reevent.scan.AutoChildEventHandler; +import gg.xp.reevent.scan.FilteredEventHandler; +import gg.xp.xivdata.data.duties.*; +import gg.xp.xivsupport.events.state.XivState; + +public class FRU extends AutoChildEventHandler implements FilteredEventHandler { + private final XivState state; + + public FRU(XivState state) { + this.state = state; + } + + @Override + public boolean enabled(EventContext context) { + return state.dutyIs(KnownDuty.FRU); + } + +} diff --git a/xivdata/src/main/java/gg/xp/xivdata/data/duties/KnownDuty.java b/xivdata/src/main/java/gg/xp/xivdata/data/duties/KnownDuty.java index 649b7931ab41..f5621e22b067 100644 --- a/xivdata/src/main/java/gg/xp/xivdata/data/duties/KnownDuty.java +++ b/xivdata/src/main/java/gg/xp/xivdata/data/duties/KnownDuty.java @@ -66,6 +66,7 @@ public enum KnownDuty implements Duty { M3S("M3S", 1230,Expansion.DT, DutyType.SAVAGE_RAID), M4S("M4S", 1232,Expansion.DT, DutyType.SAVAGE_RAID), + FRU("FRU", 1238, Expansion.DT, DutyType.ULTIMATE), ; private final String name; diff --git a/xivdata/src/main/resources/xiv/territory/TerritoryType.oos.gz b/xivdata/src/main/resources/xiv/territory/TerritoryType.oos.gz index c8e2c3a09148..00c0a709443d 100644 Binary files a/xivdata/src/main/resources/xiv/territory/TerritoryType.oos.gz and b/xivdata/src/main/resources/xiv/territory/TerritoryType.oos.gz differ