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.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 9fa7982d5..08aeb291a 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -116,7 +116,7 @@ void initChangeTables(void) {
// StatusChangeFlagTable[SC_CONFUSION] = SCB_NONE;
StatusChangeFlagTable[SC_BLIND] = SCB_HIT|SCB_FLEE;
// StatusChangeFlagTable[SC_BLEEDING] = SCB_NONE;
-// StatusChangeFlagTable[SC_DPOISON] = SCB_NONE;
+ StatusChangeFlagTable[SC_DPOISON] = SCB_DEF2;
//The icons for the common ailments
// StatusIconChangeTable[SC_STONE] = SI_BLANK;
@@ -3156,6 +3156,8 @@ static signed short status_calc_def2(struct block_list *bl, struct status_change
def2 -= def2 * sc->data[SC_CONCENTRATION].val4/100;
if(sc->data[SC_POISON].timer!=-1)
def2 -= def2 * 25/100;
+ if(sc->data[SC_DPOISON].timer!=-1)
+ def2 -= def2 * 25/100;
if(sc->data[SC_SKE].timer!=-1)
def2 -= def2 * 50/100;
if(sc->data[SC_PROVOKE].timer!=-1)