diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-06 16:16:25 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-03-06 16:16:25 +0000 |
commit | 91370409aede963a205b1f9987a3594d6d4e3928 (patch) | |
tree | b00df8498d34daa92298805b2f4dadf31c5d9eda /src/map/atcommand.c | |
parent | db118dccc74b5c9c0694cdfa863b33ed6984c0fb (diff) | |
download | hercules-91370409aede963a205b1f9987a3594d6d4e3928.tar.gz hercules-91370409aede963a205b1f9987a3594d6d4e3928.tar.bz2 hercules-91370409aede963a205b1f9987a3594d6d4e3928.tar.xz hercules-91370409aede963a205b1f9987a3594d6d4e3928.zip |
- Corrected the define for NK no cardfix (def).
- Updated skills that shouldn't ignore the target's cards: Smoking, Fling, Zenynage
- Fixed the char sql server not escaping the server name before inserting it on the ragsrvinfo table.
- Corrected @lvup not doing the party even share check.
- Corrected breaker's misc part not ignoring element.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9969 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r-- | src/map/atcommand.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index d04867661..1e3af7424 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -2725,10 +2725,6 @@ int atcommand_baselevelup(const int fd, struct map_session_data* sd, const char* else sd->status.status_point += status_point; sd->status.base_level += (unsigned int)level; - clif_updatestatus(sd, SP_BASELEVEL); - clif_updatestatus(sd, SP_NEXTBASEEXP); - clif_updatestatus(sd, SP_STATUSPOINT); - status_calc_pc(sd, 0); status_percent_heal(&sd->bl, 100, 100); clif_misceffect(&sd->bl, 0); clif_displaymessage(fd, msg_txt(21)); /* Base level raised. */ @@ -2748,14 +2744,15 @@ int atcommand_baselevelup(const int fd, struct map_session_data* sd, const char* sd->status.status_point = 0; else sd->status.status_point -= status_point; - clif_updatestatus(sd, SP_STATUSPOINT); sd->status.base_level -= (unsigned int)level; - clif_updatestatus(sd, SP_BASELEVEL); - clif_updatestatus(sd, SP_NEXTBASEEXP); - status_calc_pc(sd, 0); clif_displaymessage(fd, msg_txt(22)); /* Base level lowered. */ } - + clif_updatestatus(sd, SP_STATUSPOINT); + clif_updatestatus(sd, SP_BASELEVEL); + clif_updatestatus(sd, SP_NEXTBASEEXP); + status_calc_pc(sd, 0); + if(sd->status.party_id) + party_send_levelup(sd); return 0; } |