From 8ff9db48cd5f38b532232b30c5ead723d09259cd Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 14 Dec 2006 18:15:24 +0000 Subject: - Added function skill_strip to handle stripping code. The RG strip skills and GS_DISARM use it now. - Modified the strip-related status changes so they handle removing the equipped item instead of leaving it up to the skill-code. They return 0 when nothing could be stripped. - Cleaned some the MD_DETECTOR code. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9499 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/script.c') diff --git a/src/map/script.c b/src/map/script.c index 1703aac8f..90a657075 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -7815,7 +7815,7 @@ int buildin_homunculus_evolution(struct script_state *st) struct map_session_data *sd; sd=script_rid2sd(st); if ( sd->hd && sd->hd->homunculusDB->evo_class && sd->hd->homunculus.intimacy > 91000 ) { - return merc_hom_evolution(sd->hd) ; + return !merc_hom_evolution(sd->hd) ; } clif_emotion(&sd->hd->bl, 4) ; //swt return 0; -- cgit v1.2.3-60-g2f50