diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-04-16 12:40:08 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-04-16 12:42:54 +0300 |
commit | 33b41fe00a47510ed6b84e04fc9e9a222b053130 (patch) | |
tree | 24c58e9efef5d75ff5ec5aabfb1bad9d30b1bd85 /src/map/pc.c | |
parent | 6ecadc26c798322d8a88b9fb2d4a93349bc19d07 (diff) | |
download | plugin-33b41fe00a47510ed6b84e04fc9e9a222b053130.tar.gz plugin-33b41fe00a47510ed6b84e04fc9e9a222b053130.tar.bz2 plugin-33b41fe00a47510ed6b84e04fc9e9a222b053130.tar.xz plugin-33b41fe00a47510ed6b84e04fc9e9a222b053130.zip |
Apply WalkSpeed attribute from job_db.conf.
Diffstat (limited to 'src/map/pc.c')
-rw-r--r-- | src/map/pc.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/map/pc.c b/src/map/pc.c index 2bc8d79..c24c758 100644 --- a/src/map/pc.c +++ b/src/map/pc.c @@ -291,3 +291,19 @@ int epc_check_job_name(const char *name) hookStop(); return -1; } + +int epc_setnewpc(int retVal, struct map_session_data *sd, + int *account_id __attribute__ ((unused)), + int *char_id __attribute__ ((unused)), + int *login_id1 __attribute__ ((unused)), + unsigned int *client_tick __attribute__ ((unused)), + int *sex __attribute__ ((unused)), + int *fd __attribute__ ((unused))) +{ + if (sd) + { + sd->battle_status.speed = 150; + sd->base_status.speed = 150; + } + return retVal; +} |