summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/map/script.c b/src/map/script.c
index d115e6df3..a98dffe5c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8737,8 +8737,13 @@ BUILDIN_FUNC(homunculus_evolution)
{
TBL_PC *sd;
sd=script_rid2sd(st);
- if(merc_is_hom_active(sd->hd) && sd->hd->homunculus.intimacy > 91000)
- merc_hom_evolution(sd->hd);
+ if(merc_is_hom_active(sd->hd))
+ {
+ if (sd->hd->homunculus.intimacy > 91000)
+ merc_hom_evolution(sd->hd);
+ else
+ clif_emotion(&sd->hd->bl, 4) ; //swt
+ }
return 0;
}