summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-12 19:49:26 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-12 19:49:26 +0000
commit784ef07ca06fdc7a48eede4de1a3748f409568c1 (patch)
treecc8323683cb4770684d89685b8ce1836db33e105 /src/map/mob.c
parenta610f1f5203c821e4eb2384c981d12a5a83076bc (diff)
downloadhercules-784ef07ca06fdc7a48eede4de1a3748f409568c1.tar.gz
hercules-784ef07ca06fdc7a48eede4de1a3748f409568c1.tar.bz2
hercules-784ef07ca06fdc7a48eede4de1a3748f409568c1.tar.xz
hercules-784ef07ca06fdc7a48eede4de1a3748f409568c1.zip
- Added cast time to pick stone of 3 secs and 500ms delay
- Removed area of effect of Assumptio. - Added "can't act" delay update when an auto-spell triggers. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6021 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 41011495e..f7e007bdd 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -1952,6 +1952,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type)
if (sd && battle_config.pk_mode == 1 && (md->db->lv - sd->status.base_level >= 20))
drop_rate = (int)(drop_rate*1.25); // pk_mode increase drops if 20 level difference [Valaris]
+// if (10000 < rand()%10000+drop_rate) { //May be better if MAX_RAND is too low?
if (drop_rate < rand() % 10000 + 1) { //fixed 0.01% impossible drops bug [Lupus]
drop_ore = i; //we remember an empty slot to put there ORE DISCOVERY drop later.
continue;