Originally posted by [b]theultramage[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1258
(originally reported in
this topic)
There was a glitch where if you equipped items that accumulated a -100% maxhp bonus and died, you would enter a weirdo zombie state where you could walk, talk and pick up items, but still could not attack nor be attacked.
In current trunk, this glitch doesn't happen anymore, but when you respawn, your hp will still show as '0'. The cause is
CODE
status->hp = 1; //Otherwise status_heal may fail if dead.
...
status_heal(&sd->bl, b_status->hp, b_status->sp>status->sp?b_status->sp-status->sp:0, 1);
->
if((unsigned int)hp > status->max_hp - status->hp)
hp = status->max_hp - status->hp;
...
if(!sp && !hp) return 0;
Paradoxically, setting the hp value to 1 blocks the client refresh from happening.
This post has been edited by theultramage: Mar 23 2008, 03:16 PM