From 1223374a40e4dc4ccc1f7569300745ea653a89ba Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 16 Sep 2013 10:21:49 -0700 Subject: Fix statup2 not actually increasing the stat --- src/map/pc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/map/pc.cpp b/src/map/pc.cpp index 5fdb390..bc7ef80 100644 --- a/src/map/pc.cpp +++ b/src/map/pc.cpp @@ -3228,6 +3228,7 @@ int pc_statusup2(dumb_ptr sd, SP type, int val) val = sd->status.attrs[attr] + val; val = std::min(val, battle_config.max_parameter); val = std::max(val, 1); + sd->status.attrs[attr] = val; clif_updatestatus(sd, sp_to_usp(type)); clif_updatestatus(sd, type); pc_calcstatus(sd, 0); -- cgit v1.2.3-60-g2f50