summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 12:08:44 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-02 12:08:44 +0000
commitf5bb1621cc8fb3171fe28a9a7c16219fe120f3bb (patch)
tree6d6fc31740cf00b975fa62d13260b96b209c316f /src/map/script.c
parent0939a464fc52731e66d9aaeca816075226f34a1c (diff)
downloadhercules-f5bb1621cc8fb3171fe28a9a7c16219fe120f3bb.tar.gz
hercules-f5bb1621cc8fb3171fe28a9a7c16219fe120f3bb.tar.bz2
hercules-f5bb1621cc8fb3171fe28a9a7c16219fe120f3bb.tar.xz
hercules-f5bb1621cc8fb3171fe28a9a7c16219fe120f3bb.zip
* Removed clif_weather_sub and clif_misceffect2 in favor of clif_specialeffect_single and clif_specialeffect (all of them are ZC_NOTIFY_EFFECT2).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14541 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/script.c b/src/map/script.c
index e651d4f21..ed07ac07c 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -10715,11 +10715,11 @@ BUILDIN_FUNC(misceffect)
if(st->oid && st->oid != fake_nd->bl.id) {
struct block_list *bl = map_id2bl(st->oid);
if (bl)
- clif_misceffect2(bl,type);
+ clif_specialeffect(bl,type,AREA);
} else{
TBL_PC *sd=script_rid2sd(st);
if(sd)
- clif_misceffect2(&sd->bl,type);
+ clif_specialeffect(&sd->bl,type,AREA);
}
return 0;
}
@@ -11752,7 +11752,7 @@ BUILDIN_FUNC(summon)
delete_timer(md->deletetimer, mob_timer_delete);
md->deletetimer = add_timer(tick+(timeout>0?timeout*1000:60000),mob_timer_delete,md->bl.id,0);
mob_spawn (md); //Now it is ready for spawning.
- clif_misceffect2(&md->bl,344);
+ clif_specialeffect(&md->bl,344,AREA);
sc_start4(&md->bl, SC_MODECHANGE, 100, 1, 0, MD_AGGRESSIVE, 0, 60000);
}
return 0;