diff options
author | daegaladh <daegaladh@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-11 12:26:45 +0000 |
---|---|---|
committer | daegaladh <daegaladh@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-07-11 12:26:45 +0000 |
commit | 23af76cb12e4d538894fd8f59246eafbcf025914 (patch) | |
tree | 66eaa6b021db30de47e0207c9598aecbd0908b1d /src | |
parent | 212379e88207236d8d2fcaaac1636cd1520406b1 (diff) | |
download | hercules-23af76cb12e4d538894fd8f59246eafbcf025914.tar.gz hercules-23af76cb12e4d538894fd8f59246eafbcf025914.tar.bz2 hercules-23af76cb12e4d538894fd8f59246eafbcf025914.tar.xz hercules-23af76cb12e4d538894fd8f59246eafbcf025914.zip |
Added mob_classchange.txt since SA_CLASSCHANGE was using mob_boss.txt monsters instead of the correct ones. (bugreport:3478 and related to bugreport:850)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@16395 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r-- | src/map/mob.c | 3 | ||||
-rw-r--r-- | src/map/skill.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 7d02bbc27..5dd636689 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -3981,7 +3981,8 @@ static int mob_read_randommonster(void) DBPATH"mob_branch.txt", "mob_poring.txt", DBPATH"mob_boss.txt", - "mob_pouch.txt"}; + "mob_pouch.txt", + "mob_classchange.txt"}; memset(&summon, 0, sizeof(summon)); diff --git a/src/map/skill.c b/src/map/skill.c index 7ed6be7c5..f6aef06a2 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -4883,7 +4883,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in clif_skill_fail(sd,skillid,USESKILL_FAIL_LEVEL,0); break; } - class_ = skillid==SA_MONOCELL?1002:mob_get_random_id(2, 1, 0); + class_ = skillid==SA_MONOCELL?1002:mob_get_random_id(4, 1, 0); clif_skill_nodamage(src,bl,skillid,skilllv,1); mob_class_change(dstmd,class_); if( tsc && dstmd->status.mode&MD_BOSS ) |