summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-14 18:15:24 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-14 18:15:24 +0000
commit8ff9db48cd5f38b532232b30c5ead723d09259cd (patch)
treedbf9c2230a7f5cef26959d36eec20f400e95b338 /src/map/script.c
parent85fa4fdffd67908a487b957bc10aaecb4cf7ed7a (diff)
downloadhercules-8ff9db48cd5f38b532232b30c5ead723d09259cd.tar.gz
hercules-8ff9db48cd5f38b532232b30c5ead723d09259cd.tar.bz2
hercules-8ff9db48cd5f38b532232b30c5ead723d09259cd.tar.xz
hercules-8ff9db48cd5f38b532232b30c5ead723d09259cd.zip
- 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
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
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;