summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-03-04 17:42:54 -0300
committerJesusaves <cpntb1@ymail.com>2022-03-04 17:42:54 -0300
commit65b4818db23518b400e26ff04c11a851600988d5 (patch)
tree3e7948a049d64558576345986327149dcee18dec
parentf0416e8d8191e7eee3d57a8578d9a53b880ba121 (diff)
downloadevol-hercules-65b4818db23518b400e26ff04c11a851600988d5.tar.gz
evol-hercules-65b4818db23518b400e26ff04c11a851600988d5.tar.bz2
evol-hercules-65b4818db23518b400e26ff04c11a851600988d5.tar.xz
evol-hercules-65b4818db23518b400e26ff04c11a851600988d5.zip
Bonus strength now affects max weight (10g each)
-rw-r--r--src/emap/status.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/status.c b/src/emap/status.c
index 38a5f66..825d194 100644
--- a/src/emap/status.c
+++ b/src/emap/status.c
@@ -183,6 +183,9 @@ void estatus_calc_pc_additional_pre(struct map_session_data **sdPtr,
node = node->next;
}
+ // Bonus max weight from bonus strength
+ sd->max_weight += sd->param_bonus[0]*10;
+
hookStop();
}