Changes between Initial Version and Version 7 of Ticket #591


Ignore:
Timestamp:
12/25/10 23:16:23 (9 years ago)
Author:
takkaria
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #591

    • Property Keywords monster,interesting added
    • Property Status changed from new to confirmed
    • Property Type changed from bug to change
    • Property Milestone changed from 4.0 to 3.3.0
  • Ticket #591 – Description

    initial v7  
    1 e.g. see Zaiband 
     1As far as I can tell, if a monster is fully healed but stunned/confused/afraid and is half a dungeon away from the player, those status effects will not go away. 
     2 
     3The problem here is as follows: 
     4- player hurts monster (lots) 
     5- monster runs away to other side of the dungeon 
     6- monster gets up to full HP (because monster HP recovers regardless of distance, see dungeon.c:regen_monsters()) 
     7- because monster is out of range from the player and is fully healed, the status effects don't go away (see melee2.c:process_monsters()) 
     8 
     9Suggested fix: 
     10- heal status effects regardless of distance 
     11 
     12process_monster() in melee2.c is a bit horrific and needs splitting out into smaller functions, too.  Should move regen_monsters() to melee2.c too.