diff options
author | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2013-01-10 05:54:28 +0000 |
---|---|---|
committer | rud0lp20 <rud0lp20@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2013-01-10 05:54:28 +0000 |
commit | bac08d580258b69b365db32ab1705df232851c5b (patch) | |
tree | 9f1e3ca599e89419b1486055c45732b5f6676f29 /src/map/battle.c | |
parent | ca217557a8f647f06e11a1d89592bc0b1c4d1b3e (diff) | |
download | hercules-bac08d580258b69b365db32ab1705df232851c5b.tar.gz hercules-bac08d580258b69b365db32ab1705df232851c5b.tar.bz2 hercules-bac08d580258b69b365db32ab1705df232851c5b.tar.xz hercules-bac08d580258b69b365db32ab1705df232851c5b.zip |
Fixed bugreport:7151 where NJ_ISSEN don't consume HP on plant type monsters.
Fixed bugreport:7154 where RC_BOSS type monsters are not immune with SC_DEEPSLEEP.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17090 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 8fb9512f8..6f9595108 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2067,7 +2067,6 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo case NJ_ISSEN: wd.damage = 40*sstatus->str +skill_lv*(sstatus->hp/10 + 35); wd.damage2 = 0; - status_set_hp(src, 1, 0); break; case LK_SPIRALPIERCE: case ML_SPIRALPIERCE: @@ -2972,7 +2971,6 @@ static struct Damage battle_calc_weapon_attack(struct block_list *src,struct blo // Damage = (current HP + atk * skill_lv) - (sdef+edef) ATK_ADD(sstatus->hp); wd.damage2 = 0;// needs more info if this really 0 for dual weilding KG/OB. [malufett] - status_set_hp(src, max(sstatus->hp/100, 1), 0); if( sc && sc->data[SC_BUNSINJYUTSU] && (i=sc->data[SC_BUNSINJYUTSU]->val2) > 0){ wd.div_ = -( i + 2 ); // mirror image number of hits + 2 ATK_ADDRATE(20 + i*20); // (20 + 20 * mirror image) % |