summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-15 14:15:16 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-15 14:15:16 +0000
commit0393c333d4333d59d4cdb5083a0d004b2de92cb6 (patch)
tree7cd078724bf5407ac7ed16dcda11b67a758d80fc /src/map/status.c
parent3bd071ef6561d6c8dc372585fde5e64ee54d5ec5 (diff)
downloadhercules-0393c333d4333d59d4cdb5083a0d004b2de92cb6.tar.gz
hercules-0393c333d4333d59d4cdb5083a0d004b2de92cb6.tar.bz2
hercules-0393c333d4333d59d4cdb5083a0d004b2de92cb6.tar.xz
hercules-0393c333d4333d59d4cdb5083a0d004b2de92cb6.zip
- Fixed and cleaned up script command 'equip'
- Fixed 'autoequip' items. - Fixed Aspd not being updated in your status window after Agi/Dex increasing statuses take effect. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7179 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 1dd982372..a26986316 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -2364,8 +2364,8 @@ void status_calc_bl_sub_pc(struct map_session_data *sd, unsigned long flag)
}
}
}
-
if(flag&(SCB_ASPD|SCB_AGI|SCB_DEX)) {
+ flag|=SCB_ASPD;
if (sd->status.weapon < MAX_WEAPON_TYPE)
skill = aspd_base[sd->status.class_][sd->status.weapon]-(status->agi*4+status->dex)*aspd_base[sd->status.class_][sd->status.weapon]/1000;
else