Browse Source

None added to enum MonsterType

master
FatBoy-DOTC 2 years ago
parent
commit
1d74643fe3
  1. 1
      src/engine/Enum.java
  2. 2
      src/engine/ai/MobileFSM.java

1
src/engine/Enum.java

@ -50,6 +50,7 @@ public class Enum { @@ -50,6 +50,7 @@ public class Enum {
}
public enum MonsterType implements EnumBitSetHelper<MonsterType> {
None,
Aelfborn,
All,
Animal,

2
src/engine/ai/MobileFSM.java

@ -552,7 +552,7 @@ public class MobileFSM { @@ -552,7 +552,7 @@ public class MobileFSM {
}
public static void GuardMinionLogic(Mob mob){
if(mob.despawned){
if(mob.despawned || mob.isAlive() == false){
if(System.currentTimeMillis() > mob.deathTime + (mob.spawnTime * 1000)){
mob.respawn();
}

Loading…
Cancel
Save