diff options
author | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-13 04:03:37 +0000 |
---|---|---|
committer | zephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-13 04:03:37 +0000 |
commit | b87d090446143bfafdc9e801f745edcb16d93767 (patch) | |
tree | 27041e48324d79829cdd290b5117cb5220a56cdc /src/map/mob.h | |
parent | 9f3181501f0d95ffcc37bcb6a816c36362d1b164 (diff) | |
download | hercules-b87d090446143bfafdc9e801f745edcb16d93767.tar.gz hercules-b87d090446143bfafdc9e801f745edcb16d93767.tar.bz2 hercules-b87d090446143bfafdc9e801f745edcb16d93767.tar.xz hercules-b87d090446143bfafdc9e801f745edcb16d93767.zip |
- Added a fix for Abracadabra, this skills allways should use minimum a Yellow Gem.
- Added some code "suggestion" to handle the new Barricades, please test it with:
- @barricade <x> <y> <size> <direction> <killable> <Event Name>
- @killbarricade <Event Name>
- If x and y are -1, it will use your current position.
- Direction 0 Vertical 1 Horizontal.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12352 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.h')
-rw-r--r-- | src/map/mob.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/mob.h b/src/map/mob.h index 2590c90ed..8ba5baa4e 100644 --- a/src/map/mob.h +++ b/src/map/mob.h @@ -158,6 +158,10 @@ int mob_once_spawn(struct map_session_data* sd,int m,short x,short y,const char* int mob_once_spawn_area(struct map_session_data* sd,int m,int x0,int y0,int x1,int y1,const char* mobname,int class_,int amount,const char* event); bool mob_ksprotected (struct block_list *src, struct block_list *target); +short mob_barricade_build(short m, short x, short y, short count, short dir, bool killable, const char* event); +void mob_barricade_destroy(short m, const char *event); +void mob_barricade_get(struct map_session_data *sd); + int mob_spawn_guardian(const char* mapname, short x, short y, const char* mobname, int class_, const char* event, int guardian); // Spawning Guardians [Valaris] int mob_guardian_guildchange(struct block_list *bl,va_list ap); //Change Guardian's ownership. [Skotlex] |