Potion

From MZXWiki
Jump to navigation Jump to search
Potion # 32 Id32.png
Robotic name Potion
Default color 13
Default param p00 (select)
ID char 150 (#32)
Score 5
Attributes Pushable: all
Effect when
touched
Become Space, move Player, Potion effect based on parameter

Potion (ID 32, Potion) is a built-in item. It is identical in every way except appearance to a Ring. When touched by the Player, it gives 5 SCORE, plays SFX 39, becomes a Space, moves the Player onto the new space, and performs one of 16 effects.

Usage

The purpose of Rings and Potions is to give the Player an item which they can not discern the effect of until it is used. Rings or Potions may have a beneficial effect, a negative effect, or no effect at all. This makes them useful in "dungeon crawling" type games, where the player may have to decide whether or not it is worth the risk of collecting one of these items.

"Normal" effects, such as healing, invinco, Freeze time, and Slow time are generally considered beneficial uses of Potions and Rings.

Other types of potion effects, such as Blind, Wind, and Avalanche, are generally difficult to use effectively, and are more likely to be interpreted as amateurish and annoying. An example of this usage is in Zeux II: Caverns of Zeux, where a Wind potion is placed adjacent to Lava as a trap. Some games intentionally use Potion effects in this way for comedic effect.

Effects like banish/summon dragons and kill enemies offer built-in effects that no other item in MegaZeux can easily replicate and may be placed strategically in a board, particularly if their effect is hinted at.

Effects

There are 16 potion effects. Potions and Rings select one effect based on their parameter. Parameter values >=16 act the same as "No effect", except they do not display a message.

# Name Message Effect
0 No effect * No effect * Nothing happens.
1 Invinco * Invinco * INVINCO is set to 113, regardless of its prior value.
2 Blast * Blast * Every position on the board occupied by a thing the floor attribute, but not the entrance attribute, has a 1/18 chance of having an Explosion placed on it. Each Explosion has a random size from 2 to 6.
3 Health x10 * Healing * Increases HEALTHS by 10.
4 Health x50 * Healing * Increases HEALTHS by 50.
5 Poison * Poison * Decreases HEALTHS by 10.
6 Blind * Blind * Enables Blind for 200 cycles, overriding its previous state.
7 Kill Enemies * Kill enemies * Destroys all Enemies on the board.
8 Lava Walker * Firewalking * Enables Firewalker for 200 cycles, overriding its previous state.
9 Detonate * Detonate * Turns every Bomb on the board into an Explosion. The Explosion size is based on the bomb type.
10 Banish * Banish dragons * Turns every Dragon on the board into a Ghost with the parameter p33 (Intelligence: 4, Movement speed: 4).
11 Summon * Summon dragons * Turns every Enemy on the board—including existing Dragons—into a Dragon with the color 4 and the parameter p66 (Firing rate: 3, Hit points: 4, Moves: yes).
12 Avalanche * Avalanche * Performs an Avalanche effect; every position on the board occupied by a thing the floor attribute, but not the entrance attribute, has a 1/18 chance of having a Boulder with color 7 placed on it.
13 Freeze Time * Freeze time * Enables Freeze time for 200 cycles, overriding its previous state.
14 Wind * Wind * Enables Wind for 200 cycles, overriding its previous state.
15 Slow Time * Slow time * Enables Slow time for 200 cycles, overriding its previous state.
>=16 Nothing happens.