summaryrefslogtreecommitdiff
path: root/src/map/charcommand.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-04 18:23:57 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-04 18:23:57 +0000
commit8214af442ea63919d69d368221ae2d61456488b9 (patch)
tree9efad3f11ace58a29ad05c0c3c9e9fa31964def8 /src/map/charcommand.c
parent46ca642c09468dbc52ca390c8f1d368e7ffa2966 (diff)
downloadhercules-8214af442ea63919d69d368221ae2d61456488b9.tar.gz
hercules-8214af442ea63919d69d368221ae2d61456488b9.tar.bz2
hercules-8214af442ea63919d69d368221ae2d61456488b9.tar.xz
hercules-8214af442ea63919d69d368221ae2d61456488b9.zip
- Some code cleanups.
- Added new Cell types (NoChat and NoDamage) - Added JobChangeLevel and FreeSKPoints to #stats - Added a Crash protection in clif_send with invalid fd values. - Merged a missing update in TK Mission. - Added script command 'getmapflag' - Merged some new Status Change to Stable. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12175 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/charcommand.c')
-rw-r--r--src/map/charcommand.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/charcommand.c b/src/map/charcommand.c
index 768251005..a097dcbad 100644
--- a/src/map/charcommand.c
+++ b/src/map/charcommand.c
@@ -230,6 +230,8 @@ int charcommand_stats(const int fd, struct map_session_data* sd, const char* com
{ "Dex - %3d", 0 },
{ "Luk - %3d", 0 },
{ "Zeny - %d", 0 },
+ { "Free SK Points - %d", 0 },
+ { "JobChangeLvl - %d", 0 },
{ NULL, 0 }
};
@@ -263,6 +265,8 @@ int charcommand_stats(const int fd, struct map_session_data* sd, const char* com
output_table[10].value = pl_sd->status.dex;
output_table[11].value = pl_sd->status.luk;
output_table[12].value = pl_sd->status.zeny;
+ output_table[13].value = pl_sd->status.skill_point;
+ output_table[14].value = pl_sd->change_level;
sprintf(job_jobname, "Job - %s %s", job_name(pl_sd->status.class_), "(level %d)");
sprintf(output, msg_txt(53), pl_sd->status.name); // '%s' stats: