diff options
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 92fac24f3..44eee8c21 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -2703,7 +2703,7 @@ int clif_updatestatus(struct map_session_data *sd,int type) WFIFOL(fd,4)=sd->battle_status.def2;
break;
case SP_MDEF2:
- WFIFOL(fd,4)=sd->battle_status.mdef2;
+ WFIFOL(fd,4)=sd->battle_status.mdef2 - (sd->battle_status.vit>>1);
break;
case SP_CRITICAL:
WFIFOL(fd,4)=sd->battle_status.cri/10;
@@ -3028,7 +3028,7 @@ int clif_initialstatus(struct map_session_data *sd) WBUFW(buf,24) = sd->battle_status.def; // def
WBUFW(buf,26) = sd->battle_status.def2;
WBUFW(buf,28) = sd->battle_status.mdef; // mdef
- WBUFW(buf,30) = sd->battle_status.mdef2;
+ WBUFW(buf,30) = sd->battle_status.mdef2 - (sd->battle_status.vit>>1);
WBUFW(buf,32) = sd->battle_status.hit;
WBUFW(buf,34) = sd->battle_status.flee;
WBUFW(buf,36) = sd->battle_status.flee2/10;
|