summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 16eec43c1..5c40712fa 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -6953,7 +6953,7 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr data)
break;
case SC_POISON:
- if(status->hp <= status->max_hp>>2) //Stop damaging after 25% HP left.
+ if(status->hp <= max(status->max_hp>>2, sce->val4)) //Stop damaging after 25% HP left.
break;
case SC_DPOISON:
if (--(sce->val3) > 0) {