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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -345,6 +345,11 @@ public class Necromancer extends Mob {
|
|||
HP = 20;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float spawningWeight() {
|
||||
return 0;
|
||||
}
|
||||
|
||||
private void teleportSpend(){
|
||||
spend(TICK);
|
||||
}
|
||||
|
|
|
@ -114,8 +114,21 @@ public class NewTengu extends Mob {
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user