diff options
-rw-r--r-- | Changelog-Trunk.txt | 2 | ||||
-rw-r--r-- | src/map/mob.c | 2 |
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);
|