You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// TODO: remove this vacuum service. It is for debugging.
687
+
for (finalNpcnpc : getWorld().getNpcs()) {
688
+
if (npc.getCombatEvent() != null) {
689
+
if (!npc.getCombatEvent().isRunning() && npc.getOpponent() != null) {
690
+
if (config.WANT_DISCORD_GENERAL_LOGGING) {
691
+
getDiscordService().playerLog((Player)npc.getOpponent(), "An NPC with ID " + npc.getID() + ":" + npc.getIndex() + " @ " + npc.getX() + "," + npc.getY() + " was stuck, and should be unstuck now. You have some debugging still to do.");
692
+
}
693
+
694
+
if (npc.getSkills().getLevel(Skill.HITS.id()) <= 0) {
695
+
npc.killedBy(npc.getOpponent()); // possibly not actually who killed them e.g. ranged/mage kill
0 commit comments