git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@6332 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -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.
@@ -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);