diff options
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 3d0d0fc95..082a61aa3 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -6867,6 +6867,8 @@ void pc_bleeding (struct map_session_data *sd, unsigned int diff_tick) hp += sd->hp_loss.value; sd->hp_loss.tick -= sd->hp_loss.rate; } + if(hp >= sd->battle_status.hp) + hp = sd->battle_status.hp-1; //Script drains cannot kill you. } if (sd->sp_loss.value) { |