summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-10-16 03:11:25 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-10-16 03:11:25 +0800
commit9692bc034537693d331148ae8bd15153265c6cf0 (patch)
tree274e4f14e69802e5bfd59976f3a7bf7649f98ab8 /src/map/clif.c
parent3e58e470d0bfc5e615246ef6a7ffff6a1190e0c9 (diff)
downloadhercules-9692bc034537693d331148ae8bd15153265c6cf0.tar.gz
hercules-9692bc034537693d331148ae8bd15153265c6cf0.tar.bz2
hercules-9692bc034537693d331148ae8bd15153265c6cf0.tar.xz
hercules-9692bc034537693d331148ae8bd15153265c6cf0.zip
Fixed Bug#7374
-Hercules now fully support Monster Transformation. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index f50082883..81dbc28ec 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -9600,6 +9600,11 @@ void clif_parse_LoadEndAck(int fd,struct map_session_data *sd) {
if (sd->sc.opt2) //Client loses these on warp.
clif->changeoption(&sd->bl);
+ if( battle_config.mon_trans_disable_in_gvg && map_flag_gvg2(sd->bl.m) ){
+ status_change_end(&sd->bl, SC_MONSTER_TRANSFORM, INVALID_TIMER);
+ clif->message(sd->fd, msg_txt(1488)); // Transforming into monster is not allowed in Guild Wars.
+ }
+
clif->weather_check(sd);
// For automatic triggering of NPCs after map loading (so you don't need to walk 1 step first)