Bug-fix release.
master
Alex Henry 2016-04-30 14:16:33 -03:00
parent 28533600b8
commit 50de5a477d
1 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,8 @@ import tyrant.mikera.tyrant.Game.Delay;
public class Incursion extends WorldActor {
/** Move even if {@link Javelin#DEBUGDISABLECOMBAT} is enabled. */
private static final boolean FORCEMOVEMENT = false;
private static final boolean DONTSPAWN = false;
public static Integer currentel = 1;
/** @see #getel() */
@ -153,6 +155,9 @@ public class Incursion extends WorldActor {
* level 20 incursion to appear.
*/
public static boolean spawn() {
if (DONTSPAWN) {
return false;
}
if (RPG.r(1, 18) != 1 && !Javelin.DEBUG_SPAWNINCURSION) {
return false;
}