Disambiguation
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9645 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
dde66aee4e
commit
d50f358f5e
@ -3278,10 +3278,10 @@ int mob_parse_dbrow(char** str)
|
|||||||
|
|
||||||
//Now that we know if it is an mvp or not, apply battle_config modifiers [Skotlex]
|
//Now that we know if it is an mvp or not, apply battle_config modifiers [Skotlex]
|
||||||
maxhp = (double)status->max_hp;
|
maxhp = (double)status->max_hp;
|
||||||
if (db->mexp > 0) //Mvp
|
if (db->mexp > 0) { //Mvp
|
||||||
if (battle_config.mvp_hp_rate != 100)
|
if (battle_config.mvp_hp_rate != 100)
|
||||||
maxhp = maxhp * (double)battle_config.mvp_hp_rate / 100.;
|
maxhp = maxhp * (double)battle_config.mvp_hp_rate / 100.;
|
||||||
else //Normal mob
|
} else //Normal mob
|
||||||
if (battle_config.monster_hp_rate != 100)
|
if (battle_config.monster_hp_rate != 100)
|
||||||
maxhp = maxhp * (double)battle_config.monster_hp_rate / 100.;
|
maxhp = maxhp * (double)battle_config.monster_hp_rate / 100.;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user