summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorcelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-15 03:12:29 +0000
committercelest <celest@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-02-15 03:12:29 +0000
commite1eab1687c962cc3bea25cb66981c28be65e6e3b (patch)
tree9e01b86118301e1b853b97f29bc4f80e932dcd98 /src/map/battle.c
parent8fa0cea72c24c464e4e43b081316af34dcf30af7 (diff)
downloadhercules-e1eab1687c962cc3bea25cb66981c28be65e6e3b.tar.gz
hercules-e1eab1687c962cc3bea25cb66981c28be65e6e3b.tar.bz2
hercules-e1eab1687c962cc3bea25cb66981c28be65e6e3b.tar.xz
hercules-e1eab1687c962cc3bea25cb66981c28be65e6e3b.zip
* Corrected Investigate's damage calculation
* Generate the remaining entries of the stat point DB if the number of entries in db/statuspoints.txt is less than MAX_LEVEL, or statuspoints.txt was not found * Try to spawn the player at a default map ("prontera.gat") when logging in if the save point map was not found git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1107 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 9f3361237..f7eb6bf6c 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -864,7 +864,7 @@ static struct Damage battle_calc_pet_weapon_attack(
break;
case MO_INVESTIGATE: // ”­ ™¤
if(def1 < 1000000)
- damage = damage*(100+ 75*skill_lv)/100 * (def1 + def2)/100;
+ damage = damage*(100+ 75*skill_lv)/100 * (def1 + def2)/50;
hitrate = 1000000;
s_ele = 0;
break;
@@ -1366,7 +1366,7 @@ static struct Damage battle_calc_mob_weapon_attack(
break;
case MO_INVESTIGATE: // ”­ ™¤
if(def1 < 1000000)
- damage = damage*(100+ 75*skill_lv)/100 * (def1 + def2)/100;
+ damage = damage*(100+ 75*skill_lv)/100 * (def1 + def2)/50;
hitrate = 1000000;
s_ele = 0;
break;
@@ -2173,8 +2173,8 @@ static struct Damage battle_calc_pc_weapon_attack(
break;
case MO_INVESTIGATE: // ”­ ™¤
if(def1 < 1000000) {
- damage = damage*(100+ 75*skill_lv)/100 * (def1 + def2)/100;
- damage2 = damage2*(100+ 75*skill_lv)/100 * (def1 + def2)/100;
+ damage = damage*(100+ 75*skill_lv)/100 * (def1 + def2)/50;
+ damage2 = damage2*(100+ 75*skill_lv)/100 * (def1 + def2)/50;
}
hitrate = 1000000;
s_ele = 0;