FANDOM


(Created page with "You are right Darkoko :) com.watabou.pixeldungeon.levels.features.Chasm.heroFall(int) { ... if((Dungeon.level instanceof RegularLevel) && ((RegularLevel)Dungeon.leve...")
 
 
Line 1: Line 1:
 
You are right Darkoko :)
 
You are right Darkoko :)
   
com.watabou.pixeldungeon.levels.features.Chasm.heroFall(int) {
+
Chasm.heroFall(int room) {
 
...
 
...
if((Dungeon.level instanceof RegularLevel) && ((RegularLevel)Dungeon.level).room(i).type == com.watabou.pixeldungeon.levels.Room.Type.WEAK_FLOOR)
+
if((Dungeon.level instanceof RegularLevel) && ((RegularLevel)Dungeon.level).room(room).type == Room.Type.WEAK_FLOOR)
 
InterlevelScene.fallIntoPit = true;
 
InterlevelScene.fallIntoPit = true;
 
else
 
else

Latest revision as of 05:14, June 1, 2014

You are right Darkoko :)

Chasm.heroFall(int room) {
   ...
   if((Dungeon.level instanceof RegularLevel) && ((RegularLevel)Dungeon.level).room(room).type == Room.Type.WEAK_FLOOR)
               InterlevelScene.fallIntoPit = true;
           else
               InterlevelScene.fallIntoPit = false;
   ...
}

"Weak floor" is the room type in the picture above.


154.20.96.63 wrote: ... Dont know how to get into it when it is level 1

From what I see, the Pit room will only generate if the weak floor room generated above it. (Also the weak floor won't generate if the level below is a boss level)

Community content is available under CC-BY-SA unless otherwise noted.