diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-15 19:16:44 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-01-15 19:16:44 +0000 |
commit | 065f2203b8aa2140e55c0ef62ad0ad2e5ea4d088 (patch) | |
tree | 454c6a0e26c34829134806ea2cebb0b8a68c4ed0 /src/map/mob.c | |
parent | 7c66f59d7fa170410b8a046008b48b6d67fa36d7 (diff) | |
download | hercules-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/mob.c')
-rw-r--r-- | src/map/mob.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 5031fc5fa..1f3bf4cf7 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1101,7 +1101,8 @@ static int mob_ai_sub_hard(struct block_list *bl,va_list ap) (md->ud.walktimer != -1 && !(battle_config.mob_ai&0x1) && !check_distance_bl(&md->bl, tbl, md->min_chase)) || ( tbl->type == BL_PC && !(mode&MD_BOSS) && - ((TBL_PC*)tbl)->state.gangsterparadise + (((TBL_PC*)tbl)->state.gangsterparadise || + ((TBL_PC*)tbl)->invincible_timer != INVALID_TIMER) )) { //Unlock current target. if (tbl && tbl->m != md->bl.m && battle_config.mob_ai&0x40) { //Chase to a nearby warp [Skotlex] |