kdechant / eamon

A web port of the classic text adventure game, the Wonderful World of Eamon
https://eamon-remastered.com
MIT License
22 stars 5 forks source link

Minotaur error #4

Closed EamonAG closed 6 years ago

EamonAG commented 6 years ago

Check this transcript after Lil died:

power Nothing happens. In the Gypsy camp. (N/S/E/W) You see Larcenous Lil's body.

power Nothing happens. In the Gypsy camp. (N/S/E/W) You see Larcenous Lil's body.

heal lil Spell ability increased! Some of Larcenous Lil's wounds seem to clear up. Larcenous Lil is in pain.

In the Gypsy camp. (N/S/E/W) Larcenous Lil is here. You see Larcenous Lil's body.

kdechant commented 6 years ago

That was a good one. The HEAL spell logic contained a check if the monster was in the room but it wasn't working. I updated the code and also added a "no one here by that name" message if you try to heal a monster that isn't in the room.