diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-06-05 11:23:41 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-06-05 11:23:41 -0400 |
commit | cf484334d22f41e3cd881fdc6aedd2df306dd2e0 (patch) | |
tree | bb439f4c41057b8ac759b0913f1d930d9a692bfc /src/emap/script_buildins.c | |
parent | d87f223424d15b6192f4873b9bdfd7818c695475 (diff) | |
download | plugin-cf484334d22f41e3cd881fdc6aedd2df306dd2e0.tar.gz plugin-cf484334d22f41e3cd881fdc6aedd2df306dd2e0.tar.bz2 plugin-cf484334d22f41e3cd881fdc6aedd2df306dd2e0.tar.xz plugin-cf484334d22f41e3cd881fdc6aedd2df306dd2e0.zip |
remove misceffect
Diffstat (limited to 'src/emap/script_buildins.c')
-rw-r--r-- | src/emap/script_buildins.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/src/emap/script_buildins.c b/src/emap/script_buildins.c index 8891311..ae705ce 100644 --- a/src/emap/script_buildins.c +++ b/src/emap/script_buildins.c @@ -702,36 +702,6 @@ BUILDIN(rif) return true; } -BUILDIN(miscEffect) -{ - int type = script_getnum(st, 2); - struct block_list *bl = NULL; - - if (script_hasdata(st, 3)) - { - if (script_isstring(st, 3)) - { - TBL_PC *sd = map->nick2sd(script_getstr(st, 3)); - if (sd) - bl = &sd->bl; - } - else if (script_isint(st, 3)) - { - bl = map->id2bl(script_getnum(st, 3)); - } - } - - if (!bl) - { - TBL_PC *sd = script->rid2sd (st); - if (sd) - bl = &sd->bl; - } - if (bl) - clif->specialeffect(bl, type, AREA); - return true; -} - BUILDIN(setMapMask) { const char *const mapName = script_getstr(st, 2); |