Barbarianassault merge (#579)
* widgets: update name to more accurately represent widget
* BarbarianAssault: WIP batools/barbarianassult merge
* widgetinfo: add weapon name widget
* healer codes: semi-fixed
* menu prioritization: walk here here now takes priority over incorrect
eggs and any type of bait if enabled in config
* add cntl healer
* add slider config option for prayer metronome volume, and fix some more
menu options
* add shift overstock and cleanup imports/config
* add death timers and update copyrights and config
* Remove unused class
* add mode class
* add ProjectileSpawn event
* add tagging
* add reset before wave starts
* improve end of wave handling and disabling/enabling plugin mid game
* fix horn of glory pt. 1
* fix horn of glory pt. 2
* fix call timer and finish horn of glory
* fix 🙏 healer codes
* cleanup and move certain methods to client thread
* cleanup
This commit is contained in:
@@ -27,6 +27,7 @@ package net.runelite.mixins;
|
||||
import net.runelite.api.Actor;
|
||||
import net.runelite.api.coords.LocalPoint;
|
||||
import net.runelite.api.events.ProjectileMoved;
|
||||
import net.runelite.api.events.ProjectileSpawned;
|
||||
import net.runelite.api.mixins.Inject;
|
||||
import net.runelite.api.mixins.MethodHook;
|
||||
import net.runelite.api.mixins.Mixin;
|
||||
@@ -42,6 +43,14 @@ public abstract class RSProjectileMixin implements RSProjectile
|
||||
@Shadow("client")
|
||||
private static RSClient client;
|
||||
|
||||
@Inject
|
||||
RSProjectileMixin()
|
||||
{
|
||||
final ProjectileSpawned projectileSpawned = new ProjectileSpawned();
|
||||
projectileSpawned.setProjectile(this);
|
||||
client.getCallbacks().post(projectileSpawned);
|
||||
}
|
||||
|
||||
@Inject
|
||||
@Override
|
||||
public int getRemainingCycles()
|
||||
|
||||
Reference in New Issue
Block a user