Merge pull request #4063 from Nightfirecat/dont-apply-vengeance-other-timer-on-energy-transfer
timers plugin: Apply Vengeance Other timer only on Vengeance Other graphic
This commit is contained in:
@@ -124,7 +124,6 @@ public final class AnimationID
|
||||
public static final int USING_GILDED_ALTAR = 3705;
|
||||
public static final int LOOKING_INTO = 832;
|
||||
public static final int DIG = 830;
|
||||
public static final int VENGEANCE_OTHER = 4411;
|
||||
public static final int DEMONIC_GORILLA_MAGIC_ATTACK = 7225;
|
||||
public static final int DEMONIC_GORILLA_MELEE_ATTACK = 7226;
|
||||
public static final int DEMONIC_GORILLA_RANGED_ATTACK = 7227;
|
||||
@@ -148,6 +147,7 @@ public final class AnimationID
|
||||
public static final int FARMING_HARVEST_FLOWER = 2292;
|
||||
|
||||
// Lunar spellbook
|
||||
public static final int ENERGY_TRANSFER_VENGEANCE_OTHER = 4411;
|
||||
public static final int MAGIC_LUNAR_FERTILE_SOIL = 4413;
|
||||
public static final int MAGIC_LUNAR_CURE_PLANT = 4432;
|
||||
public static final int MAGIC_LUNAR_GEOMANCY = 7118;
|
||||
|
||||
@@ -35,6 +35,7 @@ public class GraphicID
|
||||
public static final int ICE_BURST = 363;
|
||||
public static final int ICE_BLITZ = 367;
|
||||
public static final int ICE_BARRAGE = 369;
|
||||
public static final int VENGEANCE_OTHER = 725;
|
||||
public static final int VENGEANCE = 726;
|
||||
public static final int STAFF_OF_THE_DEAD = 1228;
|
||||
public static final int IMBUED_HEART = 1316;
|
||||
|
||||
@@ -60,7 +60,7 @@ public enum GameTimer
|
||||
ICEBARRAGE("icebarrage", "Ice barrage", GraphicID.ICE_BARRAGE, 20, ChronoUnit.SECONDS),
|
||||
IMBUEDHEART("imbuedheart", "Imbued heart", GraphicID.IMBUED_HEART, 420, ChronoUnit.SECONDS),
|
||||
VENGEANCE("vengeance", "Vengeance", GraphicID.VENGEANCE, 30, ChronoUnit.SECONDS),
|
||||
VENGEANCEOTHER("vengeanceother", "Vengeance Other", -1, 30, ChronoUnit.SECONDS),
|
||||
VENGEANCEOTHER("vengeanceother", "Vengeance Other", GraphicID.VENGEANCE_OTHER, 30, ChronoUnit.SECONDS),
|
||||
ANTIDOTEPLUS("antidoteplus", "Antidote+", 518, ChronoUnit.SECONDS),
|
||||
ANTIVENOM("antivenom", "Anti-venom", 12, ChronoUnit.MINUTES),
|
||||
EXSUPERANTIFIRE("exsuperantifire", "Extended Super AntiFire", 6, ChronoUnit.MINUTES),
|
||||
|
||||
@@ -445,7 +445,9 @@ public class TimersPlugin extends Plugin
|
||||
return;
|
||||
}
|
||||
|
||||
if (config.showVengeanceOther() && actor.getAnimation() == AnimationID.VENGEANCE_OTHER)
|
||||
if (config.showVengeanceOther()
|
||||
&& actor.getAnimation() == AnimationID.ENERGY_TRANSFER_VENGEANCE_OTHER
|
||||
&& actor.getInteracting().getGraphic() == VENGEANCEOTHER.getGraphicId())
|
||||
{
|
||||
createGameTimer(VENGEANCEOTHER);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user