diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-07-11 20:56:11 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-07-11 20:56:11 +0800 |
commit | 444835e777fbe49959ee8fe99746955018ec45eb (patch) | |
tree | dd9cb494c0434aed0fcd4c41cf42decb2bb1316a /src/map/status.c | |
parent | 1708b62c12693cf55cdb97092ec7ec6692e8e272 (diff) | |
download | hercules-444835e777fbe49959ee8fe99746955018ec45eb.tar.gz hercules-444835e777fbe49959ee8fe99746955018ec45eb.tar.bz2 hercules-444835e777fbe49959ee8fe99746955018ec45eb.tar.xz hercules-444835e777fbe49959ee8fe99746955018ec45eb.zip |
Fixed Bug#7498
-Where RE equip atk doesn't properly update status window and negative equip atk should now affect atk.
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/status.c')
-rw-r--r-- | src/map/status.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c index 20d88e296..0d8bedc5e 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -4045,6 +4045,10 @@ void status_calc_bl_(struct block_list* bl, enum scb_flag flag, bool first) clif->updatestatus(sd,SP_HP); if(b_status.sp != status->sp) clif->updatestatus(sd,SP_SP); +#ifdef RENEWAL + if(b_status.equip_atk != status->equip_atk) + clif->updatestatus(sd,SP_ATK2); +#endif } else if( bl->type == BL_HOM ) { TBL_HOM* hd = BL_CAST(BL_HOM, bl); if( hd->master && memcmp(&b_status, status, sizeof(struct status_data)) != 0 ) |