forked from MagicBane/Server
mob clear effects on death
This commit is contained in:
@@ -944,6 +944,8 @@ public class MobAI {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
for(Effect eff : aiAgent.effects.values())
|
||||||
|
eff.endEffect();
|
||||||
|
|
||||||
if(Mob.discDroppers.contains(aiAgent))
|
if(Mob.discDroppers.contains(aiAgent))
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -155,6 +155,7 @@ public class Mine extends AbstractGameObject {
|
|||||||
this.allowed_teleport_time = System.currentTimeMillis();
|
this.allowed_teleport_time = System.currentTimeMillis();
|
||||||
|
|
||||||
//decide if lore or not
|
//decide if lore or not
|
||||||
|
this.enforceLore = false;
|
||||||
//this.enforceLore = ThreadLocalRandom.current().nextInt(1,5) == 2;
|
//this.enforceLore = ThreadLocalRandom.current().nextInt(1,5) == 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user