From 5abd5bd1f8f53b73560cecd4496bfd4bc2acc226 Mon Sep 17 00:00:00 2001 From: skotlex Date: Tue, 26 Dec 2006 15:07:18 +0000 Subject: - Cleaned up some more the code so it works for -DTURBO - Cleaned the pvpoff @ and script commands. - mob_get_random_id now has two additional flags to specify that the monster to acquire should not be a boss type (4) or that it should give exp (8). - TK_MISSION will now pick any mob from the DB as long as it is not a boss type and it gives base exp. - Fixed the double-stone issue when hitting a petrified character. - Minor cleanups git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9573 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index 9695a1f76..d732d5b80 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -3832,7 +3832,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in clif_skill_fail(sd,skillid,0,0); break; } - id = mob_get_random_id(0,0, sd->status.base_level); + id = mob_get_random_id(0,0xC, sd->status.base_level); if (!id) { clif_skill_fail(sd,skillid,0,0); break; -- cgit v1.2.3-70-g09d2