v0.8.0: bugfixes:
- Hero FOV not being updated after they are pulled by golems - Necromancer skeletons counting towards mob spawn limits - New Tengu taking damage during phase 2 in rare cases - Keybindings window not accepting unbound keys.
This commit is contained in:
parent
48471bbfef
commit
4e3424f2cb
|
@ -78,7 +78,7 @@ public class Button extends Component {
|
|||
private Signal.Listener<KeyEvent> keyListener;
|
||||
|
||||
public GameAction keyAction(){
|
||||
return GameAction.NONE;
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -139,6 +139,7 @@ public class Golem extends Mob {
|
|||
ScrollOfTeleportation.appear(enemy, bestPos);
|
||||
if (enemy instanceof Hero){
|
||||
((Hero) enemy).interrupt();
|
||||
Dungeon.observe();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -344,7 +344,12 @@ public class Necromancer extends Mob {
|
|||
//20/25 health to start
|
||||
HP = 20;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public float spawningWeight() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
private void teleportSpend(){
|
||||
spend(TICK);
|
||||
}
|
||||
|
|
|
@ -113,9 +113,22 @@ public class NewTengu extends Mob {
|
|||
public int drRoll() {
|
||||
return Random.NormalIntRange(0, 5);
|
||||
}
|
||||
|
||||
|
||||
//Tengu is immune to debuffs and damage when removed from the level
|
||||
@Override
|
||||
public void add(Buff buff) {
|
||||
if (!Dungeon.level.mobs.contains(this)){
|
||||
return;
|
||||
}
|
||||
super.add(buff);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void damage(int dmg, Object src) {
|
||||
if (!Dungeon.level.mobs.contains(this)){
|
||||
return;
|
||||
}
|
||||
|
||||
NewPrisonBossLevel.State state = ((NewPrisonBossLevel)Dungeon.level).state();
|
||||
|
||||
int hpBracket = 20;
|
||||
|
@ -171,7 +184,7 @@ public class NewTengu extends Mob {
|
|||
public boolean isAlive() {
|
||||
return HP > 0 || Dungeon.level.mobs.contains(this); //Tengu has special death rules, see prisonbosslevel.progress()
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void die( Object cause ) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user