summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-03 03:35:42 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-03 03:35:42 +0000
commit7bb91031c6b244781f6637dc87dafa5835326888 (patch)
tree0b762a50ccba3c0c83bb53b106726d8341963215 /src/map/script.c
parent4e2dfb05f4cd0743b4b49d2c9c9b9422fa8603e5 (diff)
downloadhercules-7bb91031c6b244781f6637dc87dafa5835326888.tar.gz
hercules-7bb91031c6b244781f6637dc87dafa5835326888.tar.bz2
hercules-7bb91031c6b244781f6637dc87dafa5835326888.tar.xz
hercules-7bb91031c6b244781f6637dc87dafa5835326888.zip
- Merged @whereis from my server (displays normal spawn maps for given mobs). This command should be working correctly considering I've been using it since July. I was meant to merge it as soon as I got my hard-drive back, but I kinda forgot @_@
- bonus3 autospell (and autospell when hit) will change the target to self when the skill to be casted is inf&4 (self skill). - Corrected script homevolution not making the homunculus /swt if it is invoked when not loyal. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11110 54d463be-8e91-2dee-dedb-b68131a5f0ec
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;
}