v1.0.1: tweaked guidebook trigger for examining
This commit is contained in:
@@ -1256,7 +1256,7 @@ public class Hero extends Char {
|
|||||||
} else if (distance(target) > distance(m)) {
|
} else if (distance(target) > distance(m)) {
|
||||||
target = m;
|
target = m;
|
||||||
}
|
}
|
||||||
if (m instanceof Snake
|
if (m instanceof Snake && Dungeon.level.distance(m.pos, pos) <= 4
|
||||||
&& !Document.ADVENTURERS_GUIDE.isPageRead(Document.GUIDE_EXAMINING)){
|
&& !Document.ADVENTURERS_GUIDE.isPageRead(Document.GUIDE_EXAMINING)){
|
||||||
GLog.p(Messages.get(Guidebook.class, "hint"));
|
GLog.p(Messages.get(Guidebook.class, "hint"));
|
||||||
GameScene.flashForDocument(Document.GUIDE_EXAMINING);
|
GameScene.flashForDocument(Document.GUIDE_EXAMINING);
|
||||||
|
|||||||
Reference in New Issue
Block a user