summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt2
-rw-r--r--src/map/mob.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 7b0cfaa27..efa4a629d 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,8 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/04/27
+ * Changed the default rate of clone mob skills to 5% modified by
+ mob_skill_rate setting. [Skotlex]
* Applied some changes in unit.c to make mobs pick chase paths as they
should. [Skotlex]
* unit_remove_map will reset attackable-time, canact and canwalk delays.
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);