summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2024-07-18 13:14:28 +0200
committerThorbjørn Lindeijer <bjorn@lindeijer.nl>2024-08-30 21:05:24 +0200
commit561af90af66d336c6c3cc10414029875ecf4902c (patch)
tree27f0fbd4f67eee2f29ef71b9c86a71f7749a9d48 /src/map/pc.cpp
parent8ee68fcd6c02a2c0d54bb3a6e2780800fa5e096e (diff)
downloadtmwa-561af90af66d336c6c3cc10414029875ecf4902c.tar.gz
tmwa-561af90af66d336c6c3cc10414029875ecf4902c.tar.bz2
tmwa-561af90af66d336c6c3cc10414029875ecf4902c.tar.xz
tmwa-561af90af66d336c6c3cc10414029875ecf4902c.zip
Max Weight Add Bonus
Diffstat (limited to 'src/map/pc.cpp')
-rw-r--r--src/map/pc.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/pc.cpp b/src/map/pc.cpp
index 6d71d81..0b7cf05 100644
--- a/src/map/pc.cpp
+++ b/src/map/pc.cpp
@@ -1898,6 +1898,10 @@ int pc_bonus(dumb_ptr<map_session_data> sd, SP type, int val)
if (!sd->state.lr_flag_is_arrow_2)
sd->max_weight = val;
break;
+ case SP::MAXWEIGHT_ADD:
+ if (!sd->state.lr_flag_is_arrow_2)
+ sd->max_weight += val;
+ break;
default:
if (battle_config.error_log)
PRINTF("pc_bonus: unknown type %d %d !\n"_fmt,