summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-06 14:18:58 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-06 14:18:58 -0600
commit0187b02a470c12b7e135c4f1c261000d1ce64ff5 (patch)
tree387c67cba2808c9d423eac937a08b586452ee21a /src/map/pc.c
parentdc2009d1a3b30b0742c3e59788e6277f7c497f6e (diff)
downloadtmwa-0187b02a470c12b7e135c4f1c261000d1ce64ff5.tar.gz
tmwa-0187b02a470c12b7e135c4f1c261000d1ce64ff5.tar.bz2
tmwa-0187b02a470c12b7e135c4f1c261000d1ce64ff5.tar.xz
tmwa-0187b02a470c12b7e135c4f1c261000d1ce64ff5.zip
Change stat reset to set all stats to 1 point
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index 67e280b..112506c 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -4868,16 +4868,14 @@ int pc_resetstate(struct map_session_data* sd)
// add += sumsp(sd->status.luk);
// sd->status.status_point+=add;
- sd->status.status_point -= 8 * 6; // [Fate] Remove points used for setting stats to 5
-
clif_updatestatus(sd,SP_STATUSPOINT);
- sd->status.str=5;
- sd->status.agi=5;
- sd->status.vit=5;
- sd->status.int_=5;
- sd->status.dex=5;
- sd->status.luk=5;
+ sd->status.str=1;
+ sd->status.agi=1;
+ sd->status.vit=1;
+ sd->status.int_=1;
+ sd->status.dex=1;
+ sd->status.luk=1;
clif_updatestatus(sd,SP_STR);
clif_updatestatus(sd,SP_AGI);