summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-27 23:07:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-27 23:07:45 +0000
commit4a6890fe15241e32d936e52ee686d725b20d3410 (patch)
tree1fe9aa8869cf5168c460e3fe09cb07cb3196e329 /src/map/mob.c
parentcb273c650975c5c4ee7bc709c176f47c89ad332c (diff)
downloadhercules-4a6890fe15241e32d936e52ee686d725b20d3410.tar.gz
hercules-4a6890fe15241e32d936e52ee686d725b20d3410.tar.bz2
hercules-4a6890fe15241e32d936e52ee686d725b20d3410.tar.xz
hercules-4a6890fe15241e32d936e52ee686d725b20d3410.zip
- Changed the default rate of clone mob skills to 5% modified by mob_skill_rate setting.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6332 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 97d98e7d2..627137829 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2872,7 +2872,7 @@ int mob_clone_spawn(struct map_session_data *sd, char *map, int x, int y, const
ms[i].skill_id = skill_id;
ms[i].skill_lv = sd->status.skill[skill_id].lv;
ms[i].state = MSS_ANY;
- ms[i].permillage = 1000; //Default chance of all skills: 10%
+ ms[i].permillage = 500*battle_config.mob_skill_rate/100; //Default chance of all skills: 5%
ms[i].emotion = -1;
ms[i].cancel = 0;
ms[i].delay = 5000+skill_delayfix(&sd->bl,skill_id, ms[i].skill_lv);