summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorvalaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-15 08:15:30 +0000
committervalaris <valaris@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-11-15 08:15:30 +0000
commitaa2ac66b46df3fd890f5d2288ec9cc423b6172be (patch)
tree59e86b29c8511e4bc4727ab4dd16f4a64ba7aba0 /src/map/clif.c
parentc161174bedba0cb6d6200b667ef7d245dfcb46d6 (diff)
downloadhercules-aa2ac66b46df3fd890f5d2288ec9cc423b6172be.tar.gz
hercules-aa2ac66b46df3fd890f5d2288ec9cc423b6172be.tar.bz2
hercules-aa2ac66b46df3fd890f5d2288ec9cc423b6172be.tar.xz
hercules-aa2ac66b46df3fd890f5d2288ec9cc423b6172be.zip
* Added small and big mob sprite spawning. [Valaris]
-Added @monstersmall and @monstersmall commands. -For using in scripts, use id +2000 for small and id +4000 for big. (Example: 3002 for small poring and 5002 for big poring) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@188 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index e44222baf..ac7261b79 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1363,6 +1363,11 @@ int clif_spawnmob(struct mob_data *md)
if (mob_get_equip(md->class) > 0) // mob equipment [Valaris]
clif_mob_equip(md,mob_get_equip(md->class));
+ if(md->size==2) // tiny/big mobs [Valaris]
+ clif_specialeffect(&md->bl,423,0);
+ else if(md->size==1)
+ clif_specialeffect(&md->bl,421,0);
+
return 0;
}
@@ -3570,6 +3575,11 @@ int clif_movemob(struct mob_data *md)
if(mob_get_equip(md->class) > 0) // mob equipment [Valaris]
clif_mob_equip(md,mob_get_equip(md->class));
+ if(md->size==2) // tiny/big mobs [Valaris]
+ clif_specialeffect(&md->bl,423,0);
+ else if(md->size==1)
+ clif_specialeffect(&md->bl,421,0);
+
return 0;
}
@@ -3720,6 +3730,13 @@ void clif_getareachar_mob(struct map_session_data* sd,struct mob_data* md)
if(mob_get_equip(md->class) > 0) // mob equipment [Valaris]
clif_mob_equip(md,mob_get_equip(md->class));
+
+ if(md->size==2) // tiny/big mobs [Valaris]
+ clif_specialeffect(&md->bl,423,0);
+ else if(md->size==1)
+ clif_specialeffect(&md->bl,421,0);
+
+
}
/*==========================================