Mike's Adventure Game - Mini FAQ - Traps
(Use a fixed width font to get tables to line up.)
===
Game Information:
Mike's Adventure Game is a roguelike game developed by
Michael J. Teixeira in 1986-1988. MAG and PCMAG are
shortened names for this game. MAG is quite similar
to Rogue as well as Hack (which is the ancestor of Nethack).
===
Mini FAQ Information:
This FAQ is based on playing the game as well as looking
at the game source code.
===
Trap Facts:
1) Traps can affect both players and dungeon creatures.
2) Traps are hidden until the player steps on one or
until a monster steps on it when the monster is
visible to the player (usually while in the same room).
3) A player avoids traps 47.5 percent of the time. (Unknown
if a monster always set off traps ???).
While playing the game I've seen a monster chose to
not step on a trap even though the trap is in the
shortest path to the player.
4) A ring of free action allows the player to avoid all traps
5) A monter can be affected by a trap even when the monster is
not visible to the player (i.e., in another room).
6) The number of traps per dungeon level is:
levels | minimum | maximum | formula used
--------|---------|---------|-------------------------------
1 - 10 | 1 | 2 | 1 + rnd(2)
11 - 20 | 1 | 5 | 1 + rnd(2) + rnd(4)
21+ | 1 | 8 | 1 + rnd(2) + rnd(4) + rnd(4)
NOTE: rnd(X) is calculated using "(rand() MOD X)" where rand()
generates an integer random number
===
Types of Traps
1) Spider web:
Player:
- Effect: player cannot move. See "Being Stuck" section below
- Message: "You are caught in a sticky, strandy spider web!"
- Message when avoided by ring of free action:
"Wait! The web melts and you pass through it."
Monster:
- Effect: Monster cannot move. See "Being Stuck" section below
- Monster message if monster visible to player:
"The MONSTER_NAME gets caught in a spider web!"
2) Stun:
Player:
- Effect: Player loses 1 to 5 hit points and one of the
following
percent | effect
---------------------------------------------------------
33.3 | Confused for 10 to 19 turns if not already confused
33.3 | Blind for 5 to 14 turns if not already confused
| "You can't see anything!"
33.3 | Sleep for 5 to 9 turns if not already sleeping
| "You go unconsious!"
- Message: "<<ZZRRRRAAAPP>> An electric burning rips
through your body!"
- Message when avoided: no message
Monster:
- Effect: Monster loses 1 hit point and has a 50 percent
chance to become stuck or 50 percent chance to
become confused. See "Being Stuck" section below
- Message: "You hear a zapping sound." (Always printed
even for monsters not visible to the player.)
3) Pendulum:
Player:
- Effect: Player loses (5 + dungeon_level) to (9 +
dungeon_level) hit points
The percent chance to be damaged by this trap
is given the table below.
experience | Percent chance
level | to be damaged
-----------|--------------
1 | 45.0
2 | 42.5
3 | 40.0
4 | 37.5
5 | 35.0
6 | 32.5
7 | 30.0
8 | 27.5
9 | 25.0
10 | 22.5
11 | 20.0
12 | 17.5
13 | 15.0
14 | 12.5
15 | 10.0
16 | 7.5
17 | 5.0
18 | 2.5
19+ | 0.0
- Message: "A huge sharp pendulum blade swings down from
above..."
Monster:
- Effect: Monster loses (5 + dungeon_level) to (9 +
dungeon_level) hit points
- Message: "A pendulum swings down and slices into the
MONSTER_NAME!" (only if monster visible to player)
4) Strangle weed:
Player:
- Effect: Player becomes stuck and loses 1 hit point
each turn. See "Being Stuck" section below
- Message: "A weed snakes out and wraps around your neck!"
- Message when avoided: no message
- Message when avoided by ring of free action: "You manage
to slip from its grasp!"
Monster:
- Effect: Monster becomes stuck and loses 1 to 4 hit
points. See "Being Stuck" section below
- Message: "A weed snakes out and wraps around the
MONSTER_NAME!"
5) Poison needle:
Player:
- Effect: Player loses 5 to 9 hit points and strength.
Strength is not lost if player is wearing a ring of
sustain strength.
There is a 50 percent chance that player strength will
go down 1 point for 500 to 999 turns.
There is a 50 percent chance that strength will be down
2 points for 500 to 999 turns and then be down 1 point
for an additional 500 to 999 turns.
It takes 500-999 turns to regain 1 strength point.
- Message: "Ouch! A poison needle stabbed you in the foot."
- Message when avoided: no message
Monster:
- Effect: Monster loses 5 to 9 hit points.
- Message: "A needle jabs the MONSTER_NAME."
6) Sleeping gas:
Player:
- Effect: Player falls asleep for 5 to 9 turns
- Message: "A curious white mist encircles you...you
fall asleep."
- Message when avoided: no message
Monster:
- Effect: Monster sleeping (for how long ???. Source
code looks like monster sleeps until woken
up by player)
- Message: "A faint white wisp of mist encircles
the MONSTER_NAME."
7) Bear trap:
Player:
- Effect: Player loses 1 to 6 hit points and becomes
stuck. See "Being Stuck" section below
Player stuck for 1 turn if wearing a ring of
free action or 5 to 9 turns otherwise.
- Message: "A bear trap snaps shut on your foot!"
- Message when avoided: no message
Monster:
- Effect: Monster loses 1 to 6 hit points and becomes
stuck. See "Being Stuck" section below
- Message: "A bear trap snaps shut on the MONSTER_NAME."
8) Flying spear: Has no effect when in a maze room.
Player:
- Effect: Same damage as being attacked with a spear.
Damage is 0 to 4 points.
Damage type for a spear is "2d3" which is a
random number from 0 to 2 plus another random
number from 0 to 2.
- Message: "A spear shoots out from a hole in the wall!"
- Message when avoided: no message
Monster: not affected by this trap
9) Teleportation:
Player:
- Effect: Player teleported to a random square on the
current dungeon level and is confused for 1 to
3 turns.
- Message: no message
Monster:
- Effect: Monster teleported to a random square on
the current dungeon level.
- Message: no message
Being Stuck:
- Player: Player has to try to move for 5 to 9 turns
to escape the trap.
- Monster: If not on the sapphire level the monster has
a 1 out of 7 chance (14 percent) to escape
If on the sapphire level, the moster will be
stuck for 1 turn if it is already damaged or
be stuck for 2 turns if it is not damaged
when it becomes stuck.
=== end of mini FAQ - Traps ===