Add #wiztelekinesis for testing purposes
For testing mhurtle, which is used for jousting or bare-handed combat. Improve mhurtle_step to handle bumping into another monster, and when the monster gets killed or stuck in a trap.
This commit is contained in:
@@ -83,7 +83,11 @@ enum trap_types {
|
||||
};
|
||||
|
||||
/* some trap-related function return results */
|
||||
enum { Trap_Effect_Finished = 0, Trap_Is_Gone = 0, Trap_Killed_Mon = 2 };
|
||||
enum { Trap_Effect_Finished = 0,
|
||||
Trap_Is_Gone = 0,
|
||||
Trap_Caught_Mon = 1,
|
||||
Trap_Killed_Mon = 2
|
||||
};
|
||||
|
||||
#define is_pit(ttyp) ((ttyp) == PIT || (ttyp) == SPIKED_PIT)
|
||||
#define is_hole(ttyp) ((ttyp) == HOLE || (ttyp) == TRAPDOOR)
|
||||
|
||||
Reference in New Issue
Block a user