mob clear effects on death

This commit is contained in:
2025-03-18 20:44:16 -05:00
parent b2038e201c
commit f7f5aa59a0
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -944,6 +944,8 @@ public class MobAI {
}
return;
}
for(Effect eff : aiAgent.effects.values())
eff.endEffect();
if(Mob.discDroppers.contains(aiAgent))
return;
+1
View File
@@ -155,6 +155,7 @@ public class Mine extends AbstractGameObject {
this.allowed_teleport_time = System.currentTimeMillis();
//decide if lore or not
this.enforceLore = false;
//this.enforceLore = ThreadLocalRandom.current().nextInt(1,5) == 2;
}