summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-15 19:16:44 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-01-15 19:16:44 +0000
commit065f2203b8aa2140e55c0ef62ad0ad2e5ea4d088 (patch)
tree454c6a0e26c34829134806ea2cebb0b8a68c4ed0 /src/map/status.c
parent7c66f59d7fa170410b8a046008b48b6d67fa36d7 (diff)
downloadhercules-065f2203b8aa2140e55c0ef62ad0ad2e5ea4d088.tar.gz
hercules-065f2203b8aa2140e55c0ef62ad0ad2e5ea4d088.tar.bz2
hercules-065f2203b8aa2140e55c0ef62ad0ad2e5ea4d088.tar.xz
hercules-065f2203b8aa2140e55c0ef62ad0ad2e5ea4d088.zip
- Fixed Joint Beat's speed penalty.
- Added a pc_authok check to prevent the case in which somehow another character of the same account manages to log in as well. - The pc normalize job function will now recognize you as a novice if you don't have NV_BASIC maxed. - Accessories will now by default go into the rigth-side rather than the left-side of the equip window. - Added a check in the mob_ai_subhard function to make mobs unlock targets which have their invincible timer set. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9655 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 5683a6218..b8572c0bf 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3676,8 +3676,8 @@ static unsigned short status_calc_speed(struct block_list *bl, struct status_cha
speed = speed * 100/sc->data[SC_DEFENDER].val3;
if(sc->data[SC_GOSPEL].timer!=-1 && sc->data[SC_GOSPEL].val4 == BCT_ENEMY)
speed = speed * 100/75;
- if(sc->data[SC_JOINTBEAT].timer!=-1) {
- speed = speed * ( 100
+ if(sc->data[SC_JOINTBEAT].timer!=-1 && sc->data[SC_JOINTBEAT].val2&(BREAK_ANKLE|BREAK_KNEE)) {
+ speed = speed * 100/(100
- ( sc->data[SC_JOINTBEAT].val2&BREAK_ANKLE ? 50 : 0 )
- ( sc->data[SC_JOINTBEAT].val2&BREAK_KNEE ? 30 : 0 ));
}