summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-04 19:30:15 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-08-04 19:30:15 +0000
commitbb78f61a194f92934784d108cb8e54e391c570aa (patch)
tree2e49643974eca093697308c944ff3ba0622922ea /src/map/mob.c
parent06387a85ce94281d1652ab4bc61c5b9c0971832a (diff)
downloadhercules-bb78f61a194f92934784d108cb8e54e391c570aa.tar.gz
hercules-bb78f61a194f92934784d108cb8e54e391c570aa.tar.bz2
hercules-bb78f61a194f92934784d108cb8e54e391c570aa.tar.xz
hercules-bb78f61a194f92934784d108cb8e54e391c570aa.zip
- Removed settings enemy_critical_rate, homun_critical_rate. Added settings enable_critical (defaults to specify only players), mob_critical_rate and critical_rate. The last applies to all non-mobs and non-players (battle/battle.conf)
- Removed settings mob_npc_warp, mob_warpportal. Replaced with setting mob_warp which specifies which types of warp can a mob step into (battle/monster.conf) - Updated status_calc_misc so that it also handles the BL_PC case, removed redundant info from status_calc_pc, and moving the SNovice Max Hp bonus to status_base_pc_maxhp git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8135 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index bbdf65bfe..15cb12e6b 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -3247,10 +3247,6 @@ static int mob_readdb(void)
status_calc_misc(status, BL_MOB, mob_db_data[class_]->lv);
- 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;
-
// 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]);
@@ -3923,10 +3919,6 @@ static int mob_read_sqldb(void)
status_calc_misc(status, BL_MOB, mob_db_data[class_]->lv);
- 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;
-
// MVP EXP Bonus, Chance: MEXP,ExpPer
mob_db_data[class_]->mexp = TO_INT(30) * battle_config.mvp_exp_rate / 100;
mob_db_data[class_]->mexpper = TO_INT(31);