summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-29 18:44:00 +0000
committerLance <Lance@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-29 18:44:00 +0000
commit641f0c27624a0d9c6ebfd4280824bf7f594f868c (patch)
treecca3e32a335090bf0629fbdc8307f53e70fd7331 /src/map
parent7c4d552557b50a2dc9d10fc02cae096ee8410406 (diff)
downloadhercules-641f0c27624a0d9c6ebfd4280824bf7f594f868c.tar.gz
hercules-641f0c27624a0d9c6ebfd4280824bf7f594f868c.tar.bz2
hercules-641f0c27624a0d9c6ebfd4280824bf7f594f868c.tar.xz
hercules-641f0c27624a0d9c6ebfd4280824bf7f594f868c.zip
* Small fix in TK_MISSION from 1/101 to 1/100 probability. (Valaris)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9594 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 26bef8e8e..d66c1ab67 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -3830,7 +3830,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
case TK_MISSION:
if (sd) {
int id;
- if (sd->mission_mobid && (sd->mission_count || rand()%100)) { //Cannot change target when already have one
+ if (sd->mission_mobid && (sd->mission_count || rand()%99)) { //Cannot change target when already have one
clif_mission_info(sd, sd->mission_mobid, sd->mission_count);
clif_skill_fail(sd,skillid,0,0);
break;