avoid becoming stunned due to level teleporting
Reported by entrez: the code to have a hero become stunned for 1..3 turns when going though a level teleporter trap effectively negated teleport control (except in wizard mode which is probably why this slipped through). Make the effect happen after level_tele instead of before, change it from being stunned to being confused, and only happen if hero lacks teleport control. The association between confusion and level teleportation already exists and this might be just enough of a hint for someone who isn't aware of that yet to figure it out. (Probably just wishing thinking.) Magic portal traversal hasn't changed; it still causes brief stun.
This commit is contained in:
+2
-1
@@ -826,7 +826,8 @@ if a lit potion of oil on the floor was launched by an explosion and it hit
|
||||
tried to extinguish it as a light source
|
||||
place_object() validated coordinates after using them to index level.objects
|
||||
killed rope golem may drop leashes and bullwhips
|
||||
using magic portals and level teleporters stuns hero for a few turns
|
||||
using magic portals stuns hero for a few turns
|
||||
using level teleporters confuses hero without teleport control for a few turns
|
||||
clear obj->bypass for buried objects [a giant on ice triggers a fire trap,
|
||||
inventory is subjected to burning and surviving objects have their
|
||||
bypass bit set, giant is killed by fire trap and drops a boulder and
|
||||
|
||||
Reference in New Issue
Block a user