summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-26 19:12:00 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-07-26 19:12:00 +0000
commit91a25bb1534462030596bcd17784cd91e95cd88a (patch)
tree5da66da8f67a6a0bf5fce7f95c99e51fe900e603 /src
parentb3c0a6ccc854c125f481b24d57b7f2747b7200ba (diff)
downloadhercules-91a25bb1534462030596bcd17784cd91e95cd88a.tar.gz
hercules-91a25bb1534462030596bcd17784cd91e95cd88a.tar.bz2
hercules-91a25bb1534462030596bcd17784cd91e95cd88a.tar.xz
hercules-91a25bb1534462030596bcd17784cd91e95cd88a.zip
- Some code cleanup of HLIF_MOON in regards to the number of hits and damage equation.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7900 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c3
-rw-r--r--src/map/script.c2
2 files changed, 2 insertions, 3 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index f11e014fc..f8f16c2b1 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -1505,8 +1505,7 @@ static struct Damage battle_calc_weapon_attack(
skillratio += 200;
break;
case HFLI_MOON: //[orn]
- skillratio += ( 110 * (skill_lv + 1) ) - 100 ;
- skillratio /= wd.div_ ;
+ skillratio += 10+110*skill_lv;
break;
case HFLI_SBR44: //[orn]
skillratio += 100 * skill_lv ;
diff --git a/src/map/script.c b/src/map/script.c
index 476e9011f..cf1ae0c17 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -11323,7 +11323,7 @@ void op_2(struct script_state *st,int op)
op_2num(st,op,i1,i2);
}else{
// si,is => error
- ShowWarning("script: op_2: int&str, str&int not allow.");
+ ShowWarning("script: op_2: int&str, str&int not allow.\n");
report_src(st);
push_val(st->stack,C_INT,0);
}