summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/dungeon.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/dungeon.txt b/npc/functions/dungeon.txt
index ef0bcc08e..f29fea403 100644
--- a/npc/functions/dungeon.txt
+++ b/npc/functions/dungeon.txt
@@ -93,9 +93,9 @@ OnSick:
}
// The effect is based on HP
- if (MaxHp*7/10 > Hp)
+ if (Hp*10 > MaxHp*7)
.@eff = SC_BLOODING;
- else if (MaxHp*4/10 > Hp)
+ else if (Hp*10 > MaxHp*4)
.@eff = SC_POISON;
else
.@eff = SC_DPOISON;