summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-13 04:03:37 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-03-13 04:03:37 +0000
commitb87d090446143bfafdc9e801f745edcb16d93767 (patch)
tree27041e48324d79829cdd290b5117cb5220a56cdc /src/map/clif.c
parent9f3181501f0d95ffcc37bcb6a816c36362d1b164 (diff)
downloadhercules-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/clif.c')
-rw-r--r--src/map/clif.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index af4668cad..cbcada2b1 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -7958,6 +7958,7 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
//Login Event
npc_script_event(sd, NPCE_LOGIN);
+ mob_barricade_get(sd);
} else if( sd->state.changemap ) {
//For some reason the client "loses" these on map-change.
clif_updatestatus(sd,SP_STR);
@@ -7978,6 +7979,8 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd)
sd->state.night = 0;
clif_status_load(&sd->bl, SI_NIGHT, 0);
}
+
+ mob_barricade_get(sd);
sd->state.changemap = false;
}