summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-09 19:14:21 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-09 19:14:21 +0000
commit6b2019eb1d741abd4dad3f52534cbeeb3bdf2615 (patch)
tree57022ad8a22913a78f4e4267b851352ae4100687 /src/map/battle.c
parent3241a51ac2689e7ffa63e01bf9e81ec08d0b0187 (diff)
downloadhercules-6b2019eb1d741abd4dad3f52534cbeeb3bdf2615.tar.gz
hercules-6b2019eb1d741abd4dad3f52534cbeeb3bdf2615.tar.bz2
hercules-6b2019eb1d741abd4dad3f52534cbeeb3bdf2615.tar.xz
hercules-6b2019eb1d741abd4dad3f52534cbeeb3bdf2615.zip
- Made Magic Crasher a BF_WEAPON attack.
- Made skill_unit_range a per-level setting. meteor and Lov now have their unit range adjusted in the skill_unit_db rather than hardcoded. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5536 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 992ed62e3..526b0dc68 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -699,7 +699,7 @@ int battle_calc_damage(struct block_list *src,struct block_list *bl,int damage,i
if(!(skill_get_inf(skill_num)&INF_GROUND_SKILL) && rand()%100 < 75)
return 0;
} else
- damage /=2;
+ damage >>=1;
}
}