forked from External/mage
[AFR] Implemented Keen-Eared Sentry
This commit is contained in:
parent
9d1b84102f
commit
d846f6113a
4 changed files with 124 additions and 0 deletions
|
|
@ -478,7 +478,11 @@ public abstract class GameImpl implements Game, Serializable {
|
|||
|
||||
@Override
|
||||
public void ventureIntoDungeon(UUID playerId) {
|
||||
if (replaceEvent(GameEvent.getEvent(GameEvent.EventType.VENTURE, playerId, null, playerId))) {
|
||||
return;
|
||||
}
|
||||
this.getOrCreateDungeon(playerId).moveToNextRoom(playerId, this);
|
||||
fireEvent(GameEvent.getEvent(GameEvent.EventType.VENTURED, playerId, null, playerId));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue