diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-20 19:40:53 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-08-20 19:40:53 +0000 |
commit | 70c20becdaf7722c6b728263f8c13a29e5a87287 (patch) | |
tree | 70609ad1b65488c4c9f2267365bfa14df974a173 /src/map/script.c | |
parent | 74d35a9d33bcdba381e9e78af1bdf59d106f1493 (diff) | |
download | hercules-70c20becdaf7722c6b728263f8c13a29e5a87287.tar.gz hercules-70c20becdaf7722c6b728263f8c13a29e5a87287.tar.bz2 hercules-70c20becdaf7722c6b728263f8c13a29e5a87287.tar.xz hercules-70c20becdaf7722c6b728263f8c13a29e5a87287.zip |
- Removed my barricade implementation. Not required in WoE SE.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13097 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/script.c')
-rw-r--r-- | src/map/script.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/map/script.c b/src/map/script.c index d8b9bec8e..7f59625fa 100644 --- a/src/map/script.c +++ b/src/map/script.c @@ -9657,41 +9657,6 @@ BUILDIN_FUNC(guardian) return 0; } -/*========================================== - * Build Barricade [Zephyrus] - * buildbarricade("<map name>",<x>,<y>,"<name to show>",<size>,<dir>,<killable>,<walkable>,<shootable>,<odd>,"<event label>") - *------------------------------------------*/ -BUILDIN_FUNC(buildbarricade) -{ - int m = map_mapname2mapid(script_getstr(st,2)); - int x = script_getnum(st,3); - int y = script_getnum(st,4); - const char *str = script_getstr(st,5); - int size = script_getnum(st,6); - short dir = script_getnum(st,7); - bool killable = (bool)script_getnum(st,8); - bool walkable = (bool)script_getnum(st,9); - bool shootable = (bool)script_getnum(st,10); - bool odd = (bool)script_getnum(st,11); - const char *evt = script_getstr(st,12); - - if( m < 0 ) return -1; - - check_event(st, evt); - mob_barricade_build(m, x, y , str, size, dir, killable, walkable, shootable, odd, evt); - - return 0; -} - -BUILDIN_FUNC(killbarricade) -{ - int m = map_mapname2mapid(script_getstr(st,2)); - const char *evt = script_getstr(st,3); - - mob_barricade_destroy(m, evt); - - return 0; -} /// Retrieves various information about the specified guardian. /// @@ -13165,8 +13130,6 @@ struct script_function buildin_func[] = { BUILDIN_DEF(openauction,""), BUILDIN_DEF(checkcell,"siii"), BUILDIN_DEF(setcell,"siiiiii"), - BUILDIN_DEF(buildbarricade,"siisiiiiiis"), - BUILDIN_DEF(killbarricade,"ss"), BUILDIN_DEF(getquest, "ii*"), BUILDIN_DEF(deletequest, "i"), BUILDIN_DEF(setquestobjective, "iisi"), |