diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-19 20:27:05 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-07-19 20:27:05 +0000 |
commit | 64a8dee22964db611964a5c01d3c0b7efe335121 (patch) | |
tree | 02601cf3e30c402a28429734dfc3a3af23b3d90e /src/map/mob.c | |
parent | d41f7e18f02012ef61df70ee6cc0f3bf1ce14c23 (diff) | |
download | hercules-64a8dee22964db611964a5c01d3c0b7efe335121.tar.gz hercules-64a8dee22964db611964a5c01d3c0b7efe335121.tar.bz2 hercules-64a8dee22964db611964a5c01d3c0b7efe335121.tar.xz hercules-64a8dee22964db611964a5c01d3c0b7efe335121.zip |
- Fixed the inf code update breakage which was blocking all offensive skills.
- Added battle setting homun_critical_rate (defaults to 0)
- Removed enemy_str/pet_str/enemy_perfect_flee and replaced them with
- enable_perfect_flee which specifies which objects can have perfect flee and enable_baseatk which specifies which objects can have a base attack value (both in battle.conf)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7752 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 8c8f59f4a..098a2afa3 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3231,18 +3231,12 @@ static int mob_readdb(void) if(battle_config.monster_damage_delay_rate != 100) status->dmotion = status->dmotion*battle_config.monster_damage_delay_rate/100; - status_calc_misc(status, mob_db_data[class_]->lv); + status_calc_misc(status, BL_MOB, mob_db_data[class_]->lv); - if(!battle_config.enemy_str) - status->batk = 0; - if(battle_config.enemy_critical_rate != 100) status->cri = status->cri*battle_config.enemy_critical_rate/100; if(!status->cri && battle_config.enemy_critical_rate) status->cri = 1; - if(!battle_config.enemy_perfect_flee) - status->flee2 = 0; - // MVP EXP Bonus, Chance: MEXP,ExpPer mob_db_data[class_]->mexp=atoi(str[30])*battle_config.mvp_exp_rate/100; mob_db_data[class_]->mexpper=atoi(str[31]); |