summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-31 13:45:04 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-01-31 13:45:04 +0000
commitf4d04712b8383d5540f3178320af47de5486786b (patch)
treeabff309e040725f1d57efb2dc57d5b727ca4ba72 /src/map/status.c
parentc23f21ed431558710c38cd81f5359d5c39cb6a76 (diff)
downloadhercules-f4d04712b8383d5540f3178320af47de5486786b.tar.gz
hercules-f4d04712b8383d5540f3178320af47de5486786b.tar.bz2
hercules-f4d04712b8383d5540f3178320af47de5486786b.tar.xz
hercules-f4d04712b8383d5540f3178320af47de5486786b.zip
- Changed the exp tables format.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5135 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 53e6009e9..88e13fedf 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -1624,7 +1624,7 @@ int status_calc_pc(struct map_session_data* sd,int first)
// Relative modifiers from passive skills
if((skill=pc_checkskill(sd,SA_ADVANCEDBOOK))>0)
sd->aspd_rate -= (skill/2);
- if((skill = pc_checkskill(sd,SG_DEVIL)) > 0 && sd->status.job_level >= battle_config.max_job_level)
+ if((skill = pc_checkskill(sd,SG_DEVIL)) > 0 && !pc_nextjobafter(sd))
sd->aspd_rate -= (skill*3);
if(pc_isriding(sd))