diff options
author | Fate <fate.tmw@googlemail.com> | 2008-11-10 16:43:13 +0000 |
---|---|---|
committer | Fate <fate.tmw@googlemail.com> | 2008-11-10 16:43:13 +0000 |
commit | 7e9ef4d4154caf5c982e0753e9685c04ee52d913 (patch) | |
tree | c94003e0f22b451a0ef4dcd6df38e8c48843e81a /src/map/clif.c | |
parent | f52600e3795cd8a40c716ff92db6d8f55cc8e7cf (diff) | |
download | tmwa-7e9ef4d4154caf5c982e0753e9685c04ee52d913.tar.gz tmwa-7e9ef4d4154caf5c982e0753e9685c04ee52d913.tar.bz2 tmwa-7e9ef4d4154caf5c982e0753e9685c04ee52d913.tar.xz tmwa-7e9ef4d4154caf5c982e0753e9685c04ee52d913.zip |
* Adjusted the GM @charbaselvl command to set base experience to zero when lowering a char level
* Adjusted the GM @charreset command as follows:
- All stats are reset to 5 instead of 1
- Available statpoints are recomputed as per Malivox reset
- Quest skills are reset to zero but their skill points don't contribute to empty skillpoints
- Two character variables bound to WIP quest skills are zeroed
* Added @charwipe command (default level 60) to reset a character as if that character had newly started
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 6750845..418e56a 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -4189,7 +4189,7 @@ int clif_skillinfoblock(struct map_session_data *sd) for ( i = c = 0; i < MAX_SKILL; i++){ if( (id=sd->status.skill[i].id)!=0 && (sd->tmw_version >= 1 // [Fate] Version 1 and later don't crash because of bad skill IDs anymore - || (i < TMW_MAGIC || i > TMW_MAGIC_END))){ // [Fate] Hack: Prevent killing the client + || !QUEST_SKILL(i))){ // [Fate] Hack: Prevent killing the client WFIFOW(fd,len ) = id; WFIFOW(fd,len+2) = skill_get_inf(id); WFIFOW(fd,len+4) = 0; |